|
SUMO - Simulation of Urban MObility
|
A single lane the router may use. More...
#include <ROLane.h>
Public Member Functions | |
| const SUMOVehicleClasses & | getAllowedClasses () const |
| Returns the list of allowed vehicle classes. | |
| const std::string & | getID () const |
| Returns the id. | |
| SUMOReal | getLength () const |
| Returns the length of the lane. | |
| const SUMOVehicleClasses & | getNotAllowedClasses () const |
| Returns the list of not allowed vehicle classes. | |
| SUMOReal | getSpeed () const |
| Returns the maximum speed allowed on this lane. | |
| ROLane (const std::string &id, SUMOReal length, SUMOReal maxSpeed, const SUMOVehicleClasses &allowed, const SUMOVehicleClasses &disallowed) | |
| Constructor. | |
| void | setID (const std::string &newID) |
| resets the id | |
| ~ROLane () | |
| Destructor. | |
Protected Attributes | |
| std::string | myID |
| The name of the object. | |
Private Member Functions | |
| ROLane & | operator= (const ROLane &src) |
| Invalidated assignment operator. | |
| ROLane (const ROLane &src) | |
| Invalidated copy constructor. | |
Private Attributes | |
| SUMOVehicleClasses | myAllowedClasses |
| The list of allowed vehicle classes. | |
| SUMOReal | myLength |
| The length of the lane. | |
| SUMOReal | myMaxSpeed |
| The maximum speed allowed on the lane. | |
| SUMOVehicleClasses | myNotAllowedClasses |
| The list of disallowed vehicle classes. | |
A single lane the router may use.
Currently, the lane has no other purpose then storing the allowed vehicle classes. They are even only stored herein and used by computing the vehicle classes allowed on the according edge.
| ROLane::ROLane | ( | const std::string & | id, |
| SUMOReal | length, | ||
| SUMOReal | maxSpeed, | ||
| const SUMOVehicleClasses & | allowed, | ||
| const SUMOVehicleClasses & | disallowed | ||
| ) | [inline] |
| ROLane::ROLane | ( | const ROLane & | src | ) | [private] |
Invalidated copy constructor.
| const SUMOVehicleClasses& ROLane::getAllowedClasses | ( | ) | const [inline] |
Returns the list of allowed vehicle classes.
Definition at line 92 of file ROLane.h.
References myAllowedClasses.
Referenced by ROEdge::addLane().
| const std::string& Named::getID | ( | ) | const [inline, inherited] |
Returns the id.
Reimplemented in MS_E2_ZS_CollectorOverLanes.
Definition at line 61 of file Named.h.
References Named::myID.
Referenced by ShapeContainer::add(), MSDetectorControl::add(), RORouteDef_Alternatives::addAlternative(), MSNet::addBusStop(), NLHandler::addConnection(), NBLoadedSUMOTLDef::addConnection(), NIImporter_OpenDrive::addE2EConnectionsSecure(), RONet::addNode(), NIImporter_SUMO::addPhase(), RONet::addRouteDef(), NBDistrict::addSink(), NBDistrict::addSource(), MSRouteHandler::addStop(), NIXMLTrafficLightsHandler::addTlConnection(), NIVissimDisturbance::addToNode(), MSVehicle::addTraciStop(), NIVisumTL::build(), MS_E2_ZS_CollectorOverLanes::buildCollector(), RORouteDef_Complete::buildCurrentRoute(), NIImporter_VISUM::buildDistrictNode(), NIVissimConnection::buildEdgeConnections(), NBEdge::buildInnerEdges(), NIVissimEdge::buildNBEdge(), NBNodeCont::buildOffRamp(), NBNodeCont::buildOnRamp(), ODDistrictHandler::closeDistrict(), NBTrafficLightDefinition::collectEdges(), NBOwnTLDef::collectLinks(), NBTrafficLightDefinition::compute(), NBNode::computeInternalLaneShape(), NBEdge::computeLaneShapes(), NBNode::computeLogic(), NBNode::computeNodeShape(), NBTrafficLightLogicCont::computeSingleLogic(), NBEdge::connections_sorter(), MSLane::detectCollisions(), NIVissimDistrictConnection::dict_BuildDistricts(), MSE3Collector::enter(), MSVTypeProbe::execute(), Command_SaveTLSSwitches::execute(), NBTrafficLightLogicCont::extract(), NBNodeCont::extract(), NBEdgeCont::extract(), MSNet::getBusStopID(), NIImporter_VISUM::getNamedEdgeContinuating(), NLTriggerBuilder::getPosition(), NBNode::getPossiblySplittedIncoming(), NBNode::getPossiblySplittedOutgoing(), NIImporter_VISUM::getReversedContinuating(), NBEdgeCont::ignoreFilterMatch(), MSUnboundActuatedTrafficLightLogic::init(), MSAgentbasedTrafficLightLogic::init(), MSActuatedTrafficLightLogic::init(), NIXMLTrafficLightsHandler::initTrafficLightLogic(), NIImporter_SUMO::initTrafficLightLogic(), NBTrafficLightLogicCont::insert(), NBNodeCont::insert(), NBEdgeCont::insert(), NBDistrictCont::insert(), NBNodeCont::joinJunctions(), NBEdgeCont::joinSameNodeConnectingEdges(), MSE3Collector::leave(), NIImporter_OpenDrive::loadNetwork(), MSLane::moveCritical(), MSVehicle::MSVehicle(), RORDLoader_SUMOBase::myCharacters(), NBOwnTLDef::myCompute(), NBLoadedTLDef::myCompute(), NIXMLTrafficLightsHandler::myEndElement(), NIXMLEdgesHandler::myEndElement(), NIImporter_SUMO::myEndElement(), NIXMLConnectionsHandler::myStartElement(), MSTriggeredRerouter::myStartElement(), MSLaneSpeedTrigger::myStartElement(), NBConnection::NBConnection(), NBRequest::NBRequest(), MSDevice_Tripinfo::notifyEnter(), MSDevice_Tripinfo::notifyLeave(), NBOwnTLDef::edge_by_incoming_priority_sorter::operator()(), NBNode::nodes_by_id_sorter::operator()(), NBNetBuilder::by_id_sorter::operator()(), NBContHelper::same_connection_edge_sorter::operator()(), Named::ComparatorIdLess::operator()(), NIImporter_VISUM::parse_EdgePolys(), NIImporter_VISUM::parse_Lanes(), NIImporter_VISUM::parse_LanesConnections(), NIImporter_VISUM::parse_Turns(), NIImporter_VISUM::parse_TurnsToSignalGroups(), NIXMLConnectionsHandler::parseDeprecatedLaneDefinition(), NIXMLConnectionsHandler::parseLaneBound(), NBLoadedTLDef::SignalGroup::patchTYellow(), TraCIServerAPI_Vehicle::processGet(), TraCIServerAPI_TLS::processGet(), TraCIServerAPI_Lane::processGet(), TraCIServerAPI_InductionLoop::processGet(), NWWriter_SUMO::prohibitionConnection(), NBLoadedTLDef::SignalGroup::remapIncoming(), NBLoadedTLDef::SignalGroup::remapOutgoing(), NBLoadedSUMOTLDef::removeConnection(), NBNode::removeSelfLoops(), NBEdgeCont::removeUnwishedEdges(), NBNodeCont::removeUnwishedNodes(), NBConnection::replaceFrom(), MSBaseVehicle::replaceRouteEdges(), NBConnection::replaceTo(), NIXMLTrafficLightsHandler::retrieveLaneIndex(), NBNodeCont::setAsTLControlled(), NBEdge::setControllingTLInformation(), MSLane::setCritical(), NIXMLEdgesHandler::setNodes(), NBOwnTLDef::setTLControllingInformation(), NBLoadedTLDef::setTLControllingInformation(), NBLoadedSUMOTLDef::setTLControllingInformation(), NBEdgeCont::splitAt(), RORDLoader_SUMOBase::startRoute(), NBEdge::startShapeAt(), NIXMLConnectionsHandler::validateLaneInfo(), MSInstantInductLoop::write(), NWWriter_SUMO::writeConnection(), NWWriter_SUMO::writeDistrict(), NWWriter_SUMO::writeEdge(), MSMeanData::writeEdge(), NWWriter_XML::writeEdgesAndConnections(), NWWriter_SUMO::writeInternalConnections(), NWWriter_SUMO::writeJunction(), NWWriter_OpenDrive::writeNetwork(), NWWriter_XML::writeNodes(), MSInductLoop::writeTypedXMLOutput(), MSRouteProbe::writeXMLOutput(), and MSE2Collector::writeXMLOutput().
| SUMOReal ROLane::getLength | ( | ) | const [inline] |
Returns the length of the lane.
Definition at line 76 of file ROLane.h.
References myLength.
Referenced by ROEdge::addLane().
| const SUMOVehicleClasses& ROLane::getNotAllowedClasses | ( | ) | const [inline] |
Returns the list of not allowed vehicle classes.
Definition at line 100 of file ROLane.h.
References myNotAllowedClasses.
Referenced by ROEdge::addLane().
| SUMOReal ROLane::getSpeed | ( | ) | const [inline] |
Returns the maximum speed allowed on this lane.
Definition at line 84 of file ROLane.h.
References myMaxSpeed.
Referenced by ROEdge::addLane().
| void Named::setID | ( | const std::string & | newID | ) | [inline, inherited] |
SUMOVehicleClasses ROLane::myAllowedClasses [private] |
The list of allowed vehicle classes.
Definition at line 113 of file ROLane.h.
Referenced by getAllowedClasses().
std::string Named::myID [protected, inherited] |
The name of the object.
Reimplemented in MS_E2_ZS_CollectorOverLanes.
Definition at line 83 of file Named.h.
Referenced by NLDetectorBuilder::addE3Entry(), NLDetectorBuilder::addE3Exit(), RORouteDef_OrigDest::buildCurrentRoute(), RORouteDef_Complete::buildCurrentRoute(), RORouteDef_Alternatives::buildCurrentRoute(), NBEdge::computeEdgeShape(), Named::getID(), NBEdge::getLaneID(), NBEdge::init(), MSRoute::release(), Named::setID(), NBEdge::splitGeometry(), MSXMLRawOut::writeLane(), NBNode::writeLogic(), MSMeanData::writeXMLOutput(), and MSE3Collector::writeXMLOutput().
SUMOReal ROLane::myLength [private] |
SUMOReal ROLane::myMaxSpeed [private] |
The maximum speed allowed on the lane.
Definition at line 110 of file ROLane.h.
Referenced by getSpeed().
The list of disallowed vehicle classes.
Definition at line 116 of file ROLane.h.
Referenced by getNotAllowedClasses().