SUMO - Simulation of Urban MObility
MSGlobals Class Reference

#include <MSGlobals.h>

Collaboration diagram for MSGlobals:
Collaboration graph

Static Public Attributes

static bool gCheck4Accidents
 
static bool gCheckRoutes
 
static SUMOTime gIgnoreJunctionBlocker
 Information whether the simulation regards internal lanes. More...
 
static SUMOTime gLaneChangeDuration
 
static bool gMesoLimitedJunctionControl
 
static MELoopgMesoNet
 mesoscopic simulation infrastructure More...
 
static bool gMesoOvertaking
 
static SUMOReal gMesoTLSPenalty
 
static bool gOmitEmptyEdgesOnDump
 Information whether empty edges shall be written on dump. More...
 
static bool gStateLoaded
 Information whether a state has been loaded. More...
 
static SUMOTime gTimeToGridlock
 
static SUMOTime gTimeToGridlockHighways
 
static bool gUseMesoSim
 
static bool gUsingInternalLanes
 Information whether the simulation regards internal lanes. More...
 
static SUMOTime gWaitingTimeMemory
 length of memory for waiting times (in millisecs) More...
 

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 56 of file MSGlobals.h.

Field Documentation

bool MSGlobals::gCheck4Accidents
static

information whether the network shall check for collisions

Definition at line 75 of file MSGlobals.h.

Referenced by MSPModel_Striping::moveInDirectionOnLane(), MSFrame::setMSGlobals(), and MSNet::simulationStep().

bool MSGlobals::gCheckRoutes
static

information whether the routes shall be checked for connectivity

Definition at line 78 of file MSGlobals.h.

Referenced by GUILane::closeTraffic(), MSRouteHandler::closeVehicle(), MESegment::initialise(), MSEdge::insertVehicle(), MSRouteHandler::myStartElement(), and MSFrame::setMSGlobals().

SUMOTime MSGlobals::gIgnoreJunctionBlocker
static

Information whether the simulation regards internal lanes.

Definition at line 72 of file MSGlobals.h.

Referenced by MSFrame::setMSGlobals(), and MSLink::writeApproaching().

bool MSGlobals::gMesoLimitedJunctionControl
static

Information whether limited junction control shall be used

Definition at line 90 of file MSGlobals.h.

Referenced by MESegment::limitedControlOverride(), and MSFrame::setMSGlobals().

bool MSGlobals::gMesoOvertaking
static

Information whether overtaking is enabled in the mesoscopic simulation

Definition at line 93 of file MSGlobals.h.

Referenced by MESegment::overtake(), and MSFrame::setMSGlobals().

SUMOReal MSGlobals::gMesoTLSPenalty
static

scaling factor for macroscopic time penalty when passing tls controlled intersection

Definition at line 96 of file MSGlobals.h.

Referenced by MSTrafficLightLogic::init(), MSTrafficLightLogic::initMesoTLSPenalties(), and MSFrame::setMSGlobals().

bool MSGlobals::gOmitEmptyEdgesOnDump
static

Information whether empty edges shall be written on dump.

Definition at line 59 of file MSGlobals.h.

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

SUMOTime MSGlobals::gTimeToGridlock
static

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

Definition at line 63 of file MSGlobals.h.

Referenced by MELoop::checkCar(), MSLane::executeMovements(), MSBaseVehicle::getImpatience(), and MSFrame::setMSGlobals().

SUMOTime MSGlobals::gTimeToGridlockHighways
static

The time to detect grid locks on highways

Definition at line 66 of file MSGlobals.h.

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

SUMOTime MSGlobals::gWaitingTimeMemory
static

length of memory for waiting times (in millisecs)

Definition at line 102 of file MSGlobals.h.

Referenced by GUIVehicle::getParameterWindow(), and MSFrame::setMSGlobals().


The documentation for this class was generated from the following files: