Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | File List | Class Members | File Members

SimulationEndEvent Class Reference

#include <Simulation.h>

Inheritance diagram for SimulationEndEvent:

SimulationEvent List of all members.

Detailed Description

The SimulationEndEvent is the simulation event that the simulation shall stop handling events.

It uses the Simulation::End method to do this.

Author:
Thomas Jacob

Definition at line 287 of file Simulation.h.

Public Member Functions

SimulationGetSimulation ()
 Returns the corresponding simulation for the event.

long GetTime ()
 Returns the time when the event shall happen.

virtual void Handle ()
 Handles the end event by calling the simulation's end method.

 SimulationEndEvent ()
 Creates a new simulation end event.

virtual ~SimulationEndEvent ()
 Destroys the simulation end event.


Constructor & Destructor Documentation

SimulationEndEvent  ) 
 

Creates a new simulation end event.

virtual ~SimulationEndEvent  )  [virtual]
 

Destroys the simulation end event.


Member Function Documentation

class Simulation* GetSimulation  )  [inline, inherited]
 

Returns the corresponding simulation for the event.

Returns:
The corresponding simulation for the event.

long GetTime  )  [inline, inherited]
 

Returns the time when the event shall happen.

Returns:
The time when the event shall happen.

virtual void Handle  )  [virtual]
 

Handles the end event by calling the simulation's end method.

Reimplemented from SimulationEvent.


The documentation for this class was generated from the following file:
Generated on Tue Oct 3 00:23:41 2006 for ToolBox by doxygen 1.3.6