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

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

Definition at line 63 of file ServantFactory.h.

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

Definition at line 85 of file ServantFactory.h.

Member Function Documentation

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

Definition at line 91 of file ServantFactory.h.

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

Implements doil::ServantFactoryBase.

Definition at line 95 of file ServantFactory.h.

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

Definition at line 87 of file ServantFactory.h.

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

Member Data Documentation

ServantDeleteFunc doil::ServantFactory::m_delete
private

Definition at line 102 of file ServantFactory.h.

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

Definition at line 100 of file ServantFactory.h.

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 Jun 10 2019 14:08:00