Main Page | Namespace List | Class Hierarchy | Class List | Directories | File List | Namespace Members | Class Members | File Members

RTM::RtcFactoryPy Class Reference

RtcFactoryPy class. More...

#include <RtcFactoryPy.h>

List of all members.

Public Member Functions

 RtcFactoryPy (RtcModuleProfile profile, PyObject *callable)
 RtcFactoryPy class constructor.
 ~RtcFactoryPy ()
 RtcFactoryPy class destructor.
RtcBasecreate (RtcManager *mgr)
 Create component.
void destroy (RtcBase *comp)
 Destroy component.

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.


Detailed Description

RtcFactoryPy class.

RTComponent factory class for RTComponent implemented in Python.


Constructor & Destructor Documentation

RTM::RtcFactoryPy::RtcFactoryPy RtcModuleProfile  profile,
PyObject *  callable
[inline]
 

RtcFactoryPy class constructor.

RtcFactoryPy class constructor. Create RTComponent implemented in Python with two arguments: component profile and Python callable object.

Parameters:
profile component profile
callable Python callable object

RTM::RtcFactoryPy::~RtcFactoryPy  )  [inline]
 

RtcFactoryPy class destructor.


Member Function Documentation

RtcBase* RTM::RtcFactoryPy::create RtcManager mgr  )  [inline]
 

Create component.

Create component implemented in Python

Parameters:
mgr pointer to RtcManager

void RTM::RtcFactoryPy::destroy RtcBase comp  )  [inline]
 

Destroy component.

Destroy component instance

Parameters:
comp pointer to RtcBase


Member Data Documentation

PyInterpreterState* RTM::RtcFactoryPy::m_Interp [protected]
 

The pointer to Python interpreter.

PyObject* RTM::RtcFactoryPy::m_pyClass [protected]
 

The pointer to Python's RTComponent class object.

std::list<PyObject*> RTM::RtcFactoryPy::m_pyComponents [protected]
 

List of RTComponent instance pointer.


The documentation for this class was generated from the following file:
Generated on Sat Oct 28 02:28:16 2006 for OpenRTM by  doxygen 1.4.1