|
SUMO - Simulation of Urban MObility
|
#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. | |
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.
bool MSGlobals::gCheck4Accidents [static] |
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().
bool MSGlobals::gCheckRoutes [static] |
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().
bool MSGlobals::gOmitEmptyEdgesOnDump [static] |
Information whether empty edges shall be written on dump.
Definition at line 60 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 64 of file MSGlobals.h.
Referenced by MSLane::setCritical(), and MSFrame::setMSGlobals().
bool MSGlobals::gUsingInternalLanes [static] |
Information whether the simulation regards internal lanes.
Definition at line 67 of file MSGlobals.h.
Referenced by NLHandler::addConnection(), NLSucceedingLaneBuilder::addSuccLane(), NLHandler::beginEdgeParsing(), MSVehicle::checkRewindLinkLanes(), NLJunctionControlBuilder::closeJunction(), NLHandler::openJunction(), NLHandler::openSucc(), NLHandler::parseLanes(), MSRightOfWayJunction::postloadInit(), and MSFrame::setMSGlobals().