FactoryBase base class. More...
#include <Factory.h>
Public Member Functions | |
virtual RTObject_impl * | create (Manager *mgr)=0 |
Create components. More... | |
virtual void | destroy (RTObject_impl *comp)=0 |
Destroy components. More... | |
FactoryBase (const coil::Properties &profile) | |
Constructor. More... | |
virtual int | number () |
Get the number of current instances. More... | |
virtual coil::Properties & | profile () |
Get the component profile. More... | |
virtual | ~FactoryBase (void) |
Destructor. More... | |
Protected Attributes | |
int | m_Number |
Number of current RT-Component's instances. More... | |
coil::Properties | m_Profile |
Component profile. More... | |
FactoryBase base class.
This is a base class for RT-Component factory.
Definition at line 118 of file rtm/Factory.h.
RTC::FactoryBase::FactoryBase | ( | const coil::Properties & | profile | ) |
Constructor.
Constructor.
profile | Component profile |
Definition at line 32 of file Factory.cpp.
|
virtual |
|
pure virtual |
Create components.
Pure virtual function to create RT-Component's instances
mgr | Manager object |
Implemented in RTC::FactoryCXX.
|
pure virtual |
Destroy components.
Pure virtual function to destroy RT-Component's instances
comp | The target RT-Component for destruction |
Implemented in RTC::FactoryCXX.
|
virtual |
Get the number of current instances.
Get the number of current RT-Component's instances.
Definition at line 67 of file Factory.cpp.
|
virtual |
Get the component profile.
Get the component profile.
Definition at line 55 of file Factory.cpp.
|
protected |
Number of current RT-Component's instances.
Definition at line 262 of file rtm/Factory.h.
|
protected |
Component profile.
Definition at line 253 of file rtm/Factory.h.