Eclipse SUMO - Simulation of Urban MObility
GNEPathElements::PathElement Class Reference

path element More...

#include <GNEPathElements.h>

Collaboration diagram for GNEPathElements::PathElement:

Public Member Functions

GNEJunctiongetJunction () const
 get junction More...
 
GNELanegetLane () const
 get lane More...
 
GNELanegetNextLane () const
 get next lane More...
 
 PathElement (GNELane *lane)
 constructor for lanes More...
 
void updateNextLane (GNELane *lane)
 update nextLane More...
 

Protected Attributes

GNELanemyLane
 lane More...
 
GNELanemyNextLane
 nextLane More...
 

Private Member Functions

 PathElement ()
 default constructor More...
 

Detailed Description

path element

Definition at line 48 of file GNEPathElements.h.

Constructor & Destructor Documentation

◆ PathElement() [1/2]

GNEPathElements::PathElement::PathElement ( GNELane lane)

constructor for lanes

Definition at line 35 of file GNEPathElements.cpp.

◆ PathElement() [2/2]

GNEPathElements::PathElement::PathElement ( )
private

default constructor

Definition at line 69 of file GNEPathElements.cpp.

Member Function Documentation

◆ getJunction()

GNEJunction * GNEPathElements::PathElement::getJunction ( ) const

get junction

Definition at line 48 of file GNEPathElements.cpp.

References GNEHierarchicalElement::getParentJunctions().

◆ getLane()

GNELane * GNEPathElements::PathElement::getLane ( ) const

get lane

Definition at line 58 of file GNEPathElements.cpp.

◆ getNextLane()

GNELane * GNEPathElements::PathElement::getNextLane ( ) const

get next lane

Definition at line 64 of file GNEPathElements.cpp.

◆ updateNextLane()

void GNEPathElements::PathElement::updateNextLane ( GNELane lane)

update nextLane

Definition at line 42 of file GNEPathElements.cpp.

Field Documentation

◆ myLane

GNELane* GNEPathElements::PathElement::myLane
protected

lane

Definition at line 68 of file GNEPathElements.h.

◆ myNextLane

GNELane* GNEPathElements::PathElement::myNextLane
protected

nextLane

Definition at line 71 of file GNEPathElements.h.


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