SUMO - Simulation of Urban MObility

MSGlobals Class Reference

#include <MSGlobals.h>

Static Public Attributes

static bool gCheck4Accidents
static bool gCheckRoutes
static std::map< SUMOReal,
std::pair< unsigned int,
unsigned int > > 
gFractions
static bool gOmitEmptyEdgesOnDump
 Information whether empty edges shall be written on dump.
static SUMOTime gTimeToGridlock
static bool gUsingInternalLanes
 Information whether the simulation regards internal lanes.

Detailed Description

This class holds some static variables, filled mostly with values coming from the command line or the simulation configuration file. They are stored herein to allow a faster access than from the options container.

Definition at line 57 of file MSGlobals.h.


Field Documentation

information whether the network shall check for collisions

Definition at line 70 of file MSGlobals.h.

Referenced by MSVehicle::moveRegardingCritical(), MSFrame::setMSGlobals(), and MSNet::simulationStep().

information whether the routes shall be checked for connectivity

Definition at line 73 of file MSGlobals.h.

Referenced by MSVehicle::enterLaneAtInsertion(), and MSFrame::setMSGlobals().

std::map< SUMOReal, std::pair< unsigned int, unsigned int > > MSGlobals::gFractions [static]

some floating point values as fractions

Definition at line 76 of file MSGlobals.h.

Referenced by MSVehicleControl::isInQuota(), and MSFrame::setMSGlobals().

Information whether empty edges shall be written on dump.

Definition at line 60 of file MSGlobals.h.

Referenced by MSFrame::setMSGlobals(), and MSXMLRawOut::writeEdge().

Information how long the simulation shall wait until it recognizes a vehicle as a grid lock participant

Definition at line 64 of file MSGlobals.h.

Referenced by MSLane::setCritical(), and MSFrame::setMSGlobals().


The documentation for this class was generated from the following files:
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Friends Defines