|
vector< string > | getNames () const |
| The names of all objects instatiated by the factory.
|
|
Factory< BaseType(ParamType...)> * | Instance () |
| Singleton access.
|
|
const Factory< BaseType(ParamType...)> * | operator() () const |
| Overload () to return a singleton instance.
|
|
Factory< BaseType(ParamType...)> * | operator() () |
|
BaseType | Create (string name, ParamType ...param) |
| Return an instantiated object with a given name.
|
|
template<class DerivedType > |
bool | Register (string name) |
| Register the derived type with a descriptive name in the map.
|
|
|
using | CreateObjectFunc = BaseType(*)(ParamType...) |
|
|
template<class DerivedType > |
static BaseType | createObj (ParamType ...param) |
|
|
map< string, CreateObjectFunc > | _create |
|
template<class BaseType, class ... ParamType>
class Factory< BaseType(ParamType...)>
Definition at line 27 of file factory.h.
The documentation for this class was generated from the following file: