27#ifndef COSMO_COMPONENT_H
28#define COSMO_COMPONENT_H
30#include <Pt/Cosmo/Api.h>
31#include <Pt/Cosmo/Enumerable.h>
117#include <Pt/Cosmo/Component.tpp>
119#include <Pt/Cosmo/IActivate.h>
120#include <Pt/Cosmo/IConnect.h>
virtual ~Component()
Destructor.
Definition Component.h:64
bool hasFeatureId(const char *featureId) const
Returns true if the given feature ID is implemented.
const char * classId() const
Returns the class ID.
I * queryInterface()
Returns the interface or null if not available.
Component(const Component &)=delete
No copy constructor.
Component & operator=(const Component &)=delete
No copy assignment.
virtual void onInitialize(const IComponentDeclaration &decl)
Called when the component is initialized.
Definition Component.h:105
void init(const IComponentType *type, const IComponentDeclaration *decl)
Initializes the component.
Component instance declaration.
Definition IComponentDeclaration.h:45
Component interface query.
Definition IComponentType.h:50
Cosmo Component Model.
Definition Api.h:53
Core module.
Definition Allocator.h:33