#include <OpenGUI_PluginManager.h>
Public Member Functions | |
| void | loadPlugin (std::string filename) |
| Loads a plugin by filename. | |
| void | unloadPlugin (std::string filename) |
| Unloads a plugin by filename. | |
| void | unloadAllPlugins () |
| Unloads all currently loaded plugins. | |
Static Public Member Functions | |
| static PluginManager & | getSingleton (void) |
| Retrieve the current singleton, if one exists. If none exists, this will cause an error. | |
| static PluginManager * | getSingletonPtr (void) |
| Retrieve a pointer to the current singleton, if one exists. If none exists, this will return 0. | |
| PluginManager & OpenGUI::PluginManager::getSingleton | ( | void | ) | [static] |
Retrieve the current singleton, if one exists. If none exists, this will cause an error.
| PluginManager * OpenGUI::PluginManager::getSingletonPtr | ( | void | ) | [static] |
Retrieve a pointer to the current singleton, if one exists. If none exists, this will return 0.
| void OpenGUI::PluginManager::loadPlugin | ( | std::string | filename | ) |
Loads a plugin by filename.
| void OpenGUI::PluginManager::unloadAllPlugins | ( | ) |
Unloads all currently loaded plugins.
| void OpenGUI::PluginManager::unloadPlugin | ( | std::string | filename | ) |
Unloads a plugin by filename.