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-2016 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 class MELoop;
44 
45 
46 // ===========================================================================
47 // class definitions
48 // ===========================================================================
56 class MSGlobals {
57 public:
59  static bool gOmitEmptyEdgesOnDump;
60 
64 
67 
69  static bool gUsingInternalLanes;
70 
73 
75  static bool gCheck4Accidents;
76 
78  static bool gCheckRoutes;
79 
82 
85 
87  static bool gStateLoaded;
88 
90  static bool gUseMesoSim;
91 
94 
96  static bool gMesoOvertaking;
97 
100 
102  static MELoop* gMesoNet;
103 
106 
107 };
108 
109 
110 #endif
111 
112 /****************************************************************************/
113 
static bool gOmitEmptyEdgesOnDump
Information whether empty edges shall be written on dump.
Definition: MSGlobals.h:59
long long int SUMOTime
Definition: SUMOTime.h:43
static bool gStateLoaded
Information whether a state has been loaded.
Definition: MSGlobals.h:87
static bool gMesoOvertaking
Definition: MSGlobals.h:96
static bool gCheck4Accidents
Definition: MSGlobals.h:75
The main mesocopic simulation loop.
Definition: MELoop.h:56
static bool gCheckRoutes
Definition: MSGlobals.h:78
static bool gUsingInternalLanes
Information whether the simulation regards internal lanes.
Definition: MSGlobals.h:69
static SUMOTime gTimeToGridlockHighways
Definition: MSGlobals.h:66
static SUMOReal gLateralResolution
Definition: MSGlobals.h:84
static MELoop * gMesoNet
mesoscopic simulation infrastructure
Definition: MSGlobals.h:102
static SUMOTime gTimeToGridlock
Definition: MSGlobals.h:63
static SUMOTime gWaitingTimeMemory
length of memory for waiting times (in millisecs)
Definition: MSGlobals.h:105
static SUMOTime gIgnoreJunctionBlocker
Information whether the simulation regards internal lanes.
Definition: MSGlobals.h:72
#define SUMOReal
Definition: config.h:213
static SUMOReal gMesoTLSPenalty
Definition: MSGlobals.h:99
static SUMOTime gLaneChangeDuration
Definition: MSGlobals.h:81
static bool gUseMesoSim
Definition: MSGlobals.h:90
static bool gMesoLimitedJunctionControl
Definition: MSGlobals.h:93