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

An (internal) definition of a single lane of an edge. More...

#include <NBEdge.h>

Collaboration diagram for NBEdge::Lane:
Collaboration graph

Public Member Functions

 Lane (NBEdge *e, const std::string &_origID)
 constructor More...
 

Data Fields

bool accelRamp
 Whether this lane is an acceleration lane. More...
 
bool connectionsDone
 Whether connection information for this lane is already completed. More...
 
double endOffset
 This lane's offset to the intersection begin. More...
 
std::string oppositeID
 An opposite lane ID, if given. More...
 
std::string origID
 An original ID, if given. More...
 
SVCPermissions permissions
 List of vehicle types that are allowed on this lane. More...
 
SVCPermissions preferred
 List of vehicle types that are preferred on this lane. More...
 
PositionVector shape
 The lane's shape. More...
 
double speed
 The speed allowed on this lane. More...
 
double width
 This lane's width. More...
 

Detailed Description

An (internal) definition of a single lane of an edge.

Definition at line 124 of file NBEdge.h.

Constructor & Destructor Documentation

◆ Lane()

NBEdge::Lane::Lane ( NBEdge e,
const std::string &  _origID 
)

constructor

Definition at line 121 of file NBEdge.cpp.

Field Documentation

◆ accelRamp

bool NBEdge::Lane::accelRamp

Whether this lane is an acceleration lane.

Definition at line 153 of file NBEdge.h.

Referenced by GNELane::getAttribute(), NBEdge::getTypeID(), NWWriter_SUMO::writeEdge(), and NWWriter_XML::writeEdgesAndConnections().

◆ connectionsDone

bool NBEdge::Lane::connectionsDone

Whether connection information for this lane is already completed.

Definition at line 157 of file NBEdge.h.

Referenced by NBNode::computeLanes2Lanes(), NBNodeCont::joinNodeClusters(), and NIImporter_DlrNavteq::ConnectedLanesHandler::report().

◆ endOffset

double NBEdge::Lane::endOffset

This lane's offset to the intersection begin.

Definition at line 141 of file NBEdge.h.

Referenced by GNEEdge::addLane(), GNELane::getAttribute(), NWWriter_SUMO::writeEdge(), and NWWriter_XML::writeEdgesAndConnections().

◆ oppositeID

std::string NBEdge::Lane::oppositeID

◆ origID

std::string NBEdge::Lane::origID

An original ID, if given.

Definition at line 147 of file NBEdge.h.

Referenced by NIImporter_OpenDrive::loadNetwork(), and NWWriter_SUMO::writeEdge().

◆ permissions

◆ preferred

SVCPermissions NBEdge::Lane::preferred

List of vehicle types that are preferred on this lane.

Definition at line 138 of file NBEdge.h.

Referenced by GNEEdge::addLane(), NWWriter_SUMO::writeEdge(), NWWriter_XML::writeEdgesAndConnections(), and NWWriter_SUMO::writeInternalEdges().

◆ shape

◆ speed

double NBEdge::Lane::speed

◆ width


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