FactoryBase base class.
More...
#include <Factory.h>
|
coil::Properties | m_Profile |
| Component profile .
|
|
int | m_Number |
| Number of current RT-Component's instances. .
|
|
FactoryBase base class.
This is a base class for RT-Component factory.
- Since
- 0.2.0
◆ FactoryBase()
RTC::FactoryBase::FactoryBase |
( |
const coil::Properties & | profile | ) |
|
|
explicit |
Constructor.
Constructor.
- Parameters
-
◆ ~FactoryBase()
virtual RTC::FactoryBase::~FactoryBase |
( |
| ) |
|
|
virtual |
◆ create()
Create components.
Pure virtual function to create RT-Component's instances
- Parameters
-
- Returns
- Created RT-Components
Implemented in RTC::FactoryCXX.
◆ destroy()
Destroy components.
Pure virtual function to destroy RT-Component's instances
- Parameters
-
comp | The target RT-Component for destruction |
Implemented in RTC::FactoryCXX.
◆ number()
virtual int RTC::FactoryBase::number |
( |
| ) |
|
|
virtual |
Get the number of current instances.
Get the number of current RT-Component's instances.
- Returns
- Number of RT-Component's instances
◆ profile()
virtual coil::Properties & RTC::FactoryBase::profile |
( |
| ) |
|
|
virtual |
◆ m_Number
int RTC::FactoryBase::m_Number |
|
protected |
Number of current RT-Component's instances. .
◆ m_Profile
coil::Properties RTC::FactoryBase::m_Profile |
|
protected |
The documentation for this class was generated from the following file: