#include <ServantFactory.h>
Public Member Functions | |
virtual ServantBase * | create () |
virtual ServantBase * | create (ImplBase *impl) |
virtual void | destroy (ServantBase *servant) |
virtual void | destroy (ServantBase *servant) |
virtual const char * | id () |
virtual const char * | name () |
ServantFactory (const char *name, ServantNewFunc new_func, ServantDeleteFunc delete_func) | |
ServantFactory (const char *id, ServantNewFunc new_func, ServantDeleteFunc delete_func) | |
virtual | ~ServantFactory () |
virtual | ~ServantFactory () |
Private Attributes | |
ServantDeleteFunc | m_delete |
std::string | m_id |
ServantNewFunc | m_new |
Definition at line 59 of file ServantFactory.cpp.
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 | ( | ) | [inline, virtual] |
Definition at line 85 of file ServantFactory.h.
virtual ServantBase* doil::ServantFactory::create | ( | ) | [virtual] |
Implements doil::ServantFactoryBase.
virtual ServantBase* doil::ServantFactory::create | ( | ImplBase * | impl | ) | [inline, virtual] |
Definition at line 91 of file ServantFactory.h.
virtual void doil::ServantFactory::destroy | ( | ServantBase * | servant | ) | [virtual] |
Implements doil::ServantFactoryBase.
virtual void doil::ServantFactory::destroy | ( | ServantBase * | servant | ) | [inline, virtual] |
Implements doil::ServantFactoryBase.
Definition at line 95 of file ServantFactory.h.
virtual const char* doil::ServantFactory::id | ( | ) | [inline, virtual] |
Definition at line 87 of file ServantFactory.h.
virtual const char* doil::ServantFactory::name | ( | ) | [virtual] |
Implements doil::ServantFactoryBase.
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.