#include <effects.h>

Public Member Functions | |
| int | populateRegistry () |
| This method searches the default plugin path for effects and loads them. | |
| void | registerEffect (std::string) |
| This method attempts to register a given effect. | |
| std::vector < std::string > | getEffectNames () |
| Gets a listing of all registered effects by name. | |
| std::string | getEffectDescription (std::string) |
| Attempts to get an effects description. | |
| double | getEffectVersion (std::string) |
| Attempts to get an effects version. | |
| std::string | getEffectAuthor (std::string) |
| Attempts to get an effects author. | |
| std::string | getEffectWebsite (std::string) |
| Attempts to get an effects website. | |
| std::string | getEffectContact (std::string) |
| Attempts to get an effects contact address. | |
| std::vector < effectArgument > | getArguments (std::string) |
| Get's a listing of arguments for an effect. | |
| void | applyEffect (std::string, vc::vdFrame &) |
| Applys an effect to a frame without arguments. | |
| void | applyEffect (std::string, vc::vdFrame &, std::vector< effectArgument >) |
| Applys an effect to a frame. | |
Static Public Member Functions | |
| static effects * | instance () |
| Because the effects class is a singleton, it must be accessed with a pointer and not a "real" object. | |
Protected Member Functions | |
| effects () | |
| effects (const effects &) | |
| effects & | operator= (const effects &) |
Private Attributes | |
| std::map < std::string, effect > | registeredEffects |
Static Private Attributes | |
| static effects * | pinstance = NULL |
| vc::effects::effects | ( | ) | [protected] |
| vc::effects::effects | ( | const effects & | ) | [protected] |
| effects * vc::effects::instance | ( | ) | [static] |
Because the effects class is a singleton, it must be accessed with a pointer and not a "real" object.
Use this class to get a reference to the object.
| int vc::effects::populateRegistry | ( | ) |
| void vc::effects::registerEffect | ( | std::string | filename | ) |
| std::vector< std::string > vc::effects::getEffectNames | ( | ) |
| std::string vc::effects::getEffectDescription | ( | std::string | _name | ) |
| double vc::effects::getEffectVersion | ( | std::string | _name | ) |
| std::string vc::effects::getEffectAuthor | ( | std::string | _name | ) |
| std::string vc::effects::getEffectWebsite | ( | std::string | _name | ) |
| std::string vc::effects::getEffectContact | ( | std::string | _name | ) |
| std::vector< effectArgument > vc::effects::getArguments | ( | std::string | _name | ) |
Get's a listing of arguments for an effect.
| string | If effect not registered. |
| _name | The name of the effect. |
| void vc::effects::applyEffect | ( | std::string | _name, | |
| vc::vdFrame & | _frame | |||
| ) |
| void vc::effects::applyEffect | ( | std::string | _name, | |
| vc::vdFrame & | _frame, | |||
| std::vector< effectArgument > | args | |||
| ) |
effects * vc::effects::pinstance = NULL [static, private] |
std::map<std::string, effect> vc::effects::registeredEffects [private] |
1.5.3