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