Loads plugins and manage them.
More...
#include <PluginManager.h>
Protected Member Functions |
| PluginManager () |
| Protected Constructor.
|
Detailed Description
Loads plugins and manage them.
Definition at line 38 of file PluginManager.h.
Constructor & Destructor Documentation
virtual kge::PluginManager::~PluginManager |
( |
| ) |
|
|
virtual |
kge::PluginManager::PluginManager |
( |
| ) |
|
|
protected |
Member Function Documentation
InputMgrPlugin* kge::PluginManager::GetInputManagerPlugin |
( |
int |
index | ) |
|
|
inline |
Get InputManager plugin with its index.
- Parameters
-
index | The index of registered InputManager plugin. |
- Returns
- Returns the requested InputManager plugin
- See Also
- GetInputManagerPluginCount()
Definition at line 95 of file PluginManager.h.
int kge::PluginManager::GetInputManagerPluginCount |
( |
| ) |
|
|
inline |
Returns the count of InputManager plugins that loaded in engine.
- Returns
- Returns the count of InputManager plugins that loaded in engine
- See Also
- GetInputManagerPlugin()
Definition at line 87 of file PluginManager.h.
Get renderer plugin with its index.
- Parameters
-
index | The index of registered renderer plugins. |
- Returns
- Returns the requested renderer plugin
- See Also
- GetRendererPluginsCount()
Definition at line 72 of file PluginManager.h.
int kge::PluginManager::GetRendererPluginsCount |
( |
| ) |
|
|
inline |
Returns the count of Renderer plugins that loaded in engine.
- Returns
- Returns the count of Renderer plugins that loaded in engine
- See Also
- GetRendererPlugin()
Definition at line 64 of file PluginManager.h.
int kge::PluginManager::LoadPlugin |
( |
const char * |
name | ) |
|
Loads a plugin from a .dll or .so file.
int kge::PluginManager::RegisterInputManager |
( |
InputMgrPlugin * |
pInputMgrPlug | ) |
|
int kge::PluginManager::RegisterLoader |
( |
LoaderPlugin * |
pLoaderPlug | ) |
|
void kge::PluginManager::Release |
( |
| ) |
|
Release all loaded plugin from memory.
Member Data Documentation
std::vector<LoaderPlugin*> kge::PluginManager::m_vLoaderPlugins |
|
protected |
The documentation for this class was generated from the following file: