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

Factory class for classes derived from SimuPara, the simulation parameter objects. More...

#include <SimuParaFactory.h>

Public Types

typedef shared_ptr< SimuPara >(* createFcn )()
 

Public Member Functions

void regSimuPara (string name, createFcn)
 
shared_ptr< SimuParacreate (string name)
 

Static Public Member Functions

static SimuParaFactoryinstance ()
 

Detailed Description

Factory class for classes derived from SimuPara, the simulation parameter objects.

\ Singleton.

Member Typedef Documentation

typedef shared_ptr<SimuPara>(* MTMCSim::SimuParaFactory::createFcn)()

Member Function Documentation

shared_ptr< SimuPara > MTMCSim::SimuParaFactory::create ( string  name)
static SimuParaFactory& MTMCSim::SimuParaFactory::instance ( )
inlinestatic
void MTMCSim::SimuParaFactory::regSimuPara ( string  name,
createFcn  creator 
)

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