SUMO - Simulation of Urban MObility
NBEdge::Connection Struct Reference

A structure which describes a connection between edges or lanes. More...

#include <NBEdge.h>

Collaboration diagram for NBEdge::Connection:
Collaboration graph

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...
 
NBEdgetoEdge
 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
 

Detailed Description

A structure which describes a connection between edges or lanes.

Definition at line 150 of file NBEdge.h.

Constructor & Destructor Documentation

NBEdge::Connection::Connection ( int  fromLane_,
NBEdge toEdge_,
int  toLane_ 
)
inline

Constructor.

Parameters
[in]fromLane_The lane the connections starts at
[in]toEdge_The edge the connections yields in
[in]toLane_The lane the connections yields in

Definition at line 156 of file NBEdge.h.

NBEdge::Connection::~Connection ( )
inline

Definition at line 160 of file NBEdge.h.

Member Function Documentation

std::string NBEdge::Connection::getInternalLaneID ( ) const

Field Documentation

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().

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
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().

std::string NBEdge::Connection::origID

Definition at line 181 of file NBEdge.h.

PositionVector NBEdge::Connection::shape

Definition at line 184 of file NBEdge.h.

Referenced by NBEdge::buildInnerEdges(), and NBNode::computeInternalLaneShape().

std::string NBEdge::Connection::tlID
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().

std::string NBEdge::Connection::viaID
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().


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