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

The interface (abstract base class) for multi-runnable simulators. More...

#include <MultiRunnable.h>

Inheritance diagram for MTMCSim::MultiRunnable:

Public Member Functions

virtual shared_ptr< SimuParagetNextPara ()
 Get the parameter for the next simulation. More...
 
virtual bool quit () const
 Check if terminate the whole simulation series. More...
 
 MultiRunnable ()
 Default constructor. More...
 
 MultiRunnable (int mode_, SimuPara &simupara)
 
virtual ~MultiRunnable ()
 

Protected Attributes

int mulMode
 
bool isQuit
 
shared_ptr< SimuParanextPara
 

Detailed Description

The interface (abstract base class) for multi-runnable simulators.

In such a simulator, the simulator can update the parameters for the next simulation and multiple simulations can run without human control.

Constructor & Destructor Documentation

MTMCSim::MultiRunnable::MultiRunnable ( )
inline

Default constructor.

\ Not in the multi run mode by default.

MTMCSim::MultiRunnable::MultiRunnable ( int  mode_,
SimuPara simupara 
)
inline
virtual MTMCSim::MultiRunnable::~MultiRunnable ( )
inlinevirtual

Member Function Documentation

virtual shared_ptr<SimuPara> MTMCSim::MultiRunnable::getNextPara ( )
inlinevirtual

Get the parameter for the next simulation.

virtual bool MTMCSim::MultiRunnable::quit ( ) const
inlinevirtual

Check if terminate the whole simulation series.

Member Data Documentation

bool MTMCSim::MultiRunnable::isQuit
protected
int MTMCSim::MultiRunnable::mulMode
protected
shared_ptr<SimuPara> MTMCSim::MultiRunnable::nextPara
protected

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