#include <RtcFactoryPy.h>
Inheritance diagram for RTM::RtcFactoryPy:
Public Member Functions | |
RtcFactoryPy (RtcModuleProfile profile, PyObject *callable) | |
RtcFactoryPy class constructor. | |
~RtcFactoryPy () | |
RtcFactoryPy class destructor. | |
RtcBase * | create (RtcManager *mgr) |
Create component. | |
void | destroy (RtcBase *comp) |
Destroy component. | |
virtual RtcModuleProfile & | profile () |
Get component profile. | |
virtual int & | number () |
Get number of component instances. | |
Protected Attributes | |
PyObject * | m_pyClass |
The pointer to Python's RTComponent class object. | |
std::list< PyObject * > | m_pyComponents |
List of RTComponent instance pointer. | |
PyInterpreterState * | m_Interp |
The pointer to Python interpreter. | |
RtcModuleProfile | m_Profile |
Component profile. | |
int | m_Number |
Number of current component instances. |
RTComponent factory class for RTComponent implemented in Python.
|
RtcFactoryPy class constructor. RtcFactoryPy class constructor. Create RTComponent implemented in Python with two arguments: component profile and Python callable object.
|
|
RtcFactoryPy class destructor.
|
|
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 Python interpreter.
|
|
Number of current component instances.
|
|
Component profile.
|
|
The pointer to Python's RTComponent class object.
|
|
List of RTComponent instance pointer.
|