ECFactoryBase abstract class. More...
#include <ECFactory.h>
Public Member Functions | |
virtual | ~ECFactoryBase (void) |
Virtual destructor. | |
virtual const char * | name ()=0 |
Pure virtual function to get names of creation target ExecutionContext. | |
virtual ExecutionContextBase * | create ()=0 |
Pure virtual function to create ExecutionContext. | |
virtual void | destroy (ExecutionContextBase *comp)=0 |
Pure virtual function to destroy ExecutionContext. |
ECFactoryBase abstract class.
This is the abstruct Factory classes for ExecutionContext creation. Concrete classes for each ExecutionContext creation must implement the following pure virtual functions.
This class provides the following public interfaces.
virtual RTC::ECFactoryBase::~ECFactoryBase | ( | void | ) | [inline, virtual] |
Virtual destructor.
Virtual destructor
virtual ExecutionContextBase* RTC::ECFactoryBase::create | ( | ) | [pure virtual] |
Pure virtual function to create ExecutionContext.
Pure virtual function to create ExecutionContext's instances.
Implemented in RTC::ECFactoryCXX.
virtual void RTC::ECFactoryBase::destroy | ( | ExecutionContextBase * | comp | ) | [pure virtual] |
Pure virtual function to destroy ExecutionContext.
Pure virtual function to destroy ExecutionContext's instances.
comp | The target ExecutionContext's instances for destruction |
Implemented in RTC::ECFactoryCXX.
virtual const char* RTC::ECFactoryBase::name | ( | ) | [pure virtual] |
Pure virtual function to get names of creation target ExecutionContext.
Pure virtual function to get names of the target ExecutionContext for creation.
Implemented in RTC::ECFactoryCXX.
Referenced by RTC::Manager::ECFactoryPredicate::operator()().