#include <tPluginManager.h>
Static Public Member Functions | |
static PluginManager< T, plugin_dir > * | Instance () |
Singleton instance accessor. More... | |
Static Public Member Functions inherited from icl_core::plugin::PluginManager< T, plugin_dir > | |
static PluginManager< T, plugin_dir > * | instance () |
Singleton instance accessor. More... | |
Protected Member Functions | |
tPluginManager () | |
Protected default constructor. More... | |
Protected Member Functions inherited from icl_core::plugin::PluginManager< T, plugin_dir > | |
void | closePluginHandle (const std::string &identifier) |
void | initializePlugins (bool recursive_search) |
void | loadHandle (std::string plugin) |
T * | loadPluginInstance (PluginHandle plugin_handle, const std::string &identifier) |
void | loadPlugins () |
PluginManager () | |
Protected default constructor. More... | |
void | unloadPlugin (const std::string &identifier) |
Protected Member Functions inherited from icl_core::plugin::PluginManagerBase | |
void | addErrorMessage (const std::string &message) |
void | clearErrorMessages () |
Additional Inherited Members | |
Public Member Functions inherited from icl_core::plugin::PluginManager< T, plugin_dir > | |
void | addStaticPlugin (T *instance) |
std::list< std::string > | availablePlugins () |
T * | createPluginInstance (const std::string &identifier) |
bool | initialize (bool load_lazy=true, bool recursive_search=false) |
Initializes the PluginManager. More... | |
bool | isInitialized () const |
bool | isStaticPlugin (const std::string &identifier) const |
bool | loadLazy () const |
T * | plugin (const std::string &identifier) |
std::list< T * > | plugins () |
void | removeStaticPlugin (const std::string &identifier) |
~PluginManager () | |
Public Member Functions inherited from icl_core::plugin::PluginManagerBase | |
void | addPluginPath (const std::string &path) |
StringList | errorMessages () |
PluginManagerBase (std::string plugin_dir="") | |
StringList | pluginPaths () |
Protected Attributes inherited from icl_core::plugin::PluginManager< T, plugin_dir > | |
bool | m_initialized |
bool | m_lazy_loading |
std::map< std::string, T * > | m_loaded_plugins |
Plugins loaded from disk via ltdl. More... | |
std::map< std::string, PluginHandle > | m_plugin_handles |
Loadable plugin handles. More... | |
std::map< std::string, T * > | m_static_plugins |
Plugins available from an already loaded lib, added manually. More... | |
Protected Attributes inherited from icl_core::plugin::PluginManagerBase | |
StringList | m_error_messages |
Definition at line 38 of file tPluginManager.h.
|
inlineprotected |
Protected default constructor.
Definition at line 49 of file tPluginManager.h.
|
inlinestatic |
Singleton instance accessor.
Definition at line 42 of file tPluginManager.h.