SUMO - Simulation of Urban MObility
NBEdgeCont::Split Struct Reference

A structure which describes changes of lane number or speed along the road. More...

#include <NBEdgeCont.h>

Collaboration diagram for NBEdgeCont::Split:
Collaboration graph

Public Member Functions

 Split ()
 

Data Fields

std::string idAfter
 The id for the edge after the split. More...
 
std::string idBefore
 The id for the edge before the split. More...
 
std::vector< int > lanes
 The lanes after this change. More...
 
std::string nameID
 the default node id More...
 
NBNodenode
 The new node that is created for this split. More...
 
double offset
 lateral offset to edge geometry More...
 
int offsetFactor
 direction in which to apply the offset (used by netgenerate for lefthand networks) More...
 
double pos
 The position of this change. More...
 
double speed
 The speed after this change. More...
 

Detailed Description

A structure which describes changes of lane number or speed along the road.

Definition at line 206 of file NBEdgeCont.h.

Constructor & Destructor Documentation

◆ Split()

NBEdgeCont::Split::Split ( )
inline

Definition at line 207 of file NBEdgeCont.h.

Field Documentation

◆ idAfter

std::string NBEdgeCont::Split::idAfter

The id for the edge after the split.

Definition at line 219 of file NBEdgeCont.h.

Referenced by NIXMLEdgesHandler::addSplit(), NBEdgeCont::processSplits(), and NGNet::toNB().

◆ idBefore

std::string NBEdgeCont::Split::idBefore

The id for the edge before the split.

Definition at line 217 of file NBEdgeCont.h.

Referenced by NIXMLEdgesHandler::addSplit(), NBEdgeCont::processSplits(), and NGNet::toNB().

◆ lanes

std::vector<int> NBEdgeCont::Split::lanes

The lanes after this change.

Definition at line 209 of file NBEdgeCont.h.

Referenced by NIXMLEdgesHandler::addSplit(), NBEdgeCont::processSplits(), and NGNet::toNB().

◆ nameID

std::string NBEdgeCont::Split::nameID

the default node id

Definition at line 221 of file NBEdgeCont.h.

Referenced by NIXMLEdgesHandler::addSplit(), and NBEdgeCont::processSplits().

◆ node

NBNode* NBEdgeCont::Split::node

The new node that is created for this split.

Definition at line 215 of file NBEdgeCont.h.

Referenced by NIXMLEdgesHandler::addSplit(), NBEdgeCont::processSplits(), and NGNet::toNB().

◆ offset

double NBEdgeCont::Split::offset

lateral offset to edge geometry

Definition at line 223 of file NBEdgeCont.h.

Referenced by NBEdgeCont::processSplits(), and NGNet::toNB().

◆ offsetFactor

int NBEdgeCont::Split::offsetFactor

direction in which to apply the offset (used by netgenerate for lefthand networks)

Definition at line 225 of file NBEdgeCont.h.

Referenced by NBEdgeCont::processSplits(), and NGNet::toNB().

◆ pos

double NBEdgeCont::Split::pos

◆ speed

double NBEdgeCont::Split::speed

The speed after this change.

Definition at line 213 of file NBEdgeCont.h.

Referenced by NIXMLEdgesHandler::addSplit(), NBEdgeCont::processSplits(), NGNet::toNB(), and NBEdgeCont::wasRemoved().


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