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

FactoryCXX class. More...

#include <Factory.h>

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

List of all members.

Public Member Functions

virtual RTObject_implcreate (Manager *mgr)
 Create RT-Components.
virtual void destroy (RTObject_impl *comp)
 Destroy RT-Components.
 FactoryCXX (const coil::Properties &profile, RtcNewFunc new_func, RtcDeleteFunc delete_func, NumberingPolicy *policy=new DefaultNumberingPolicy())
 Constructor.
virtual ~FactoryCXX ()

Protected Attributes

RtcDeleteFunc m_Delete
 The pointer to component object destroy function.
RtcNewFunc m_New
 The pointer to component object create function.
NumberingPolicym_policy
 The naming policy on creating the components.

Detailed Description

FactoryCXX class.

RT-Component factory class for C++.

Since:
0.2.0

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


Constructor & Destructor Documentation

RTC::FactoryCXX::FactoryCXX ( const coil::Properties profile,
RtcNewFunc  new_func,
RtcDeleteFunc  delete_func,
NumberingPolicy policy = new DefaultNumberingPolicy() 
)

Constructor.

Constructor. Create component factory class with three arguments: component profile, function pointer to object create function and object destroy function.

Parameters:
profileComponent profile
new_funcPointer to component create function
delete_funcPointer to component destroy function
policyThe naming policy at component creation (The default value:DefaultNumberingPolicy)

Definition at line 79 of file Factory.cpp.

virtual RTC::FactoryCXX::~FactoryCXX ( ) [inline, virtual]

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


Member Function Documentation

Create RT-Components.

Create RT-Component's instances

Parameters:
mgrManager object
Returns:
Created RT-Components

Implements RTC::FactoryBase.

Definition at line 99 of file Factory.cpp.

void RTC::FactoryCXX::destroy ( RTObject_impl comp) [virtual]

Destroy RT-Components.

Destroy RT-Component's instances

Parameters:
compThe target RT-Component for destruction

Implements RTC::FactoryBase.

Definition at line 129 of file Factory.cpp.


Member Data Documentation

The pointer to component object destroy function.

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

The pointer to component object create function.

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

The naming policy on creating the components.

Definition at line 405 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