|
OpenRTM-aist
1.1.2
|
FactoryBase base class. More...
#include <Factory.h>
Public Member Functions | |
| FactoryBase (const coil::Properties &profile) | |
| Constructor. More... | |
| virtual | ~FactoryBase (void) |
| Destructor. More... | |
| virtual RTObject_impl * | create (Manager *mgr)=0 |
| Create components. More... | |
| virtual void | destroy (RTObject_impl *comp)=0 |
| Destroy components. More... | |
| virtual coil::Properties & | profile () |
| Get the component profile. More... | |
| virtual int | number () |
| Get the number of current instances. More... | |
Protected Attributes | |
| coil::Properties | m_Profile |
| Component profile. More... | |
| int | m_Number |
| Number of current RT-Component's instances. More... | |
| RTC::FactoryBase::FactoryBase | ( | const coil::Properties & | profile | ) |
Constructor.
Constructor.
| profile | Component profile |
|
virtual |
Destructor.
Destructor
|
pure virtual |
Create components.
Pure virtual function to create RT-Component's instances
| mgr | Manager object |
Implemented in RTC::FactoryCXX.
Referenced by RTC::FactoryCXX::~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.
Referenced by RTC::FactoryCXX::~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 RTC::Manager::FactoryPredicate::operator()(), and RTC::Manager::ModuleFactories::operator()().
|
protected |
Number of current RT-Component's instances.
|
protected |
Component profile.
1.8.11