Eclipse 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-2019 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 
67 };
68 
69 
70 // ===========================================================================
71 // class definitions
72 // ===========================================================================
77 class GUIEvent {
78 public:
81  return myType;
82  }
83 
85  virtual ~GUIEvent() { }
86 
87 protected:
90  myType(ownType) { }
91 
94 };
95 
96 
97 #endif
98 
99 /****************************************************************************/
100 
GUIEvent(GUIEventType ownType)
constructor
Definition: GUIEvent.h:89
send when a warning occured
Definition: GUIEvent.h:46
GUIEventType myType
the type of the event
Definition: GUIEvent.h:93
send when a debug occured
Definition: GUIEvent.h:52
send when a status change occured
Definition: GUIEvent.h:58
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:66
GUIEventType getOwnType() const
returns the event type
Definition: GUIEvent.h:80
send when a simulation step has been performed
Definition: GUIEvent.h:40
virtual ~GUIEvent()
destructor
Definition: GUIEvent.h:85