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...
 
PositionVector customShape
 A custom shape for this lane set by the user. 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 122 of file NBEdge.h.

Constructor & Destructor Documentation

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

constructor

Definition at line 122 of file NBEdge.cpp.

Field Documentation

bool NBEdge::Lane::accelRamp

Whether this lane is an acceleration lane.

Definition at line 151 of file NBEdge.h.

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

bool NBEdge::Lane::connectionsDone

Whether connection information for this lane is already completed.

Definition at line 155 of file NBEdge.h.

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

PositionVector NBEdge::Lane::customShape

A custom shape for this lane set by the user.

Definition at line 158 of file NBEdge.h.

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

double NBEdge::Lane::endOffset

This lane's offset to the intersection begin.

Definition at line 139 of file NBEdge.h.

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

std::string NBEdge::Lane::oppositeID
std::string NBEdge::Lane::origID

An original ID, if given.

Definition at line 145 of file NBEdge.h.

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

SVCPermissions NBEdge::Lane::preferred

List of vehicle types that are preferred on this lane.

Definition at line 136 of file NBEdge.h.

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

double NBEdge::Lane::speed

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