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, SUMOReal _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 NBNode * node
 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...
 
SUMOReal 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

NBNode::Crossing::Crossing ( const NBNode *  _node,
const EdgeVector &  _edges,
SUMOReal  _width,
bool  _priority 
)
inline

constructor

Definition at line 137 of file NBNode.h.

Field Documentation

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

std::string NBNode::Crossing::nextWalkingArea

the lane-id of the next walkingArea

Definition at line 157 of file NBNode.h.

Referenced by NBNode::buildWalkingAreas().

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

std::string NBNode::Crossing::prevWalkingArea

the lane-id of the previous walkingArea

Definition at line 155 of file NBNode.h.

Referenced by NBNode::buildWalkingAreas().

bool NBNode::Crossing::priority
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().

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


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