20 #ifndef RTC_ECFACTORY_H 21 #define RTC_ECFACTORY_H 76 template <
class _Delete>
156 virtual const char*
name() = 0;
288 virtual const char*
name();
361 #endif // RTC_ECFACTORY_H
ExecutionContextBase * ECCreate()
Template function to create ExecutionContext.
virtual ~ECFactoryBase(void)
Virtual destructor.
A base class for ExecutionContext.
virtual ExecutionContextBase * create()=0
Pure virtual function to create ExecutionContext.
ExecutionContext base class.
ECFactoryBase abstract class.
ECNewFunc m_New
Function to create the target ExecutionContext.
ECDeleteFunc m_Delete
Function to destroy the target ExecutionContext.
virtual void destroy(ExecutionContextBase *comp)=0
Pure virtual function to destroy ExecutionContext.
ExecutionContextBase *(* ECNewFunc)()
virtual const char * name()=0
Pure virtual function to get names of creation target ExecutionContext.
void ECDelete(ExecutionContextBase *ec)
Template function to destroy ExecutionContext.
void(* ECDeleteFunc)(ExecutionContextBase *ec)
std::string m_name
Names of the target ExecutionContext for creation.