1 /****************************************************************************/
2 // Eclipse SUMO, Simulation of Urban MObility; see https://eclipse.org/sumo
3 // Copyright (C) 2003-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 /****************************************************************************/
10 /// @file    MSGlobals.cpp
11 /// @author  Daniel Krajzewicz
12 /// @author  Michael Behrisch
13 /// @author  Jakob Erdmann
14 /// @date    late summer 2003
15 /// @version $Id$
16 ///
17 // Some static variables for faster access
18 /****************************************************************************/
19 
20 
21 // ===========================================================================
22 // included modules
23 // ===========================================================================
24 #include <config.h>
25 
26 #include "MSGlobals.h"
27 
28 
29 // ===========================================================================
30 // static member variable definitions
31 // ===========================================================================
32 bool MSGlobals::gOmitEmptyEdgesOnDump;
33 
34 bool MSGlobals::gUsingInternalLanes;
35 SUMOTime MSGlobals::gIgnoreJunctionBlocker;
36 
37 SUMOTime MSGlobals::gTimeToGridlock;
38 SUMOTime MSGlobals::gTimeToGridlockHighways;
39 SUMOTime MSGlobals::gTimeToImpatience;
40 
41 bool MSGlobals::gCheck4Accidents;
42 
43 bool MSGlobals::gCheckRoutes;
44 
45 SUMOTime MSGlobals::gLaneChangeDuration;
46 
47 double MSGlobals::gLateralResolution;
48 
49 bool MSGlobals::gStateLoaded;
50 bool MSGlobals::gUseMesoSim;
51 bool MSGlobals::gMesoLimitedJunctionControl;
52 bool MSGlobals::gMesoOvertaking;
53 double MSGlobals::gMesoTLSPenalty;
54 SUMOTime MSGlobals::gMesoMinorPenalty;
55 MELoop* MSGlobals::gMesoNet;
56 
57 bool MSGlobals::gSemiImplicitEulerUpdate;
58 
59 SUMOTime MSGlobals::gWaitingTimeMemory;
60 
61 SUMOTime MSGlobals::gActionStepLength;
62 
63 double MSGlobals::gDefaultEmergencyDecel(-1); // default for unitTest
64 
65 bool MSGlobals::gUnitTests(false);
66 
67 bool MSGlobals::gComputeLC;
68 
69 int MSGlobals::gNumSimThreads;
70 
71 double MSGlobals::gEmergencyDecelWarningThreshold(1);
72 
73 double MSGlobals::gMinorPenalty(0);
74 /****************************************************************************/
75 
76