Main Page   Modules   Namespace List   Class Hierarchy   Alphabetical List   Data Structures   File List   Namespace Members   Data Fields   Globals   Related Pages   Examples  

DefaultSimulation Class Reference

Inherits Simulation.


Detailed Description

A default implementation of Simulation for convenience.

Author:
Ralf Gerstenberger

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.

Since:
1.0


Protected Member Functions

virtual void initSimulation ()
 Initialisation of a simulation.


Friends

SimulationgetDefaultSimulation ()
 Get the DefaultSimulation.


Member Function Documentation

virtual void initSimulation  )  [inline, protected, virtual]
 

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.


Friends And Related Function Documentation

Simulation * getDefaultSimulation  )  [friend]
 

Get the DefaultSimulation.

Returns:
pointer to the DefaultSimulation object
The first time getDefaultSimulation() is called, an object of type DefaultSimulation is created and returned. All following calls to getDefaultSimulation() also return this object.

See also:
DefaultSimulation


Generated on Mon Aug 11 10:36:07 2003 for ODEMx by doxygen1.3