20 #ifndef GUIEvent_SimulationEnded_h 21 #define GUIEvent_SimulationEnded_h Event sent when the the simulation is over.
SUMOTime myStep
The time step the simulation has ended at.
SUMOTime getTimeStep() const
Returns the time step the simulation has ended at.
~GUIEvent_SimulationEnded()
Destructor.
MSNet::SimulationState getReason() const
Returns the reason the simulation has ended due.
SimulationState
Possible states of a simulation - running or stopped with different reasons.
GUIEvent_SimulationEnded(MSNet::SimulationState reason, SUMOTime step)
Constructor.
MSNet::SimulationState myReason
The reason the simulation has ended.
Send when the simulation is over; The reason and the time step are stored within the event...