Bridge++
Version 1.5.4
|
#include <factory.h>
Public Member Functions | |
ProductCreator | find (const IdentifierType &subtype) |
bool | append (const IdentifierType &subtype, ProductCreator creator) |
Static Public Member Functions | |
static ProductCreator | Find (const IdentifierType &subtype) |
static bool | Register (const IdentifierType &subtype, ProductCreator creator) |
static FactoryTemplate & | Instance () |
Private Types | |
typedef std::map < IdentifierType, ProductCreator > | Map |
Private Member Functions | |
FactoryTemplate () | |
FactoryTemplate (const FactoryTemplate &) | |
FactoryTemplate & | operator= (const FactoryTemplate &) |
virtual | ~FactoryTemplate () |
Static Private Member Functions | |
static void | create_instance () |
Private Attributes | |
Map | m_map |
Static Private Attributes | |
static FactoryTemplate * | s_instance = 0 |
|
private |
|
inlineprivate |
|
inlineprivate |
|
inlineprivatevirtual |
|
inline |
|
inlinestaticprivate |
|
inlinestatic |
|
inline |
|
inlinestatic |
|
private |
|
inlinestatic |
|
private |
|
staticprivate |