#include <Pt/Cosmo/ComponentInfo.h>
Component information holder. More...
Public Member Functions | |
| ComponentInfo (IComponentPlugin *plugin, IComponentDeclaration *decl, IComponentStatus *status) | |
| Constructor. More... | |
| ComponentInfo (const ComponentInfo &)=delete | |
| No copy constructor. | |
| virtual | ~ComponentInfo () |
| Destructor. | |
| ComponentInfo & | operator= (const ComponentInfo &)=delete |
| No copy assignment. | |
| void | assign (IComponentPlugin *plugin, IComponentDeclaration *decl, IComponentStatus *status) |
| Reassigns the component information. More... | |
| const IComponentPlugin * | plugin () const |
| Returns the plugin. | |
| const IComponentDeclaration * | declaration () const |
| Returns the instance declaration. | |
| const IComponentStatus * | status () const |
| Returns the component status. | |
| template<typename I > | |
| bool | hasInterface () const |
| Returns true if interface is available. | |
| ComponentMode | mode () const |
| Returns the component mode. | |
| bool | hasFeatureId (const char *featureId) const |
| Returns true if feature ID is implemented. | |
| const IEnumerable< const char * > & | featureIds () const |
| Returns the implemented feature IDs. | |
| const char * | classId () const |
| Returns the class ID. | |
| const char * | info () const |
| Returns the info text. | |
| const char * | instanceId () const |
| Returns the instance ID. | |
| const IEnumerable< IDependencyInfo > & | dependencies () const |
| Returns info about the dependencies. | |
Aggregates the plugin, instance declaration, and status for a registered component. Used by IComponentManager to enumerate component metadata.
| ComponentInfo | ( | IComponentPlugin * | plugin, |
| IComponentDeclaration * | decl, | ||
| IComponentStatus * | status | ||
| ) |
| plugin | The component plugin. |
| decl | The instance declaration. |
| status | The component status. |
| void assign | ( | IComponentPlugin * | plugin, |
| IComponentDeclaration * | decl, | ||
| IComponentStatus * | status | ||
| ) |
| plugin | The component plugin. |
| decl | The instance declaration. |
| status | The component status. |