Guitarix
gx_engine::PluginList Class Reference

#include <gx_pluginloader.h>

Inheritance diagram for gx_engine::PluginList:
Collaboration diagram for gx_engine::PluginList:

Public Member Functions

 PluginList (EngineControl &seq)
 
 ~PluginList ()
 
void set_samplerate (int samplerate)
 
int load_from_path (const string &path, PluginPos pos=PLUGIN_POS_RACK)
 
int load_library (const string &path, PluginPos pos=PLUGIN_POS_RACK)
 
int add (Plugin *pl, PluginPos pos, int flags)
 
Pluginadd (PluginDef *p, PluginPos pos=PLUGIN_POS_RACK, int flags=0)
 
int add (PluginDef **p, PluginPos pos=PLUGIN_POS_RACK, int flags=0)
 
int add (plugindef_creator *p, PluginPos pos=PLUGIN_POS_RACK, int flags=0)
 
int check_version (PluginDef *p)
 
void registerGroup (PluginDef *pd, ParameterGroups &groups)
 
void registerParameter (Plugin *pl, ParamMap &param, ParamRegImpl &preg)
 
void registerPlugin (Plugin *pl, ParamMap &param, ParameterGroups &groups)
 
void unregisterGroup (PluginDef *pd, ParameterGroups &groups)
 
void unregisterParameter (Plugin *pl, ParamMap &param)
 
void rescueParameter (Plugin *pl, ParamMap &param)
 
void unregisterPlugin (Plugin *pl, ParamMap &param, ParameterGroups &groups)
 
void registerAllPlugins (ParamMap &param, ParameterGroups &groups)
 
void ordered_mono_list (list< Plugin *> &mono, int mode)
 
void ordered_stereo_list (list< Plugin *> &stereo, int mode)
 
void ordered_list (list< Plugin *> &l, bool stereo, int flagmask, int flagvalue)
 
sigc::signal< void, const char *, bool > & signal_insert_remove ()
 
void printlist (bool ordered=true)
 
- Public Member Functions inherited from gx_engine::PluginListBase
 PluginListBase ()
 
 ~PluginListBase ()
 
void cleanup ()
 
Pluginfind_plugin (const std::string &id) const
 
Pluginlookup_plugin (const std::string &id) const
 
void append_rack (UiBuilderBase &ui)
 
void writeJSON (gx_system::JsonWriter &jw)
 
void readJSON (gx_system::JsonParser &jp, ParamMap &pmap)
 
pluginmap::iterator begin ()
 
pluginmap::iterator end ()
 
int insert_plugin (Plugin *pvars)
 
void update_plugin (Plugin *pvars)
 
void delete_module (Plugin *pl)
 

Additional Inherited Members

- Public Types inherited from gx_engine::PluginListBase
typedef pair< const std::string, Plugin * > map_pair
 
typedef map< const std::string, Plugin * > pluginmap
 
- Protected Types inherited from gx_engine::PluginListBase
enum  PluginPosInternal { PLUGIN_POS_RACK_STEREO = PLUGIN_POS_END+1, PLUGIN_POS_COUNT }
 
- Protected Attributes inherited from gx_engine::PluginListBase
pluginmap pmap
 
sigc::signal< void, const char *, bool > insert_remove
 

Detailed Description

Definition at line 161 of file gx_pluginloader.h.

Constructor & Destructor Documentation

◆ PluginList()

gx_engine::PluginList::PluginList ( EngineControl seq)

Definition at line 380 of file gx_pluginloader.cpp.

◆ ~PluginList()

gx_engine::PluginList::~PluginList ( )

Definition at line 388 of file gx_pluginloader.cpp.

Member Function Documentation

◆ add() [1/4]

int gx_engine::PluginList::add ( Plugin pl,
PluginPos  pos,
int  flags 
)

◆ add() [2/4]

Plugin * gx_engine::PluginList::add ( PluginDef p,
PluginPos  pos = PLUGIN_POS_RACK,
int  flags = 0 
)

Definition at line 557 of file gx_pluginloader.cpp.

◆ add() [3/4]

int gx_engine::PluginList::add ( PluginDef **  p,
PluginPos  pos = PLUGIN_POS_RACK,
int  flags = 0 
)

Definition at line 570 of file gx_pluginloader.cpp.

◆ add() [4/4]

int gx_engine::PluginList::add ( plugindef_creator p,
PluginPos  pos = PLUGIN_POS_RACK,
int  flags = 0 
)

Definition at line 580 of file gx_pluginloader.cpp.

◆ check_version()

int gx_engine::PluginList::check_version ( PluginDef p)

Definition at line 468 of file gx_pluginloader.cpp.

Referenced by add().

◆ load_from_path()

int gx_engine::PluginList::load_from_path ( const string &  path,
PluginPos  pos = PLUGIN_POS_RACK 
)

Definition at line 445 of file gx_pluginloader.cpp.

Referenced by gx_engine::GxEngine::GxEngine().

◆ load_library()

int gx_engine::PluginList::load_library ( const string &  path,
PluginPos  pos = PLUGIN_POS_RACK 
)

Definition at line 409 of file gx_pluginloader.cpp.

Referenced by load_from_path().

◆ ordered_list()

void gx_engine::PluginList::ordered_list ( list< Plugin *> &  l,
bool  stereo,
int  flagmask,
int  flagvalue 
)

Definition at line 743 of file gx_pluginloader.cpp.

◆ ordered_mono_list()

void gx_engine::PluginList::ordered_mono_list ( list< Plugin *> &  mono,
int  mode 
)

◆ ordered_stereo_list()

void gx_engine::PluginList::ordered_stereo_list ( list< Plugin *> &  stereo,
int  mode 
)

◆ printlist()

void gx_engine::PluginList::printlist ( bool  ordered = true)

Definition at line 787 of file gx_pluginloader.cpp.

Referenced by gx_engine::GxEngine::GxEngine().

◆ registerAllPlugins()

void gx_engine::PluginList::registerAllPlugins ( ParamMap param,
ParameterGroups groups 
)

Definition at line 693 of file gx_pluginloader.cpp.

Referenced by gx_engine::EngineControl::registerParameter().

◆ registerGroup()

void gx_engine::PluginList::registerGroup ( PluginDef pd,
ParameterGroups groups 
)

Definition at line 597 of file gx_pluginloader.cpp.

Referenced by registerAllPlugins(), and registerPlugin().

◆ registerParameter()

void gx_engine::PluginList::registerParameter ( Plugin pl,
ParamMap param,
ParamRegImpl preg 
)

Definition at line 649 of file gx_pluginloader.cpp.

Referenced by registerAllPlugins(), and registerPlugin().

◆ registerPlugin()

void gx_engine::PluginList::registerPlugin ( Plugin pl,
ParamMap param,
ParameterGroups groups 
)

◆ rescueParameter()

void gx_engine::PluginList::rescueParameter ( Plugin pl,
ParamMap param 
)

◆ set_samplerate()

void gx_engine::PluginList::set_samplerate ( int  samplerate)

Definition at line 777 of file gx_pluginloader.cpp.

Referenced by gx_engine::EngineControl::set_samplerate().

◆ signal_insert_remove()

sigc::signal<void,const char*,bool>& gx_engine::PluginList::signal_insert_remove ( )
inline

Definition at line 187 of file gx_pluginloader.h.

◆ unregisterGroup()

void gx_engine::PluginList::unregisterGroup ( PluginDef pd,
ParameterGroups groups 
)

Definition at line 617 of file gx_pluginloader.cpp.

Referenced by unregisterPlugin().

◆ unregisterParameter()

void gx_engine::PluginList::unregisterParameter ( Plugin pl,
ParamMap param 
)

Definition at line 658 of file gx_pluginloader.cpp.

Referenced by unregisterPlugin().

◆ unregisterPlugin()

void gx_engine::PluginList::unregisterPlugin ( Plugin pl,
ParamMap param,
ParameterGroups groups 
)

The documentation for this class was generated from the following files: