SUMO - Simulation of Urban MObility
GUIEvent.h
Go to the documentation of this file.
1 /****************************************************************************/
2 // Eclipse SUMO, Simulation of Urban MObility; see https://eclipse.org/sumo
3 // Copyright (C) 2001-2018 German Aerospace Center (DLR) and others.
4 // This program and the accompanying materials
5 // are made available under the terms of the Eclipse Public License v2.0
6 // which accompanies this distribution, and is available at
7 // http://www.eclipse.org/legal/epl-v20.html
8 // SPDX-License-Identifier: EPL-2.0
9 /****************************************************************************/
15 // Definition of an own event class
16 /****************************************************************************/
17 #ifndef GUIEvent_h
18 #define GUIEvent_h
19 
20 
21 // ===========================================================================
22 // included modules
23 // ===========================================================================
24 #include <config.h>
25 
28 #include <fx.h>
29 
30 
38 
41 
44 
47 
50 
53 
56 
59 
64 
69 
72 };
73 
74 
75 // ===========================================================================
76 // class definitions
77 // ===========================================================================
82 class GUIEvent {
83 public:
86  return myType;
87  }
88 
90  virtual ~GUIEvent() { }
91 
92 protected:
95  myType(ownType) { }
96 
99 };
100 
101 
102 #endif
103 
104 /****************************************************************************/
105 
GUIEvent(GUIEventType ownType)
constructor
Definition: GUIEvent.h:94
send when a warning occured
Definition: GUIEvent.h:46
GUIEventType myType
the type of the event
Definition: GUIEvent.h:98
send when a debug occured
Definition: GUIEvent.h:52
send when a status change occured
Definition: GUIEvent.h:58
Send when a screenshot is requested;.
Definition: GUIEvent.h:68
GUIEventType
Definition: GUIEvent.h:35
Send when the simulation is over;.
Definition: GUIEvent.h:63
send when a gldebug occured
Definition: GUIEvent.h:55
send when a message occured
Definition: GUIEvent.h:43
send when a error occured
Definition: GUIEvent.h:49
send when a simulation has been loaded
Definition: GUIEvent.h:37
End of events list; use this to define new.
Definition: GUIEvent.h:71
GUIEventType getOwnType() const
returns the event type
Definition: GUIEvent.h:85
send when a simulation step has been performed
Definition: GUIEvent.h:40
virtual ~GUIEvent()
destructor
Definition: GUIEvent.h:90