|
OpenRTM-aist
1.1.2
|
GlobalFactory template class. More...
#include <Factory.h>
Friends | |
| class | Singleton< GlobalFactory > |
Additional Inherited Members | |
Public Types inherited from coil::Factory< AbstractClass, Identifier, Compare, Creator, Destructor > | |
| enum | ReturnCode { FACTORY_OK, FACTORY_ERROR, ALREADY_EXISTS, NOT_FOUND, INVALID_ARG, UNKNOWN_ERROR } |
| typedef std::map< Identifier, FactoryEntry > | FactoryMap |
| typedef FactoryMap::iterator | FactoryMapIt |
Public Types inherited from coil::Singleton< GlobalFactory< AbstractClass, Identifier, Compare, Creator, Destructor > > | |
| typedef GlobalFactory< AbstractClass, Identifier, Compare, Creator, Destructor > * | SingletonClassPtr |
| typedef ::coil::Mutex | Mutex |
Public Member Functions inherited from coil::Factory< AbstractClass, Identifier, Compare, Creator, Destructor > | |
| bool | hasFactory (const Identifier &id) |
| Factory presence check. More... | |
| std::vector< Identifier > | getIdentifiers () |
| Get factory ID list. More... | |
| ReturnCode | addFactory (const Identifier &id, Creator creator, Destructor destructor) |
| Add factory. More... | |
| ReturnCode | removeFactory (const Identifier &id) |
| Remove 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... | |
Static Public Member Functions inherited from coil::Singleton< GlobalFactory< AbstractClass, Identifier, Compare, Creator, Destructor > > | |
| static GlobalFactory< AbstractClass, Identifier, Compare, Creator, Destructor > & | instance () |
| Create instance. More... | |
Protected Member Functions inherited from coil::Singleton< GlobalFactory< AbstractClass, Identifier, Compare, Creator, Destructor > > | |
| Singleton () | |
| Constructor. More... | |
| ~Singleton () | |
| Destructor. More... | |
Static Protected Attributes inherited from coil::Singleton< GlobalFactory< AbstractClass, Identifier, Compare, Creator, Destructor > > | |
| static coil::Mutex | m_mutex |
| Mutual exclusion object. More... | |
| static GlobalFactory< AbstractClass, Identifier, Compare, Creator, Destructor > * | m_instance |
| SingletonClass object. More... | |
GlobalFactory template class.
|
friend |
1.8.11