csPluginLoader Class Reference
This utility class helps to load plugins based on request, config file, and commandline. More...
#include <plugldr.h>
Public Methods | |
csPluginLoader (iObjectRegistry *object_reg) | |
Initialize. | |
virtual | ~csPluginLoader () |
Deinitialize. | |
void | RequestPlugin (const char *pluginName, const char *tagName) |
A shortcut for requesting to load a plugin (before LoadPlugins()). | |
bool | LoadPlugins () |
Load the plugins. |
Detailed Description
This utility class helps to load plugins based on request, config file, and commandline.
Definition at line 56 of file plugldr.h.
Constructor & Destructor Documentation
|
Initialize.
|
|
Deinitialize.
|
Member Function Documentation
|
Load the plugins.
|
|
A shortcut for requesting to load a plugin (before LoadPlugins()). If you want this class to register the plugin as a default for some interface then you should use the interface name as the tag name (i.e. 'iGraphics3D'). Note that plugins requested with some tag here get lowest precendence. The commandline has highest priority followed by the config file. If after this no plugin with the given tag exists then RequestPlugin() will work. |
The documentation for this class was generated from the following file:
- csutil/plugldr.h
Generated for Crystal Space by doxygen 1.2.18