GlobalFactory template class. More...
#include <Factory.h>
Private Member Functions | |
GlobalFactory () | |
Constructor. More... | |
~GlobalFactory () | |
Destructor. More... | |
Friends | |
class | Singleton< GlobalFactory > |
Additional Inherited Members | |
![]() | |
typedef std::map< Identifier, FactoryEntry > | FactoryMap |
typedef FactoryMap::iterator | FactoryMapIt |
enum | ReturnCode { FACTORY_OK, FACTORY_ERROR, ALREADY_EXISTS, NOT_FOUND, INVALID_ARG, UNKNOWN_ERROR } |
![]() | |
typedef ::coil::Mutex | Mutex |
typedef GlobalFactory< AbstractClass, Identifier, Compare, Creator, Destructor > * | SingletonClassPtr |
![]() | |
ReturnCode | addFactory (const Identifier &id, Creator creator, Destructor destructor) |
Add factory. More... | |
AbstractClass * | createObject (const Identifier &id) |
Create factory object. More... | |
void | deleteObject (const Identifier &id, AbstractClass *&obj) |
Delete factory object. More... | |
void | deleteObject (AbstractClass *&obj) |
Delete factory object. More... | |
std::vector< Identifier > | getIdentifiers () |
Get factory ID list. More... | |
bool | hasFactory (const Identifier &id) |
Factory presence check. More... | |
ReturnCode | removeFactory (const Identifier &id) |
Remove factory. More... | |
![]() | |
static GlobalFactory< AbstractClass, Identifier, Compare, Creator, Destructor > & | instance () |
Create instance. More... | |
![]() | |
Singleton () | |
Constructor. More... | |
~Singleton () | |
Destructor. More... | |
![]() | |
static GlobalFactory< AbstractClass, Identifier, Compare, Creator, Destructor > * | m_instance |
SingletonClass object. More... | |
static coil::Mutex | m_mutex |
Mutual exclusion object. More... | |
GlobalFactory template class.
Definition at line 423 of file coil/common/Factory.h.
|
inlineprivate |
|
inlineprivate |
|
friend |
Definition at line 468 of file coil/common/Factory.h.