Public Member Functions | Private Attributes | List of all members
doil::ServantFactory Class Reference

#include <ServantFactory.h>

Inheritance diagram for doil::ServantFactory:
Inheritance graph
[legend]

Public Member Functions

virtual ServantBasecreate ()
 
virtual ServantBasecreate (ImplBase *impl)
 
virtual void destroy (ServantBase *servant)
 
virtual void destroy (ServantBase *servant)
 
virtual const char * id ()
 
virtual const char * name ()
 
 ServantFactory (const char *id, ServantNewFunc new_func, ServantDeleteFunc delete_func)
 
 ServantFactory (const char *name, ServantNewFunc new_func, ServantDeleteFunc delete_func)
 
virtual ~ServantFactory ()
 
virtual ~ServantFactory ()
 
- Public Member Functions inherited from doil::ServantFactoryBase
virtual ~ServantFactoryBase ()
 
virtual ~ServantFactoryBase ()
 

Private Attributes

ServantDeleteFunc m_delete
 
std::string m_id
 
ServantNewFunc m_new
 

Detailed Description

Definition at line 59 of file ServantFactory.cpp.

Constructor & Destructor Documentation

◆ ServantFactory() [1/2]

doil::ServantFactory::ServantFactory ( const char *  name,
ServantNewFunc  new_func,
ServantDeleteFunc  delete_func 
)

◆ ~ServantFactory() [1/2]

virtual doil::ServantFactory::~ServantFactory ( )
virtual

◆ ServantFactory() [2/2]

doil::ServantFactory::ServantFactory ( const char *  id,
ServantNewFunc  new_func,
ServantDeleteFunc  delete_func 
)
inline

Definition at line 63 of file ServantFactory.h.

◆ ~ServantFactory() [2/2]

virtual doil::ServantFactory::~ServantFactory ( )
inlinevirtual

Definition at line 85 of file ServantFactory.h.

Member Function Documentation

◆ create() [1/2]

virtual ServantBase* doil::ServantFactory::create ( )
virtual

◆ create() [2/2]

virtual ServantBase* doil::ServantFactory::create ( ImplBase impl)
inlinevirtual

Definition at line 91 of file ServantFactory.h.

◆ destroy() [1/2]

virtual void doil::ServantFactory::destroy ( ServantBase servant)
virtual

◆ destroy() [2/2]

virtual void doil::ServantFactory::destroy ( ServantBase servant)
inlinevirtual

Implements doil::ServantFactoryBase.

Definition at line 95 of file ServantFactory.h.

◆ id()

virtual const char* doil::ServantFactory::id ( )
inlinevirtual

Definition at line 87 of file ServantFactory.h.

◆ name()

virtual const char* doil::ServantFactory::name ( )
virtual

Member Data Documentation

◆ m_delete

ServantDeleteFunc doil::ServantFactory::m_delete
private

Definition at line 102 of file ServantFactory.h.

◆ m_id

std::string doil::ServantFactory::m_id
private

Definition at line 100 of file ServantFactory.h.

◆ m_new

ServantNewFunc doil::ServantFactory::m_new
private

Definition at line 101 of file ServantFactory.h.


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


openrtm_aist
Author(s): Noriaki Ando
autogenerated on Mon Feb 28 2022 23:00:46