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 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...
 
bool valid
 whether this crossing is valid (and can be written to the net.xml). This is needed for netedit because validity can only be checked during junction computation 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

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

std::string NBNode::Crossing::id

the (edge)-id of this crossing

Definition at line 154 of file NBNode.h.

Referenced by NBNode::buildWalkingAreas().

std::string NBNode::Crossing::nextWalkingArea

the lane-id of the next walkingArea

Definition at line 158 of file NBNode.h.

Referenced by NBNode::buildWalkingAreas().

const NBNode* NBNode::Crossing::node

The parent node of this crossing.

Definition at line 146 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 156 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 164 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 162 of file NBNode.h.

Referenced by NWWriter_SUMO::writeNetwork().

bool NBNode::Crossing::valid

whether this crossing is valid (and can be written to the net.xml). This is needed for netedit because validity can only be checked during junction computation

Definition at line 166 of file NBNode.h.

Referenced by NBNode::buildWalkingAreas(), and GNECrossing::drawGL().

double NBNode::Crossing::width

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