SUMO - Simulation of Urban MObility
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
NBEdge::Connection Struct Reference

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

std::string foeIncomingLanes
 
std::vector< unsigned int > foeInternalLinks
 
int fromLane
 The lane the connections starts at. More...
 
bool haveVia
 
std::string id
 
unsigned int internalLaneIndex
 The lane index of this internal lane within the internal edge. 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...
 
unsigned 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
 

Detailed Description

A structure which describes a connection between edges or lanes.

Definition at line 148 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 154 of file NBEdge.h.

NBEdge::Connection::~Connection ( )
inline

Definition at line 158 of file NBEdge.h.

Member Function Documentation

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

Definition at line 73 of file NBEdge.cpp.

References internalLaneIndex, and toString().

Referenced by NWWriter_SUMO::writeConnection(), and NWWriter_OpenDrive::writeNetwork().

Field Documentation

std::string NBEdge::Connection::foeIncomingLanes

Definition at line 187 of file NBEdge.h.

Referenced by NBEdge::buildInnerEdges().

std::vector<unsigned int> NBEdge::Connection::foeInternalLinks

Definition at line 186 of file NBEdge.h.

Referenced by NBEdge::buildInnerEdges().

bool NBEdge::Connection::haveVia
std::string NBEdge::Connection::id

Definition at line 177 of file NBEdge.h.

Referenced by NBEdge::buildInnerEdges(), and NWWriter_SUMO::writeInternalConnections().

unsigned int NBEdge::Connection::internalLaneIndex

The lane index of this internal lane within the internal edge.

Definition at line 190 of file NBEdge.h.

Referenced by NBEdge::buildInnerEdges(), getInternalLaneID(), and NWWriter_SUMO::writeInternalConnections().

bool NBEdge::Connection::mayDefinitelyPass

Information about being definitely free to drive (on-ramps)

Definition at line 172 of file NBEdge.h.

Referenced by NWWriter_SUMO::writeConnection().

std::string NBEdge::Connection::origID

Definition at line 175 of file NBEdge.h.

PositionVector NBEdge::Connection::shape

Definition at line 178 of file NBEdge.h.

Referenced by NBEdge::buildInnerEdges(), and NWWriter_OpenDrive::writeNetwork().

std::string NBEdge::Connection::tlID
unsigned int NBEdge::Connection::tlLinkNo

The index of this connection within the controlling traffic light.

Definition at line 170 of file NBEdge.h.

Referenced by NIXMLTrafficLightsHandler::addTlConnection(), NBEdge::setControllingTLInformation(), and NWWriter_SUMO::writeConnection().

std::string NBEdge::Connection::viaID

Definition at line 182 of file NBEdge.h.

Referenced by NBEdge::buildInnerEdges(), and NWWriter_SUMO::writeInternalConnections().

PositionVector NBEdge::Connection::viaShape

Definition at line 184 of file NBEdge.h.

Referenced by NBEdge::buildInnerEdges(), and NWWriter_OpenDrive::writeNetwork().

SUMOReal NBEdge::Connection::viaVmax

Definition at line 183 of file NBEdge.h.

Referenced by NBEdge::buildInnerEdges().

SUMOReal NBEdge::Connection::vmax

Definition at line 179 of file NBEdge.h.

Referenced by NBEdge::buildInnerEdges().


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