|
MTMCSim
0.5
|
Factory class for classes derived from MTMCSimBase, the simulators. More...
#include <SimuFactory.h>
Public Types | |
| typedef shared_ptr< MTMCSimBase >(* | createFcn )(SimuPara &, TextSaveUI &, TextSaveUI &, DispUI &) |
Public Member Functions | |
| void | regSimulator (string name, createFcn) |
| shared_ptr< MTMCSimBase > | create (string name, SimuPara ¶, TextSaveUI &resFile_, TextSaveUI &tempFile_, DispUI &dispUI_) |
Static Public Member Functions | |
| static SimuFactory & | instance () |
Factory class for classes derived from MTMCSimBase, the simulators.
\ Singleton.
| typedef shared_ptr<MTMCSimBase>(* MTMCSim::SimuFactory::createFcn)(SimuPara &, TextSaveUI &, TextSaveUI &, DispUI &) |
| shared_ptr< MTMCSimBase > MTMCSim::SimuFactory::create | ( | string | name, |
| SimuPara & | para, | ||
| TextSaveUI & | resFile_, | ||
| TextSaveUI & | tempFile_, | ||
| DispUI & | dispUI_ | ||
| ) |
|
inlinestatic |
| void MTMCSim::SimuFactory::regSimulator | ( | string | name, |
| createFcn | creator | ||
| ) |