OpenMS
|
Holds pointers to unique instance of a singleton factory. More...
#include <OpenMS/CONCEPT/SingletonRegistry.h>
Static Public Member Functions | |
static FactoryBase * | getFactory (const String &name) |
return DefaultParamHandler according to unique identifier name More... | |
static void | registerFactory (const String &name, FactoryBase *instance) |
register new concrete Factory More... | |
static bool | isRegistered (String name) |
Returns if a factory is registered. More... | |
Private Types | |
typedef std::map< String, FactoryBase * > | Map |
Function signature of creator function. More... | |
typedef Map::const_iterator | MapIterator |
Private Member Functions | |
virtual | ~SingletonRegistry () |
destructor More... | |
SingletonRegistry () | |
C'Tor. More... | |
Static Private Member Functions | |
static SingletonRegistry * | instance_ () |
singleton access to SingletonRegistry More... | |
Private Attributes | |
Map | inventory_ |
Static Private Attributes | |
static SingletonRegistry * | singletonRegistryInstance_ |
Friends | |
class | singletonsNeedNoFriends |
Holds pointers to unique instance of a singleton factory.
|
private |
Function signature of creator function.
|
private |
|
inlineprivatevirtual |
destructor
|
inlineprivate |
C'Tor.
|
inlinestatic |
return DefaultParamHandler according to unique identifier name
Referenced by Factory< FactoryProduct >::instance_().
|
inlinestaticprivate |
singleton access to SingletonRegistry
|
inlinestatic |
Returns if a factory is registered.
Referenced by Factory< FactoryProduct >::instance_().
|
inlinestatic |
register new concrete Factory
Referenced by Factory< FactoryProduct >::instance_().
|
friend |
|
private |
|
staticprivate |