SUMO - Simulation of Urban MObility
GUIEvent.h File Reference
#include <config.h>
#include <utils/foxtools/FXThreadEvent.h>
#include <utils/foxtools/FXBaseObject.h>
#include <fx.h>
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  GUIEventType {
  EVENT_SIMULATION_LOADED, EVENT_SIMULATION_STEP, EVENT_MESSAGE_OCCURED, EVENT_WARNING_OCCURED,
  EVENT_ERROR_OCCURED, EVENT_SIMULATION_ENDED, EVENT_SCREENSHOT, EVENT_END
}
 

Detailed Description

Author
Daniel Krajzewicz
Date
Sept 2002
Version
Id
GUIEvent.h 18724 2015-08-25 21:00:09Z behrisch

Definition in file GUIEvent.h.

Enumeration Type Documentation

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

Enumerator
EVENT_SIMULATION_LOADED 

send when a simulation has been loaded

EVENT_SIMULATION_STEP 

send when a simulation step has been performed

EVENT_MESSAGE_OCCURED 

send when a message occured

EVENT_WARNING_OCCURED 

send when a warning occured

EVENT_ERROR_OCCURED 

send when a error occured

EVENT_SIMULATION_ENDED 

Send when the simulation is over; The reason and the time step are stored within the event.

EVENT_SCREENSHOT 

Send when a screenshot is requested; View and file name are stored within the event.

EVENT_END 

End of events list; use this to define new.

Definition at line 42 of file GUIEvent.h.