Public Member Functions | Protected Attributes
RTC::FactoryBase Class Reference

FactoryBase base class. More...

#include <Factory.h>

Inheritance diagram for RTC::FactoryBase:
Inheritance graph
[legend]

List of all members.

Public Member Functions

virtual RTObject_implcreate (Manager *mgr)=0
 Create components.
virtual void destroy (RTObject_impl *comp)=0
 Destroy components.
 FactoryBase (const coil::Properties &profile)
 Constructor.
virtual int number ()
 Get the number of current instances.
virtual coil::Propertiesprofile ()
 Get the component profile.
virtual ~FactoryBase (void)
 Destructor.

Protected Attributes

int m_Number
 Number of current RT-Component's instances.
coil::Properties m_Profile
 Component profile.

Detailed Description

FactoryBase base class.

This is a base class for RT-Component factory.

Since:
0.2.0

Definition at line 118 of file rtm/Factory.h.


Constructor & Destructor Documentation

Constructor.

Constructor.

Parameters:
profileComponent profile

Definition at line 32 of file Factory.cpp.

RTC::FactoryBase::~FactoryBase ( void  ) [virtual]

Destructor.

Destructor

Definition at line 44 of file Factory.cpp.


Member Function Documentation

virtual RTObject_impl* RTC::FactoryBase::create ( Manager mgr) [pure virtual]

Create components.

Pure virtual function to create RT-Component's instances

Parameters:
mgrManager object
Returns:
Created RT-Components

Implemented in RTC::FactoryCXX.

virtual void RTC::FactoryBase::destroy ( RTObject_impl comp) [pure virtual]

Destroy components.

Pure virtual function to destroy RT-Component's instances

Parameters:
compThe target RT-Component for destruction

Implemented in RTC::FactoryCXX.

int RTC::FactoryBase::number ( ) [virtual]

Get the number of current instances.

Get the number of current RT-Component's instances.

Returns:
Number of RT-Component's instances

Definition at line 67 of file Factory.cpp.

Get the component profile.

Get the component profile.

Returns:
The component profile

Definition at line 55 of file Factory.cpp.


Member Data Documentation

int RTC::FactoryBase::m_Number [protected]

Number of current RT-Component's instances.

Definition at line 262 of file rtm/Factory.h.

Component profile.

Definition at line 253 of file rtm/Factory.h.


The documentation for this class was generated from the following files:


openrtm_aist
Author(s): Noriaki Ando
autogenerated on Sun Mar 26 2017 03:37:20