#include <xmltooling/PluginManager.h>
Public Types | |
| typedef T * | Factory (const Params &) |
| Factory function for plugin. | |
Public Member Functions | |
| void | registerFactory (const Key &type, typename PluginManager::Factory *factory) |
| Registers the factory for a given type. | |
| void | deregisterFactory (const Key &type) |
| Unregisters the factory for a given type. | |
| void | deregisterFactories () |
| Unregisters all registered factories. | |
| T * | newPlugin (const Key &type, const Params &p) |
| Builds a new instance of a plugin of a given type, configuring it with the supplied parameters. | |
| T | class of plugin to manage | |
| Key | the key for type lookup | |
| Params | parameters for plugin construction |
|
||||||||||
|
Unregisters the factory for a given type.
|
|
||||||||||||||||
|
Builds a new instance of a plugin of a given type, configuring it with the supplied parameters.
|
|
||||||||||||||||
|
Registers the factory for a given type.
|
1.4.6