A class for. More...
#include <ModelFactory.h>
Public Member Functions | |
| void | addModelToFactory (const std::string name, std::function< StandardModel *() >) |
| StandardModel * | CreateModel (const std::string &ModelName) |
| ModelFactory () | |
| ModelFactory (const ModelFactory &orig) | |
| virtual | ~ModelFactory () |
Private Attributes | |
| std::map< std::string, std::function< StandardModel *()> > | modelFactory |
| ModelFactory::ModelFactory | ( | ) |
Definition at line 51 of file ModelFactory.cpp.
| ModelFactory::ModelFactory | ( | const ModelFactory & | orig | ) |
|
inlinevirtual |
Definition at line 28 of file ModelFactory.h.
| void ModelFactory::addModelToFactory | ( | const std::string | name, |
| std::function< StandardModel *() > | funct | ||
| ) |
Definition at line 101 of file ModelFactory.cpp.
| StandardModel * ModelFactory::CreateModel | ( | const std::string & | ModelName | ) |
Definition at line 106 of file ModelFactory.cpp.
|
private |
Definition at line 34 of file ModelFactory.h.