![]() |
SUMO - Simulation of Urban MObility
|
A structure which describes a connection between edges or lanes. More...
#include <NBEdge.h>
Public Member Functions | |
Connection (int fromLane_, NBEdge *toEdge_, int toLane_) | |
Constructor. More... | |
std::string | getInternalLaneID () const |
~Connection () | |
Data Fields | |
SUMOReal | contPos |
custom position for internal junction on this connection More... | |
std::string | foeIncomingLanes |
std::vector< int > | foeInternalLinks |
int | fromLane |
The lane the connections starts at. More... | |
bool | haveVia |
std::string | id |
int | internalLaneIndex |
The lane index of this internal lane within the internal edge. More... | |
bool | keepClear |
whether the junction must be kept clear when using this connection More... | |
bool | mayDefinitelyPass |
Information about being definitely free to drive (on-ramps) More... | |
std::string | origID |
PositionVector | shape |
std::string | tlID |
The id of the traffic light that controls this connection. More... | |
int | tlLinkNo |
The index of this connection within the controlling traffic light. More... | |
NBEdge * | toEdge |
The edge the connections yields in. More... | |
int | toLane |
The lane the connections yields in. More... | |
std::string | viaID |
PositionVector | viaShape |
SUMOReal | viaVmax |
SUMOReal | vmax |
A structure which describes a connection between edges or lanes.
|
inline |
std::string NBEdge::Connection::getInternalLaneID | ( | ) | const |
Definition at line 80 of file NBEdge.cpp.
References internalLaneIndex, and toString().
Referenced by NBNode::computeInternalLaneShape(), NWWriter_SUMO::getOppositeInternalID(), NWWriter_SUMO::writeConnection(), and NWWriter_OpenDrive::writeNetwork().
SUMOReal NBEdge::Connection::contPos |
custom position for internal junction on this connection
Definition at line 178 of file NBEdge.h.
Referenced by NBEdge::buildInnerEdges(), and NWWriter_SUMO::writeConnection().
std::string NBEdge::Connection::foeIncomingLanes |
Definition at line 193 of file NBEdge.h.
Referenced by NBEdge::buildInnerEdges().
std::vector<int> NBEdge::Connection::foeInternalLinks |
Definition at line 192 of file NBEdge.h.
Referenced by NBEdge::buildInnerEdges().
int NBEdge::Connection::fromLane |
The lane the connections starts at.
Definition at line 164 of file NBEdge.h.
Referenced by NBEdge::addRestrictedLane(), NIXMLTrafficLightsHandler::addTlConnection(), NBEdge::buildInnerEdges(), NBTrafficLightDefinition::collectAllLinks(), NBNode::computeInternalLaneShape(), NBNode::computeLanes2Lanes(), NBEdge::connections_sorter(), GNEConnection::getFromLane(), GNEConnection::getFromLaneIndex(), NWWriter_SUMO::getOppositeInternalID(), NBRequest::mergeConflict(), NBNode::needsCont(), NBEdge::connections_toedge_finder::operator()(), NBEdge::connections_toedgelane_finder::operator()(), NBEdge::connections_finder::operator()(), NBEdge::connections_conflict_finder::operator()(), NBEdge::connections_fromlane_finder::operator()(), NBEdge::recheckLanes(), NBEdge::removeFromConnections(), NWWriter_SUMO::writeConnection(), and NWWriter_OpenDrive::writeNetwork().
bool NBEdge::Connection::haveVia |
Definition at line 187 of file NBEdge.h.
Referenced by NBEdge::buildInnerEdges(), and NWWriter_SUMO::writeInternalConnections().
std::string NBEdge::Connection::id |
Definition at line 183 of file NBEdge.h.
Referenced by NBEdge::buildInnerEdges(), NBNode::computeInternalLaneShape(), and NWWriter_SUMO::writeInternalConnections().
int NBEdge::Connection::internalLaneIndex |
The lane index of this internal lane within the internal edge.
Definition at line 196 of file NBEdge.h.
Referenced by NBEdge::buildInnerEdges(), getInternalLaneID(), and NWWriter_SUMO::writeInternalConnections().
bool NBEdge::Connection::keepClear |
whether the junction must be kept clear when using this connection
Definition at line 176 of file NBEdge.h.
Referenced by NWWriter_SUMO::writeConnection().
bool NBEdge::Connection::mayDefinitelyPass |
Information about being definitely free to drive (on-ramps)
Definition at line 174 of file NBEdge.h.
Referenced by NBRequest::mergeConflict(), and NWWriter_SUMO::writeConnection().
PositionVector NBEdge::Connection::shape |
Definition at line 184 of file NBEdge.h.
Referenced by NBEdge::buildInnerEdges(), and NBNode::computeInternalLaneShape().
std::string NBEdge::Connection::tlID |
The id of the traffic light that controls this connection.
Definition at line 170 of file NBEdge.h.
Referenced by NIXMLTrafficLightsHandler::addTlConnection(), NBEdge::moveOutgoingConnectionsFrom(), NBNode::needsCont(), NBEdge::setControllingTLInformation(), and NWWriter_SUMO::writeConnection().
int NBEdge::Connection::tlLinkNo |
The index of this connection within the controlling traffic light.
Definition at line 172 of file NBEdge.h.
Referenced by NIXMLTrafficLightsHandler::addTlConnection(), NBEdge::setControllingTLInformation(), and NWWriter_SUMO::writeConnection().
NBEdge* NBEdge::Connection::toEdge |
The edge the connections yields in.
Definition at line 166 of file NBEdge.h.
Referenced by NIXMLTrafficLightsHandler::addTlConnection(), NIVissimTL::NIVissimTLSignal::addTo(), NBEdge::buildInnerEdges(), NBEdge::canMoveConnection(), NBTrafficLightDefinition::collectAllLinks(), NBLoadedTLDef::collectLinks(), NBNode::computeInternalLaneShape(), NBNode::computeLanes2Lanes(), NBEdge::connections_sorter(), NWWriter_SUMO::getOppositeInternalID(), NBRequest::mergeConflict(), NBEdge::moveConnectionToLeft(), NBEdge::moveConnectionToRight(), NBEdge::moveOutgoingConnectionsFrom(), NBNode::needsCont(), NBEdge::connections_toedge_finder::operator()(), NBEdge::connections_toedgelane_finder::operator()(), NBEdge::connections_finder::operator()(), NBEdge::connections_conflict_finder::operator()(), NBEdge::connections_relative_edgelane_sorter::operator()(), NBEdge::recheckLanes(), NBEdgeCont::recheckPostProcessConnections(), NBEdge::removeFromConnections(), NWWriter_SUMO::writeConnection(), NWWriter_SUMO::writeInternalConnections(), and NWWriter_OpenDrive::writeNetwork().
int NBEdge::Connection::toLane |
The lane the connections yields in.
Definition at line 168 of file NBEdge.h.
Referenced by NIXMLTrafficLightsHandler::addTlConnection(), NIVissimTL::NIVissimTLSignal::addTo(), NBEdge::buildInnerEdges(), NBEdge::canMoveConnection(), NBTrafficLightDefinition::collectAllLinks(), NBLoadedTLDef::collectLinks(), NBNode::computeInternalLaneShape(), NBNode::computeLanes2Lanes(), NBEdge::connections_sorter(), NWWriter_SUMO::getOppositeInternalID(), GNEConnection::getToLane(), GNEConnection::getToLaneIndex(), NBRequest::mergeConflict(), NBEdge::moveConnectionToLeft(), NBEdge::moveConnectionToRight(), NBEdge::moveOutgoingConnectionsFrom(), NBNode::needsCont(), NBEdge::connections_toedgelane_finder::operator()(), NBEdge::connections_finder::operator()(), NBEdge::connections_relative_edgelane_sorter::operator()(), NBEdge::recheckLanes(), NBEdge::removeFromConnections(), NWWriter_SUMO::writeConnection(), NWWriter_SUMO::writeInternalConnections(), and NWWriter_OpenDrive::writeNetwork().
std::string NBEdge::Connection::viaID |
Definition at line 188 of file NBEdge.h.
Referenced by NBEdge::buildInnerEdges(), NBNode::computeInternalLaneShape(), and NWWriter_SUMO::writeInternalConnections().
PositionVector NBEdge::Connection::viaShape |
Definition at line 190 of file NBEdge.h.
Referenced by NBEdge::buildInnerEdges(), and NBNode::computeInternalLaneShape().
SUMOReal NBEdge::Connection::viaVmax |
Definition at line 189 of file NBEdge.h.
Referenced by NBEdge::buildInnerEdges().
SUMOReal NBEdge::Connection::vmax |
Definition at line 185 of file NBEdge.h.
Referenced by NBEdge::buildInnerEdges().