MTMCSim  0.5
 All Classes Namespaces Files Functions Variables Typedefs Friends Macros Pages
MTMCSim::SimuFactory Class Reference

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< MTMCSimBasecreate (string name, SimuPara &para, TextSaveUI &resFile_, TextSaveUI &tempFile_, DispUI &dispUI_)
 

Static Public Member Functions

static SimuFactoryinstance ()
 

Detailed Description

Factory class for classes derived from MTMCSimBase, the simulators.

\ Singleton.

Member Typedef Documentation

typedef shared_ptr<MTMCSimBase>(* MTMCSim::SimuFactory::createFcn)(SimuPara &, TextSaveUI &, TextSaveUI &, DispUI &)

Member Function Documentation

shared_ptr< MTMCSimBase > MTMCSim::SimuFactory::create ( string  name,
SimuPara para,
TextSaveUI resFile_,
TextSaveUI tempFile_,
DispUI dispUI_ 
)
static SimuFactory& MTMCSim::SimuFactory::instance ( )
inlinestatic
void MTMCSim::SimuFactory::regSimulator ( string  name,
createFcn  creator 
)

The documentation for this class was generated from the following files: