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

RTM::RtcFactoryBase Class Reference

RtcFactoryBase base class. More...

#include <RtcFactory.h>

Inheritance diagram for RTM::RtcFactoryBase:

RTM::RtcFactoryCXX RTM::RtcFactoryPy List of all members.

Public Member Functions

 RtcFactoryBase (RtcModuleProfile profile)
 RtcFactoryBase class constructor.

virtual RtcBasecreate (RtcManager *mgr)=0
 Create component.

virtual void destroy (RtcBase *comp)=0
 Destroy component.

virtual RtcModuleProfileprofile ()
 Get component profile.

virtual int & number ()
 Get number of component instances.


Protected Attributes

RtcModuleProfile m_Profile
 Component profile.

int m_Number
 Number of current component instances.


Detailed Description

RtcFactoryBase base class.

RTComponent factory base class.


Constructor & Destructor Documentation

RTM::RtcFactoryBase::RtcFactoryBase RtcModuleProfile  profile  )  [inline]
 

RtcFactoryBase class constructor.

RtcFactoryBase class constructor.

Parameters:
profile component profile


Member Function Documentation

virtual RtcBase* RTM::RtcFactoryBase::create RtcManager mgr  )  [pure virtual]
 

Create component.

Create component implemented in Python. Pure virtual method.

Parameters:
mgr pointer to RtcManager

Implemented in RTM::RtcFactoryCXX, and RTM::RtcFactoryPy.

virtual void RTM::RtcFactoryBase::destroy RtcBase comp  )  [pure virtual]
 

Destroy component.

Destroy component instance Pure virtual method.

Parameters:
comp pointer to RtcBase

Implemented in RTM::RtcFactoryCXX, and RTM::RtcFactoryPy.

virtual int& RTM::RtcFactoryBase::number  )  [inline, virtual]
 

Get number of component instances.

Get number of current component instances.

virtual RtcModuleProfile& RTM::RtcFactoryBase::profile  )  [inline, virtual]
 

Get component profile.

Get component profile.


Member Data Documentation

int RTM::RtcFactoryBase::m_Number [protected]
 

Number of current component instances.

RtcModuleProfile RTM::RtcFactoryBase::m_Profile [protected]
 

Component profile.


The documentation for this class was generated from the following file:
Generated on Wed Apr 6 14:22:24 2005 for OpenRTM by doxygen 1.3.6