SUMO - Simulation of Urban MObility
MSGlobals.cpp
Go to the documentation of this file.
00001 /****************************************************************************/
00008 // Some static variables for faster access
00009 /****************************************************************************/
00010 // SUMO, Simulation of Urban MObility; see http://sumo.sourceforge.net/
00011 // Copyright (C) 2001-2012 DLR (http://www.dlr.de/) and contributors
00012 /****************************************************************************/
00013 //
00014 //   This file is part of SUMO.
00015 //   SUMO is free software: you can redistribute it and/or modify
00016 //   it under the terms of the GNU General Public License as published by
00017 //   the Free Software Foundation, either version 3 of the License, or
00018 //   (at your option) any later version.
00019 //
00020 /****************************************************************************/
00021 
00022 
00023 // ===========================================================================
00024 // included modules
00025 // ===========================================================================
00026 #ifdef _MSC_VER
00027 #include <windows_config.h>
00028 #else
00029 #include <config.h>
00030 #endif
00031 
00032 #include "MSGlobals.h"
00033 
00034 #ifdef CHECK_MEMORY_LEAKS
00035 #include <foreign/nvwa/debug_new.h>
00036 #endif // CHECK_MEMORY_LEAKS
00037 
00038 
00039 // ===========================================================================
00040 // static member variable definitions
00041 // ===========================================================================
00042 bool MSGlobals::gOmitEmptyEdgesOnDump;
00043 
00044 bool MSGlobals::gUsingInternalLanes;
00045 
00046 SUMOTime MSGlobals::gTimeToGridlock;
00047 
00048 bool MSGlobals::gCheck4Accidents;
00049 
00050 bool MSGlobals::gCheckRoutes;
00051 
00052 #ifdef HAVE_MESOSIM
00053 bool MSGlobals::gStateLoaded;
00054 bool MSGlobals::gUseMesoSim;
00055 MELoop* MSGlobals::gMesoNet;
00056 #else
00057 const bool MSGlobals::gUseMesoSim = false;
00058 #endif
00059 
00060 
00061 /****************************************************************************/
00062 
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Friends Defines