Eclipse SUMO - Simulation of Urban MObility
Loading...
Searching...
No Matches
GUIEvent.h File Reference
Include dependency graph for GUIEvent.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

class  GUIEvent
 

Enumerations

enum class  GUIEventType {
  SIMULATION_LOADED , SIMULATION_STEP , MESSAGE_OCCURRED , WARNING_OCCURRED ,
  ERROR_OCCURRED , DEBUG_OCCURRED , GLDEBUG_OCCURRED , STATUS_OCCURRED ,
  ADD_VIEW , CLOSE_VIEW , SIMULATION_ENDED , OUTPUT_OCCURRED ,
  TOOL_ENDED , END
}
 

Detailed Description

Author
Daniel Krajzewicz
Date
Sept 2002

Definition in file GUIEvent.h.

Enumeration Type Documentation

◆ GUIEventType

enum class GUIEventType
strong

As events are distinguished by their number, here is the enumeration of our custom events

Enumerator
SIMULATION_LOADED 

send when a simulation has been loaded

SIMULATION_STEP 

send when a simulation step has been performed

MESSAGE_OCCURRED 

send when a message occured

WARNING_OCCURRED 

send when a warning occured

ERROR_OCCURRED 

send when a error occured

DEBUG_OCCURRED 

send when a debug occured

GLDEBUG_OCCURRED 

send when a gldebug occured

STATUS_OCCURRED 

send when a status change occured

ADD_VIEW 

Send when a new should be opened (via TraCI)

CLOSE_VIEW 

Send when a view should be closed (via TraCI)

SIMULATION_ENDED 

Send when the simulation is over;.

Note
The reason and the time step are stored within the event
OUTPUT_OCCURRED 

send when a tool produces output

TOOL_ENDED 

send when a tool finishes

END 

End of events list; use this to define new.

Definition at line 32 of file GUIEvent.h.