#include <ECFactory.h>

Public Member Functions | |
| ECFactoryCXX (const char *name, ECNewFunc new_func, ECDeleteFunc delete_func) | |
| Constructor. | |
| ~ECFactoryCXX (void) | |
| Virtual destructor. | |
| virtual const char * | name () |
| Get names of the target ExecutionContext for creation. | |
| virtual ExecutionContextBase * | create () |
| Create the target ExecutionContext's instances. | |
| virtual void | destroy (ExecutionContextBase *comp) |
| Destroy the target ExecutionContext's instances. | |
Protected Attributes | |
| std::string | m_name |
| Names of the target ExecutionContext for creation. | |
| ECNewFunc | m_New |
| Function to create the target ExecutionContext. | |
| ECDeleteFunc | m_Delete |
| Function to destroy the target ExecutionContext. | |
Factory class to create the ExecutionContext's instances for C++.
| 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 |
| RTC::ECFactoryCXX::~ECFactoryCXX | ( | void | ) |
Virtual destructor.
Virtual destructor.
| virtual const char* RTC::ECFactoryCXX::name | ( | ) | [virtual] |
Get names of the target ExecutionContext for creation.
Get names of the target ExecutionContext for creation.
Implements RTC::ECFactoryBase.
| virtual ExecutionContextBase* RTC::ECFactoryCXX::create | ( | ) | [virtual] |
Create the target ExecutionContext's instances.
Create the target ExecutionContext class's instances.
Implements RTC::ECFactoryBase.
| virtual void RTC::ECFactoryCXX::destroy | ( | ExecutionContextBase * | comp | ) | [virtual] |
Destroy the target ExecutionContext's instances.
Destroy the target ExecutionContext's instances.
| comp | The target ExecutionContext's instances to destroy |
Implements RTC::ECFactoryBase.
std::string RTC::ECFactoryCXX::m_name [protected] |
Names of the target ExecutionContext for creation.
ECNewFunc RTC::ECFactoryCXX::m_New [protected] |
Function to create the target ExecutionContext.
ECDeleteFunc RTC::ECFactoryCXX::m_Delete [protected] |
Function to destroy the target ExecutionContext.
1.5.5