|
|
| ComponentManager () |
| | Constructor.
|
|
| ~ComponentManager () |
| | Destructor.
|
|
void | setModulesDir (const std::string &dir) |
| | Set modules search directory.
|
|
void | importComponents (const std::string &manifest) |
| | Imports all components from manifest.
|
|
void | registerComponent (IComponentPlugin &plugin, const std::string &require, const std::string &instanceId) |
| | Registers component.
|
|
void | load () |
| | Loads all registered components.
|
|
void | load (const std::string &instanceId) |
| | Loads registered component.
|
|
void | unload (IComponentPlugin &plugin) |
| | Unloads a component plugin.
|
|
void | unload (const std::string &instanceId) |
| | Unloads a component by instance ID.
|
|
const IEnumerable< ComponentInfo > & | components () const |
| | Enumerates all components.
|
| void | init (const IComponentType *type, const IComponentDeclaration *decl) |
| | Initializes the component.
|
| bool | hasFeatureId (const char *featureId) const |
| | Returns true if the given feature ID is implemented.
|
|
const char * | classId () const |
| | Returns the class ID.
|
|
template<typename I> |
| I * | queryInterface () |
| | Returns the interface or null if not available.
|
Concrete implementation of IComponentManager. Manages plugin registration, manifest import, dependency resolution, and the component load/unload lifecycle.