Eclipse SUMO - Simulation of Urban MObility
GUIGlobals.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 /****************************************************************************/
16 // Some global variables (yep)
17 /****************************************************************************/
18 #ifndef GUIGlobals_h
19 #define GUIGlobals_h
20 
21 
22 // ===========================================================================
23 // included modules
24 // ===========================================================================
25 #include <config.h>
26 
27 #include <vector>
28 #include <utils/common/SUMOTime.h>
29 
30 
31 // ===========================================================================
32 // class definitions
33 // ===========================================================================
41 class GUIGlobals {
42 public:
44  static bool gRunAfterLoad;
45 
47  static bool gQuitOnEnd;
48 
50  static bool gDemoAutoReload;
51 
53  static double gTrackerInterval;
54 };
55 
56 #endif
57 
58 /****************************************************************************/
59 
SUMOTime.h
GUIGlobals
Definition: GUIGlobals.h:41
GUIGlobals::gQuitOnEnd
static bool gQuitOnEnd
the window shall be closed when the simulation has ended
Definition: GUIGlobals.h:47
GUIGlobals::gTrackerInterval
static double gTrackerInterval
the aggregation period for tracker windows in seconds
Definition: GUIGlobals.h:53
GUIGlobals::gDemoAutoReload
static bool gDemoAutoReload
the simulation shall reload when it has ended (demo)
Definition: GUIGlobals.h:50
config.h
GUIGlobals::gRunAfterLoad
static bool gRunAfterLoad
the simulation shall start direct after loading
Definition: GUIGlobals.h:44