Responsible for loading and unloading plugins. More...
Public Member Functions | |
| PluginManager () | |
| Ctor. | |
| ~PluginManager () | |
| Dtor. | |
| bool | loadPlugin (const std::string &a_path, const std::string &a_basePath, const std::vector< std::string > &a_dependencies, std::string &a_messageout) |
| Loads the plugin in the specified path. | |
| bool | loadScriptPlugin (const std::string &a_path, const std::string &a_basePath, const std::vector< std::string > &a_dependencies, std::string &a_messageout) |
| Loads the plugin in the specified path. | |
| bool | initPlugin (const std::string &a_path) |
| Inits the Plugin in the specified path. | |
| bool | startPlugin (const std::string &a_path) |
| Starts the plugin in the specified path. | |
| bool | stopPlugin (const std::string &a_path) |
| Stops the plugin in the specified path. | |
| bool | unloadPlugin (const std::string &a_path) |
| Unloads the plugin in the specified path. | |
| bool | isPluginLoaded (const std::string &a_path) |
| Returns true if the plugin is loaded, false otherwise. | |
| std::string | getPluginDescription (const std::string &a_path) |
| Gets the Plugin Description. | |
| std::string | getPluginName (const std::string &a_path) |
| Gets the Plugin Name. | |
| std::string | getPluginVersion (const std::string &a_path) |
| Gets the Plugin Version. | |
| std::string | getPluginType (const std::string &a_path) |
| Gets the Plugin Type. | |
| void | getPluginList (std::vector< std::string > &a_pluginList) |
| Gets the Full Plugins List. | |
| void | getApplicationPluginList (std::vector< std::string > &a_pluginList) |
| Gets the Application Plugins List. | |
| void | getServiceNames (const std::string &a_path, std::vector< std::string > &a_names) |
| Gets the Services in the given plugin. | |
| std::string | getPluginLaunchList () |
| Gets the list of launchable plugins via XML. | |
| std::string | getPluginPathForVFS (const std::string &a_vfsName) |
| Gets the Plugin Path for the given VFS file. | |
| std::string | getPluginURL (const std::string &a_path) |
| Get the Plugin URL. | |
| bool | isPluginNameLoaded (const std::string &a_pluginName) |
| isPluginNameLoaded | |
| std::string | getPluginAuthentication (const std::string &a_pluginName) |
| getPluginAuthentication | |
Responsible for loading and unloading plugins.
Note that the path provided in a std::string can be encoded in UTF-8
| Tonido::Plugin::PluginManager::PluginManager | ( | ) |
Ctor.
details if needed ...
| Tonido::Plugin::PluginManager::~PluginManager | ( | ) |
Dtor.
details if needed ...
| void Tonido::Plugin::PluginManager::getApplicationPluginList | ( | std::vector< std::string > & | a_pluginList | ) |
Gets the Application Plugins List.
| std::string Tonido::Plugin::PluginManager::getPluginAuthentication | ( | const std::string & | a_pluginName | ) |
getPluginAuthentication
| [in] | a_pluginName | to check |
| std::string Tonido::Plugin::PluginManager::getPluginDescription | ( | const std::string & | a_path | ) |
Gets the Plugin Description.
| [in] | path | to load |
| std::string Tonido::Plugin::PluginManager::getPluginLaunchList | ( | ) |
Gets the list of launchable plugins via XML.
| [in] | @return | XML list of launchable plugins |
| void Tonido::Plugin::PluginManager::getPluginList | ( | std::vector< std::string > & | a_pluginList | ) |
Gets the Full Plugins List.
| std::string Tonido::Plugin::PluginManager::getPluginName | ( | const std::string & | a_path | ) |
Gets the Plugin Name.
| [in] | path | to load |
| std::string Tonido::Plugin::PluginManager::getPluginPathForVFS | ( | const std::string & | a_vfsName | ) |
Gets the Plugin Path for the given VFS file.
| [in] | a_vfsName | name of the Vfs file we are searching for |
| std::string Tonido::Plugin::PluginManager::getPluginType | ( | const std::string & | a_path | ) |
Gets the Plugin Type.
| [in] | path | to load |
| std::string Tonido::Plugin::PluginManager::getPluginURL | ( | const std::string & | a_path | ) |
Get the Plugin URL.
| [in] | none |
| std::string Tonido::Plugin::PluginManager::getPluginVersion | ( | const std::string & | a_path | ) |
Gets the Plugin Version.
| [in] | path | to load |
| void Tonido::Plugin::PluginManager::getServiceNames | ( | const std::string & | a_path, |
| std::vector< std::string > & | a_names | ||
| ) |
Gets the Services in the given plugin.
| [in] | path | to load |
| bool Tonido::Plugin::PluginManager::initPlugin | ( | const std::string & | a_path | ) |
Inits the Plugin in the specified path.
| [in] | path | to load |
| bool Tonido::Plugin::PluginManager::isPluginLoaded | ( | const std::string & | a_path | ) |
Returns true if the plugin is loaded, false otherwise.
| [in] | path | to load |
| bool Tonido::Plugin::PluginManager::isPluginNameLoaded | ( | const std::string & | a_pluginName | ) |
isPluginNameLoaded
| [in] | a_pluginName | to check |
| bool Tonido::Plugin::PluginManager::loadPlugin | ( | const std::string & | a_path, |
| const std::string & | a_basePath, | ||
| const std::vector< std::string > & | a_dependencies, | ||
| std::string & | a_messageout | ||
| ) |
Loads the plugin in the specified path.
| [in] | path | to load |
| bool Tonido::Plugin::PluginManager::loadScriptPlugin | ( | const std::string & | a_path, |
| const std::string & | a_basePath, | ||
| const std::vector< std::string > & | a_dependencies, | ||
| std::string & | a_messageout | ||
| ) |
Loads the plugin in the specified path.
| [in] | path | to load |
| bool Tonido::Plugin::PluginManager::startPlugin | ( | const std::string & | a_path | ) |
Starts the plugin in the specified path.
| [in] | path | to load |
| bool Tonido::Plugin::PluginManager::stopPlugin | ( | const std::string & | a_path | ) |
Stops the plugin in the specified path.
| [in] | path | to load |
| bool Tonido::Plugin::PluginManager::unloadPlugin | ( | const std::string & | a_path | ) |
Unloads the plugin in the specified path.
| [in] | path | to unload |