SO3Engine
|
#include <SO3PluginManager.h>
Public Member Functions | |
SPluginManager () | |
virtual | ~SPluginManager () |
SPlugin * | Load (const std::string &fileName) |
void | Unload (SPlugin *loadedPlugin) |
void | Unload (const std::string &pluginName) |
std::vector< std::string > | GetPluginList () |
Static Public Member Functions | |
static SPluginManager & | getSingleton () |
static SPluginManager * | getSingletonPtr () |
Protected Types | |
typedef std::map< std::string, SPlugin *, std::less< std::string > > | SPluginList |
Protected Attributes | |
SPluginList | pluginList |
Definition at line 17 of file SO3PluginManager.h.
|
protected |
Definition at line 21 of file SO3PluginManager.h.
SO3::SPluginManager::SPluginManager | ( | ) |
Constructor.
Definition at line 27 of file SO3PluginManager.cpp.
|
virtual |
Destructor.
Definition at line 78 of file SO3PluginManager.cpp.
std::vector< std::string > SO3::SPluginManager::GetPluginList | ( | ) |
Get the name off all loaded plugins.
Definition at line 90 of file SO3PluginManager.cpp.
|
static |
Definition at line 21 of file SO3PluginManager.cpp.
|
static |
Definition at line 16 of file SO3PluginManager.cpp.
SPlugin * SO3::SPluginManager::Load | ( | const std::string & | fileName | ) |
Open and load a plugin
Definition at line 31 of file SO3PluginManager.cpp.
void SO3::SPluginManager::Unload | ( | const std::string & | pluginName | ) |
Unload a plugin from memory.
Definition at line 69 of file SO3PluginManager.cpp.
void SO3::SPluginManager::Unload | ( | SPlugin * | loadedPlugin | ) |
Unload a plugin from memory.
Definition at line 52 of file SO3PluginManager.cpp.
|
protected |
Definition at line 22 of file SO3PluginManager.h.