@ SIMULATION_ENDED
Send when the simulation is over;.
Event sent when the simulation is over.
MSNet::SimulationState getReason() const
Returns the reason the simulation has ended due.
MSNet::SimulationState myReason
The reason the simulation has ended.
SUMOTime myStep
The time step the simulation has ended at.
~GUIEvent_SimulationEnded()
Destructor.
GUIEvent_SimulationEnded(MSNet::SimulationState reason, SUMOTime step)
Constructor.
SUMOTime getTimeStep() const
Returns the time step the simulation has ended at.
SimulationState
Possible states of a simulation - running or stopped with different reasons.