#include <RtcFactory.h>
Inheritance diagram for RTM::RtcFactoryCXX:
Public Member Functions | |
RtcFactoryCXX (RtcModuleProfile profile, RtcNewFunc new_func, RtcDeleteFunc delete_func) | |
RtcFactoryCXX class constructor. | |
virtual RtcBase * | create (RtcManager *mgr) |
Create component. | |
virtual void | destroy (RtcBase *comp) |
Destroy component. | |
virtual RtcModuleProfile & | 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. | |
RtcModuleProfile | m_Profile |
Component profile. | |
int | m_Number |
Number of current component instances. |
RTComponent factory class for C++.
|
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 RTM::RtcFactoryBase. |
|
Destroy component. Destroy component instance
Implements RTM::RtcFactoryBase. |
|
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.
|