#include <Factory.h>
Inheritance diagram for RTC::FactoryCXX:
Public Member Functions | |
FactoryCXX (const Properties &profile, RtcNewFunc new_func, RtcDeleteFunc delete_func, NumberingPolicy *policy=new DefaultNumberingPolicy()) | |
RtcFactoryCXX class constructor. | |
virtual RtcBase * | create (Manager *mgr) |
Create component. | |
virtual void | destroy (RtcBase *comp) |
Destroy component. | |
virtual Properties & | profile () |
Get component profile. | |
virtual int | number () |
Get number of component instances. | |
Protected Attributes | |
RtcNewFunc | m_New |
The pointer to component object create function. | |
RtcDeleteFunc | m_Delete |
The pointer to component object delete function. | |
NumberingPolicy * | m_policy |
Properties | m_Profile |
Component profile. | |
int | m_Number |
Number of current component instances. |
|
RtcFactoryCXX class constructor. RtcFactoryCXX class constructor. Create component factory class with three arguments: component profile, function pointer to object create function and object delete function.
|
|
Create component. Create component implemented in Python.
Implements RTC::FactoryBase. |
|
Destroy component. Destroy component instance
Implements RTC::FactoryBase. |
|
Get number of component instances. Get number of current component instances. |
|
Get component profile. Get component profile. |
|
The pointer to component object delete function.
|
|
The pointer to component object create function.
|
|
Number of current component instances.
|
|
|
|
Component profile.
|