SUMO - Simulation of Urban MObility
NBNode::Crossing Struct Reference

A definition of a pedestrian crossing. More...

#include <NBNode.h>

Collaboration diagram for NBNode::Crossing:
Collaboration graph

Public Member Functions

 Crossing (const NBNode *_node, const EdgeVector &_edges, double _width, bool _priority)
 constructor More...
 

Data Fields

EdgeVector edges
 The edges being crossed. More...
 
std::string id
 the (edge)-id of this crossing More...
 
std::string nextWalkingArea
 the lane-id of the next walkingArea More...
 
const NBNodenode
 The parent node of this crossing. More...
 
std::string prevWalkingArea
 the lane-id of the previous walkingArea More...
 
bool priority
 whether the pedestrians have priority More...
 
PositionVector shape
 The lane's shape. More...
 
std::string tlID
 The id of the traffic light that controls this connection. More...
 
int tlLinkNo
 the traffic light index of this crossing (if controlled) More...
 
double width
 This lane's width. More...
 

Detailed Description

A definition of a pedestrian crossing.

Definition at line 135 of file NBNode.h.

Constructor & Destructor Documentation

◆ Crossing()

NBNode::Crossing::Crossing ( const NBNode _node,
const EdgeVector _edges,
double  _width,
bool  _priority 
)
inline

constructor

Definition at line 137 of file NBNode.h.

Field Documentation

◆ edges

◆ id

std::string NBNode::Crossing::id

the (edge)-id of this crossing

Definition at line 153 of file NBNode.h.

Referenced by GNETLSEditorFrame::buildIinternalLanes(), and NBNode::buildWalkingAreas().

◆ nextWalkingArea

std::string NBNode::Crossing::nextWalkingArea

the lane-id of the next walkingArea

Definition at line 157 of file NBNode.h.

Referenced by NBNode::buildWalkingAreas().

◆ node

const NBNode* NBNode::Crossing::node

The parent node of this crossing.

Definition at line 145 of file NBNode.h.

Referenced by NBOwnTLDef::hasCrossing(), and NBOwnTLDef::patchStateForCrossings().

◆ prevWalkingArea

std::string NBNode::Crossing::prevWalkingArea

the lane-id of the previous walkingArea

Definition at line 155 of file NBNode.h.

Referenced by NBNode::buildWalkingAreas().

◆ priority

bool NBNode::Crossing::priority

◆ shape

◆ tlID

std::string NBNode::Crossing::tlID

The id of the traffic light that controls this connection.

Definition at line 163 of file NBNode.h.

Referenced by NWWriter_SUMO::writeNetwork().

◆ tlLinkNo

int NBNode::Crossing::tlLinkNo

the traffic light index of this crossing (if controlled)

Definition at line 161 of file NBNode.h.

Referenced by GNETLSEditorFrame::buildIinternalLanes(), and NWWriter_SUMO::writeNetwork().

◆ width

double NBNode::Crossing::width

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