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

Data Fields

std::string foeIncomingLanes
std::string foeInternalLanes
int fromLane
 The lane the connections starts at.
bool haveVia
std::string id
bool mayDefinitelyPass
 Information about being definitely free to drive (on-ramps)
PositionVector shape
std::string tlID
 The id of the traffic light that controls this connection.
unsigned int tlLinkNo
 The index of this connection within the controlling traffic light.
NBEdge * toEdge
 The edge the connections yields in.
int toLane
 The lane the connections yields in.
std::string viaID
PositionVector viaShape
SUMOReal viaVmax
SUMOReal vmax

Detailed Description

A structure which describes a connection between edges or lanes.

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

NBEdge::Connection::~Connection ( )
inline

Definition at line 153 of file NBEdge.h.


Field Documentation

std::string NBEdge::Connection::foeIncomingLanes

Definition at line 180 of file NBEdge.h.

std::string NBEdge::Connection::foeInternalLanes

Definition at line 179 of file NBEdge.h.

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

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

Definition at line 167 of file NBEdge.h.

Referenced by NWWriter_SUMO::writeConnection().

PositionVector NBEdge::Connection::shape

Definition at line 171 of file NBEdge.h.

Referenced by 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 165 of file NBEdge.h.

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

std::string NBEdge::Connection::viaID

Definition at line 175 of file NBEdge.h.

Referenced by NWWriter_SUMO::writeInternalConnections().

PositionVector NBEdge::Connection::viaShape

Definition at line 177 of file NBEdge.h.

Referenced by NWWriter_OpenDrive::writeNetwork().

SUMOReal NBEdge::Connection::viaVmax

Definition at line 176 of file NBEdge.h.

SUMOReal NBEdge::Connection::vmax

Definition at line 172 of file NBEdge.h.


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