FactoryCXX class.
More...
#include <Factory.h>
FactoryCXX class.
RT-Component factory class for C++.
- Since
- 0.2.0
◆ FactoryCXX()
Constructor.
Constructor. Create component factory class with three arguments: component profile, function pointer to object create function and object destroy function.
- Parameters
-
profile | Component profile |
new_func | Pointer to component create function |
delete_func | Pointer to component destroy function |
policy | The naming policy at component creation (The default value:DefaultNumberingPolicy) |
◆ ~FactoryCXX()
RTC::FactoryCXX::~FactoryCXX |
( |
| ) |
|
|
inlineoverride |
◆ create()
Create RT-Components.
Create RT-Component's instances
- Parameters
-
- Returns
- Created RT-Components
Implements RTC::FactoryBase.
◆ destroy()
Destroy RT-Components.
Destroy RT-Component's instances
- Parameters
-
comp | The target RT-Component for destruction |
Implements RTC::FactoryBase.
◆ m_Delete
The pointer to component object destroy function .
◆ m_New
The pointer to component object create function .
◆ m_policy
The naming policy on creating the components .
Referenced by ~FactoryCXX().
The documentation for this class was generated from the following file: