Bridge++  Version 1.5.4
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
factory.h File Reference
#include <string>
#include <map>

Go to the source code of this file.

Classes

class  FactoryTemplate< AbstractProduct, ProductCreator >
 

Typedefs

typedef std::string IdentifierType
 Factory template class. More...
 

Detailed Description

Author
Tatsumi Aoyama (aoym)
LastChangedBy:
aoyama
Date
LastChangedDate:
2019-01-21 17:06:23 #
Version
LastChangedRevision:
1929

Definition in file factory.h.

Typedef Documentation

typedef std::string IdentifierType

Factory template class.

FactoryTemplate class provides framework of factories for classes which relate identifiers of subclasses (class name string) and instance-creation callbacks (functions).

This template takes two template parameters: AbstractProduct represents typename of abstract base class of the product class family, and ProductCreator specifies the type of function (including types of arguments).

Definition at line 39 of file factory.h.