Eclipse SUMO - Simulation of Urban MObility
Loading...
Searching...
No Matches
GNELane2laneConnection Class Reference

class lane2lane connection geometry More...

#include <GNELane2laneConnection.h>

Collaboration diagram for GNELane2laneConnection:
[legend]

Public Member Functions

bool exist (const GNELane *toLane) const
 check if exist a lane2lane geometry for the given toLane
 
const GUIGeometrygetLane2laneGeometry (const GNELane *toLane) const
 get lane2lane geometry
 
 GNELane2laneConnection (const GNELane *fromLane)
 constructor
 
void updateLane2laneConnection ()
 update
 

Protected Attributes

std::map< const GNELane *, GUIGeometrymyConnectionsMap
 connection shape
 
const GNELanemyFromLane
 from lane
 

Private Member Functions

 GNELane2laneConnection ()
 constructor
 
GNELane2laneConnectionoperator= (const GNELane2laneConnection &other)=delete
 Invalidated assignment operator.
 

Detailed Description

class lane2lane connection geometry

Definition at line 36 of file GNELane2laneConnection.h.

Constructor & Destructor Documentation

◆ GNELane2laneConnection() [1/2]

GNELane2laneConnection::GNELane2laneConnection ( const GNELane fromLane)

constructor

Definition at line 32 of file GNELane2laneConnection.cpp.

◆ GNELane2laneConnection() [2/2]

GNELane2laneConnection::GNELane2laneConnection ( )
private

constructor

Definition at line 84 of file GNELane2laneConnection.cpp.

Member Function Documentation

◆ exist()

bool GNELane2laneConnection::exist ( const GNELane toLane) const

check if exist a lane2lane geometry for the given toLane

Definition at line 73 of file GNELane2laneConnection.cpp.

References myConnectionsMap.

Referenced by GNELaneAreaDetector::drawJunctionPartialGL(), GNEOverheadWire::drawJunctionPartialGL(), GNERoute::drawJunctionPartialGL(), GNEDemandElementPlan::drawPlanJunctionPartial(), GNEConsecutiveSelector::drawTemporalConsecutiveLanePath(), GNEPathCreator::drawTemporalRoute(), GNEPlanCreator::drawTemporalRoute(), and GNEConnection::updateGeometry().

Here is the caller graph for this function:

◆ getLane2laneGeometry()

const GUIGeometry & GNELane2laneConnection::getLane2laneGeometry ( const GNELane toLane) const

◆ operator=()

GNELane2laneConnection & GNELane2laneConnection::operator= ( const GNELane2laneConnection other)
privatedelete

Invalidated assignment operator.

◆ updateLane2laneConnection()

void GNELane2laneConnection::updateLane2laneConnection ( )

Field Documentation

◆ myConnectionsMap

std::map<const GNELane*, GUIGeometry> GNELane2laneConnection::myConnectionsMap
protected

connection shape

Definition at line 56 of file GNELane2laneConnection.h.

Referenced by exist(), getLane2laneGeometry(), and updateLane2laneConnection().

◆ myFromLane

const GNELane* GNELane2laneConnection::myFromLane
protected

from lane

Definition at line 53 of file GNELane2laneConnection.h.

Referenced by updateLane2laneConnection().


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