Bridge++
Ver. 2.0.2
|
#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 () |
static void | print (const char *tag=NULL) |
Private Types | |
typedef std::map< IdentifierType, ProductCreator > | Map |
Private Member Functions | |
FactoryTemplate () | |
FactoryTemplate (const FactoryTemplate &) | |
FactoryTemplate & | operator= (const FactoryTemplate &) |
virtual | ~FactoryTemplate () |
void | show_entries (const char *tag) |
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 |
|
inlinestatic |
|
inlineprivate |
|
private |
|
staticprivate |