SUMO - Simulation of Urban MObility
MSGlobals.h
Go to the documentation of this file.
1 /****************************************************************************/
10 // Some static variables for faster access
11 /****************************************************************************/
12 // SUMO, Simulation of Urban MObility; see http://sumo.dlr.de/
13 // Copyright (C) 2003-2015 DLR (http://www.dlr.de/) and contributors
14 /****************************************************************************/
15 //
16 // This file is part of SUMO.
17 // SUMO is free software: you can redistribute it and/or modify
18 // it under the terms of the GNU General Public License as published by
19 // the Free Software Foundation, either version 3 of the License, or
20 // (at your option) any later version.
21 //
22 /****************************************************************************/
23 #ifndef MSGlobals_h
24 #define MSGlobals_h
25 
26 
27 // ===========================================================================
28 // included modules
29 // ===========================================================================
30 #ifdef _MSC_VER
31 #include <windows_config.h>
32 #else
33 #include <config.h>
34 #endif
35 
36 #include <map>
37 #include <utils/common/SUMOTime.h>
38 
39 
40 // ===========================================================================
41 // class declarations
42 // ===========================================================================
43 #ifdef HAVE_INTERNAL
44 class MELoop;
45 #endif
46 
47 
48 // ===========================================================================
49 // class definitions
50 // ===========================================================================
58 class MSGlobals {
59 public:
61  static bool gOmitEmptyEdgesOnDump;
62 
66 
69 
71  static bool gUsingInternalLanes;
72 
75 
77  static bool gCheck4Accidents;
78 
80  static bool gCheckRoutes;
81 
84 
86  static bool gStateLoaded;
87 
88 #ifdef HAVE_INTERNAL
89 
90  static bool gUseMesoSim;
91 
93  static bool gMesoLimitedJunctionControl;
94 
96  static bool gMesoOvertaking;
97 
99  static MELoop* gMesoNet;
100 #else
101 
102  const static bool gUseMesoSim;
103 
104 #endif
105 
106 };
107 
108 
109 #endif
110 
111 /****************************************************************************/
112 
static bool gOmitEmptyEdgesOnDump
Information whether empty edges shall be written on dump.
Definition: MSGlobals.h:61
static bool gStateLoaded
Information whether a state has been loaded.
Definition: MSGlobals.h:86
static bool gCheck4Accidents
Definition: MSGlobals.h:77
static bool gCheckRoutes
Definition: MSGlobals.h:80
static bool gUsingInternalLanes
Information whether the simulation regards internal lanes.
Definition: MSGlobals.h:71
static SUMOTime gTimeToGridlockHighways
Definition: MSGlobals.h:68
int SUMOTime
Definition: SUMOTime.h:43
static SUMOTime gTimeToGridlock
Definition: MSGlobals.h:65
static SUMOTime gIgnoreJunctionBlocker
Information whether the simulation regards internal lanes.
Definition: MSGlobals.h:74
static const bool gUseMesoSim
Definition: MSGlobals.h:102
static SUMOTime gLaneChangeDuration
Definition: MSGlobals.h:83