ECFactoryCXX class. More...
#include <ECFactory.h>
Public Member Functions | |
virtual ExecutionContextBase * | create () |
Create the target ExecutionContext's instances. More... | |
virtual void | destroy (ExecutionContextBase *comp) |
Destroy the target ExecutionContext's instances. More... | |
ECFactoryCXX (const char *name, ECNewFunc new_func, ECDeleteFunc delete_func) | |
Constructor. More... | |
virtual const char * | name () |
Get names of the target ExecutionContext for creation. More... | |
~ECFactoryCXX (void) | |
Virtual destructor. More... | |
Public Member Functions inherited from RTC::ECFactoryBase | |
virtual | ~ECFactoryBase (void) |
Virtual destructor. More... | |
Protected Attributes | |
ECDeleteFunc | m_Delete |
Function to destroy the target ExecutionContext. More... | |
std::string | m_name |
Names of the target ExecutionContext for creation. More... | |
ECNewFunc | m_New |
Function to create the target ExecutionContext. More... | |
ECFactoryCXX class.
Factory class to create the ExecutionContext's instances for C++.
Definition at line 221 of file ECFactory.h.
RTC::ECFactoryCXX::ECFactoryCXX | ( | const char * | name, |
ECNewFunc | new_func, | ||
ECDeleteFunc | delete_func | ||
) |
Constructor.
Constructor
name | Name of the target ExecutionContext for creation |
new_func | Function to create ExecutionContext |
delete_func | Function to destroy ExecutionContext |
Definition at line 32 of file ECFactory.cpp.
RTC::ECFactoryCXX::~ECFactoryCXX | ( | void | ) |
|
virtual |
Create the target ExecutionContext's instances.
Create the target ExecutionContext class's instances.
Implements RTC::ECFactoryBase.
Definition at line 71 of file ECFactory.cpp.
|
virtual |
Destroy the target ExecutionContext's instances.
Destroy the target ExecutionContext's instances.
comp | The target ExecutionContext's instances to destroy |
Implements RTC::ECFactoryBase.
Definition at line 83 of file ECFactory.cpp.
|
virtual |
Get names of the target ExecutionContext for creation.
Get names of the target ExecutionContext for creation.
Implements RTC::ECFactoryBase.
Definition at line 59 of file ECFactory.cpp.
|
protected |
Function to destroy the target ExecutionContext.
Definition at line 358 of file ECFactory.h.
|
protected |
Names of the target ExecutionContext for creation.
Definition at line 340 of file ECFactory.h.
|
protected |
Function to create the target ExecutionContext.
Definition at line 349 of file ECFactory.h.