![]() |
Public API Reference |
#include <plugmgr.h>
Inheritance diagram for csPluginManager:

Public Methods | |
| csPluginManager (iObjectRegistry *object_reg) | |
| Initialize plugin manager. More... | |
| virtual | ~csPluginManager () |
| Destruct. More... | |
| virtual iBase * | LoadPlugin (const char *iClassID, const char *iInterface=0, int iVersion=0, bool init=true) |
| Load a plugin and (optionally) initialize it. More... | |
| virtual iBase * | QueryPlugin (const char *iInterface, int iVersion) |
| Get first of the loaded plugins that supports given interface ID. More... | |
| virtual iBase * | QueryPlugin (const char *iClassID, const char *iInterface, int iVersion) |
| Find a plugin given his class ID. More... | |
| virtual bool | UnloadPlugin (iComponent *iObject) |
| Remove a plugin from system driver's plugin list. More... | |
| virtual bool | RegisterPlugin (const char *iClassID, iComponent *iObject) |
| Register a object that implements the iComponent interface as a plugin. More... | |
| virtual csPtr< iPluginIterator > | GetPlugins () |
| Get an iterator to iterate over all plugins. More... | |
| virtual void | Clear () |
| Unload all plugins from this plugin manager. More... | |
| virtual void | QueryOptions (iComponent *iObject) |
| Query all options supported by given plugin and place into OptionList. More... | |
The plugin manager is thread-safe.
Definition at line 35 of file plugmgr.h.
|
|
Initialize plugin manager.
|
|
|
Destruct.
|
|
|
Unload all plugins from this plugin manager.
Implements iPluginManager. |
|
|
Get an iterator to iterate over all plugins.
Implements iPluginManager. |
|
||||||||||||||||||||
|
Load a plugin and (optionally) initialize it.
Implements iPluginManager. |
|
|
Query all options supported by given plugin and place into OptionList.
Implements iPluginManager. |
|
||||||||||||||||
|
Find a plugin given his class ID.
Implements iPluginManager. |
|
||||||||||||
|
Get first of the loaded plugins that supports given interface ID.
Implements iPluginManager. |
|
||||||||||||
|
Register a object that implements the iComponent interface as a plugin.
Implements iPluginManager. |
|
|
Remove a plugin from system driver's plugin list.
Implements iPluginManager. |