Eclipse SUMO - Simulation of Urban MObility
|
Event sent when the simulation is over. More...
#include <GUIEvent_SimulationEnded.h>
Public Member Functions | |
GUIEventType | getOwnType () const |
returns the event type | |
MSNet::SimulationState | getReason () const |
Returns the reason the simulation has ended due. | |
SUMOTime | getTimeStep () const |
Returns the time step the simulation has ended at. | |
GUIEvent_SimulationEnded (MSNet::SimulationState reason, SUMOTime step) | |
Constructor. | |
~GUIEvent_SimulationEnded () | |
Destructor. | |
Protected Attributes | |
MSNet::SimulationState | myReason |
The reason the simulation has ended. | |
SUMOTime | myStep |
The time step the simulation has ended at. | |
GUIEventType | myType |
the type of the event | |
Event sent when the simulation is over.
Throw from GUIRunThread to GUIApplicationWindow.
Definition at line 38 of file GUIEvent_SimulationEnded.h.
|
inline |
Constructor.
[in] | reason | The reason the simulation has ended |
[in] | step | The time step the simulation has ended at |
Definition at line 44 of file GUIEvent_SimulationEnded.h.
|
inline |
Destructor.
Definition at line 49 of file GUIEvent_SimulationEnded.h.
|
inlineinherited |
returns the event type
Definition at line 89 of file GUIEvent.h.
References GUIEvent::myType.
Referenced by GUIApplicationWindow::eventOccurred(), GNEApplicationWindow::eventOccurred(), GUIApplicationWindow::handleEvent_Message(), GNEApplicationWindow::handleEvent_Message(), GNERunNetgenerateDialog::onThreadEvent(), and GNERunPythonToolDialog::onThreadEvent().
|
inline |
Returns the reason the simulation has ended due.
Definition at line 63 of file GUIEvent_SimulationEnded.h.
References myReason.
Referenced by GUIApplicationWindow::handleEvent_SimulationEnded().
|
inline |
Returns the time step the simulation has ended at.
Definition at line 55 of file GUIEvent_SimulationEnded.h.
References myStep.
Referenced by GUIApplicationWindow::handleEvent_SimulationEnded().
|
protected |
The reason the simulation has ended.
Definition at line 70 of file GUIEvent_SimulationEnded.h.
Referenced by getReason().
|
protected |
The time step the simulation has ended at.
Definition at line 73 of file GUIEvent_SimulationEnded.h.
Referenced by getTimeStep().
|
protectedinherited |
the type of the event
Definition at line 102 of file GUIEvent.h.
Referenced by GUIEvent::getOwnType(), and GUIEvent_Message::GUIEvent_Message().