SUMO - Simulation of Urban MObility
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
MSGlobals.h
Go to the documentation of this file.
1 /****************************************************************************/
9 // Some static variables for faster access
10 /****************************************************************************/
11 // SUMO, Simulation of Urban MObility; see http://sumo-sim.org/
12 // Copyright (C) 2001-2013 DLR (http://www.dlr.de/) and contributors
13 /****************************************************************************/
14 //
15 // This file is part of SUMO.
16 // SUMO is free software: you can redistribute it and/or modify
17 // it under the terms of the GNU General Public License as published by
18 // the Free Software Foundation, either version 3 of the License, or
19 // (at your option) any later version.
20 //
21 /****************************************************************************/
22 #ifndef MSGlobals_h
23 #define MSGlobals_h
24 
25 
26 // ===========================================================================
27 // included modules
28 // ===========================================================================
29 #ifdef _MSC_VER
30 #include <windows_config.h>
31 #else
32 #include <config.h>
33 #endif
34 
35 #include <map>
36 #include <utils/common/SUMOTime.h>
37 
38 
39 // ===========================================================================
40 // class declarations
41 // ===========================================================================
42 #ifdef HAVE_INTERNAL
43 class MELoop;
44 #endif
45 
46 
47 // ===========================================================================
48 // class definitions
49 // ===========================================================================
57 class MSGlobals {
58 public:
60  static bool gOmitEmptyEdgesOnDump;
61 
65 
68 
70  static bool gUsingInternalLanes;
71 
74 
76  static bool gCheck4Accidents;
77 
79  static bool gCheckRoutes;
80 
83 
85  static bool gStateLoaded;
86 
87 #ifdef HAVE_INTERNAL
88 
89  static bool gUseMesoSim;
90 
92  static bool gMesoLimitedJunctionControl;
93 
95  static MELoop* gMesoNet;
96 #else
97 
98  const static bool gUseMesoSim;
99 
100 #endif
101 
103  static bool gDebugFlag1;
104  static bool gDebugFlag2;
105 
106 };
107 
108 
109 #endif
110 
111 /****************************************************************************/
112 
static bool gOmitEmptyEdgesOnDump
Information whether empty edges shall be written on dump.
Definition: MSGlobals.h:60
static bool gDebugFlag1
global utility flags for debugging
Definition: MSGlobals.h:103
static bool gStateLoaded
Information whether a state has been loaded.
Definition: MSGlobals.h:85
static bool gCheck4Accidents
Definition: MSGlobals.h:76
static bool gDebugFlag2
Definition: MSGlobals.h:104
static bool gCheckRoutes
Definition: MSGlobals.h:79
static bool gUsingInternalLanes
Information whether the simulation regards internal lanes.
Definition: MSGlobals.h:70
static SUMOTime gTimeToGridlockHighways
Definition: MSGlobals.h:67
static SUMOTime gTimeToGridlock
Definition: MSGlobals.h:64
static SUMOTime gIgnoreJunctionBlocker
Information whether the simulation regards internal lanes.
Definition: MSGlobals.h:73
static const bool gUseMesoSim
Definition: MSGlobals.h:98
static SUMOTime gLaneChangeDuration
Definition: MSGlobals.h:82