|
OpenRTM-aist 2.1.0
|
FactoryBase base class. More...
#include <Factory.h>

Public Member Functions | |
| FactoryBase (const coil::Properties &profile) | |
| Constructor. | |
| virtual | ~FactoryBase () |
| Destructor. | |
| virtual RTObject_impl * | create (Manager *mgr)=0 |
| Create components. | |
| virtual void | destroy (RTObject_impl *comp)=0 |
| Destroy components. | |
| virtual coil::Properties & | profile () |
| Get the component profile. | |
| virtual int | number () |
| Get the number of current instances. | |
Protected Attributes | |
| coil::Properties | m_Profile |
| Component profile . | |
| int | m_Number |
| Number of current RT-Component's instances. . | |
|
explicit |
|
virtual |
Destructor.
Destructor
|
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.
|
virtual |
Get the component profile.
Get the component profile.
Referenced by FactoryBase(), RTC::FactoryCXX::FactoryCXX(), RTC::Manager::FactoryPredicate::operator()(), and RTC::Manager::ModuleFactories::operator()().
|
protected |
Number of current RT-Component's instances. .
|
protected |
Component profile .