#include <basicsimulationsystem.h>
Inheritance diagram for simth::SimulationSystem:
Public Types | |
enum | RUNNING_FLAG { rf_std = 0x1, rf_quiet = 0x2, rf_asterisks = 0x4, rf_deviceNr = 0x8, rf_nobackspaces = 0x10 } |
Public Member Functions | |
SimulationSystem () | |
virtual | ~SimulationSystem () |
virtual double | mainSimulationLoop (int mode)=0 |
virtual void | print (std::ostream &os) const |
In derived classes the main functionality should be implemented in the function mainSimulationLoop(int mode) that is called by the main function to start the simulation.
|
|
|
Class constructor of a basic simulation system. |
|
Default destructor. |
|
In derived classes, this function should implement the main functionality of a simulation system. It is called by the main function to start the simulation. It should return the simulation time in seconds. Implemented in simth::StreamDrivenSystem. |
|
Prints information about the simulation system to the given ostream. In order to give more detailed information, a derived class shoul reimplement this function.
Reimplemented in simth::StreamDrivenSystem. |