21 #ifndef GUIEvent_SimulationEnded_h
22 #define GUIEvent_SimulationEnded_h
Event sent when the the simulation is over.
SUMOTime myStep
The time step the simulation has ended at.
MSNet::SimulationState getReason() const
Returns the reason the simulation has ended due.
~GUIEvent_SimulationEnded()
Destructor.
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...
SUMOTime getTimeStep() const
Returns the time step the simulation has ended at.