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

Factory class for classes derived from MultiRunSimuBase, i.e., simulations that supports multi-run mode. More...

#include <MRSimuFactory.h>

Public Types

typedef shared_ptr
< MultiRunSimuBase >(* 
createFcn )(SimuPara &, TextSaveUI &, TextSaveUI &, DispUI &)
 

Public Member Functions

void regSimulator (string name, createFcn)
 
shared_ptr< MultiRunSimuBasecreate (string name, SimuPara &para, TextSaveUI &resFile_, TextSaveUI &tempFile_, DispUI &dispUI_)
 

Static Public Member Functions

static MRSimuFactoryinstance ()
 

Detailed Description

Factory class for classes derived from MultiRunSimuBase, i.e., simulations that supports multi-run mode.

\ Singleton.

Member Typedef Documentation

typedef shared_ptr<MultiRunSimuBase>(* MTMCSim::MRSimuFactory::createFcn)(SimuPara &, TextSaveUI &, TextSaveUI &, DispUI &)

Member Function Documentation

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

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