The DefaultSimulation is provided for convenience. You can use this simulation if you don't want to define your own. Use getDefaultSimulation() to get a pointer to an DefaultSimulation object.
Protected Member Functions | |
virtual void | initSimulation () |
Initialisation of a simulation. | |
Friends | |
Simulation * | getDefaultSimulation () |
Get the DefaultSimulation. |
|
Initialisation of a simulation. Implement this method to initialise a simulation. One can create and activate the first processes of a simulation in this function. Inside this function the scheduling operations does not cause an immediate execution of a process. The first process is executed after this function is finished. Implements Simulation. |
|
Get the DefaultSimulation.
|