Eclipse SUMO - Simulation of Urban MObility
GNEGeometry::SegmentGeometry::SegmentToUpdate Class Reference

struct used for represent segments that must be updated More...

#include <GNEGeometry.h>

Collaboration diagram for GNEGeometry::SegmentGeometry::SegmentToUpdate:

Public Member Functions

const GNELanegetLane () const
 
const GNELanegetNextLane () const
 get lane segment (used for updating lane2lane segments) More...
 
int getSegmentIndex () const
 get segment index More...
 
 SegmentToUpdate (const int segmentIndex, const GNELane *lane, const GNELane *nextLane)
 constructor More...
 

Private Member Functions

SegmentToUpdateoperator= (const SegmentToUpdate &other)=delete
 Invalidated assignment operator. More...
 

Private Attributes

const GNELanemyLane
 
const GNELanemyNextLane
 lane segment (used for updating lane2lane segments) More...
 
const int mySegmentIndex
 segment index More...
 

Detailed Description

struct used for represent segments that must be updated

Definition at line 325 of file GNEGeometry.h.

Constructor & Destructor Documentation

◆ SegmentToUpdate()

GNEGeometry::SegmentGeometry::SegmentToUpdate::SegmentToUpdate ( const int  segmentIndex,
const GNELane lane,
const GNELane nextLane 
)

constructor

Definition at line 644 of file GNEGeometry.cpp.

Member Function Documentation

◆ getLane()

const GNELane * GNEGeometry::SegmentGeometry::SegmentToUpdate::getLane ( ) const

Definition at line 658 of file GNEGeometry.cpp.

◆ getNextLane()

const GNELane * GNEGeometry::SegmentGeometry::SegmentToUpdate::getNextLane ( ) const

get lane segment (used for updating lane2lane segments)

Definition at line 664 of file GNEGeometry.cpp.

◆ getSegmentIndex()

int GNEGeometry::SegmentGeometry::SegmentToUpdate::getSegmentIndex ( ) const

get segment index

Definition at line 652 of file GNEGeometry.cpp.

◆ operator=()

SegmentToUpdate& GNEGeometry::SegmentGeometry::SegmentToUpdate::operator= ( const SegmentToUpdate other)
privatedelete

Invalidated assignment operator.

Field Documentation

◆ myLane

const GNELane* GNEGeometry::SegmentGeometry::SegmentToUpdate::myLane
private

Definition at line 345 of file GNEGeometry.h.

◆ myNextLane

const GNELane* GNEGeometry::SegmentGeometry::SegmentToUpdate::myNextLane
private

lane segment (used for updating lane2lane segments)

Definition at line 348 of file GNEGeometry.h.

◆ mySegmentIndex

const int GNEGeometry::SegmentGeometry::SegmentToUpdate::mySegmentIndex
private

segment index

Definition at line 342 of file GNEGeometry.h.


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