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

ECFactoryCXX class. More...

#include <ECFactory.h>

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

List of all members.

Public Member Functions

virtual ExecutionContextBasecreate ()
 Create the target ExecutionContext's instances.
virtual void destroy (ExecutionContextBase *comp)
 Destroy the target ExecutionContext's instances.
 ECFactoryCXX (const char *name, ECNewFunc new_func, ECDeleteFunc delete_func)
 Constructor.
virtual const char * name ()
 Get names of the target ExecutionContext for creation.
 ~ECFactoryCXX (void)

Protected Attributes

ECDeleteFunc m_Delete
 Function to destroy the target ExecutionContext.
std::string m_name
 Names of the target ExecutionContext for creation.
ECNewFunc m_New
 Function to create the target ExecutionContext.

Detailed Description

ECFactoryCXX class.

Factory class to create the ExecutionContext's instances for C++.

Since:
0.4.0

Definition at line 221 of file ECFactory.h.


Constructor & Destructor Documentation

RTC::ECFactoryCXX::ECFactoryCXX ( const char *  name,
ECNewFunc  new_func,
ECDeleteFunc  delete_func 
)

Constructor.

Constructor

Parameters:
nameName of the target ExecutionContext for creation
new_funcFunction to create ExecutionContext
delete_funcFunction to destroy ExecutionContext

Definition at line 32 of file ECFactory.cpp.

Virtual destructor.

Definition at line 48 of file ECFactory.cpp.


Member Function Documentation

Create the target ExecutionContext's instances.

Create the target ExecutionContext class's instances.

Returns:
Created ExecutionContext's instances

Implements RTC::ECFactoryBase.

Definition at line 71 of file ECFactory.cpp.

Destroy the target ExecutionContext's instances.

Destroy the target ExecutionContext's instances.

Parameters:
compThe target ExecutionContext's instances to destroy

Implements RTC::ECFactoryBase.

Definition at line 83 of file ECFactory.cpp.

const char * RTC::ECFactoryCXX::name ( ) [virtual]

Get names of the target ExecutionContext for creation.

Get names of the target ExecutionContext for creation.

Returns:
Names of target ExecutionContext for creation

Implements RTC::ECFactoryBase.

Definition at line 59 of file ECFactory.cpp.


Member Data Documentation

Function to destroy the target ExecutionContext.

Definition at line 358 of file ECFactory.h.

std::string RTC::ECFactoryCXX::m_name [protected]

Names of the target ExecutionContext for creation.

Definition at line 340 of file ECFactory.h.

Function to create the target ExecutionContext.

Definition at line 349 of file ECFactory.h.


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


openrtm_aist
Author(s): Noriaki Ando
autogenerated on Thu Aug 27 2015 14:16:41