SUMO - Simulation of Urban MObility
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
MSGlobals.cpp
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.dlr.de/
12 // Copyright (C) 2003-2015 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 
23 
24 // ===========================================================================
25 // included modules
26 // ===========================================================================
27 #ifdef _MSC_VER
28 #include <windows_config.h>
29 #else
30 #include <config.h>
31 #endif
32 
33 #include "MSGlobals.h"
34 
35 #ifdef CHECK_MEMORY_LEAKS
36 #include <foreign/nvwa/debug_new.h>
37 #endif // CHECK_MEMORY_LEAKS
38 
39 
40 // ===========================================================================
41 // static member variable definitions
42 // ===========================================================================
44 
47 
50 
52 
54 
56 
58 #ifdef HAVE_INTERNAL
60 bool MSGlobals::gMesoLimitedJunctionControl;
61 bool MSGlobals::gMesoOvertaking;
62 MELoop* MSGlobals::gMesoNet;
63 #else
64 const bool MSGlobals::gUseMesoSim = false;
65 #endif
66 
67 /****************************************************************************/
68 
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