Eclipse SUMO - Simulation of Urban MObility
Loading...
Searching...
No Matches
MSLink::LinkLeader Struct Reference

#include <MSLink.h>

Public Member Functions

bool fromLeft () const
bool inTheWay () const
 LinkLeader (MSVehicle *_veh, double _gap, double _distToCrossing, int _llFlags=LL_FROM_LEFT, double _latOffst=0)
bool sameSource () const
bool sameTarget () const

Data Fields

double distToCrossing
double latOffset
int llFlags
std::pair< MSVehicle *, double > vehAndGap

Detailed Description

Definition at line 84 of file MSLink.h.

Constructor & Destructor Documentation

◆ LinkLeader()

MSLink::LinkLeader::LinkLeader ( MSVehicle * _veh,
double _gap,
double _distToCrossing,
int _llFlags = LL_FROM_LEFT,
double _latOffst = 0 )
inline

Definition at line 85 of file MSLink.h.

References distToCrossing, latOffset, MSLink::LL_FROM_LEFT, llFlags, and vehAndGap.

Member Function Documentation

◆ fromLeft()

bool MSLink::LinkLeader::fromLeft ( ) const
inline

Definition at line 92 of file MSLink.h.

References MSLink::LL_FROM_LEFT, and llFlags.

◆ inTheWay()

bool MSLink::LinkLeader::inTheWay ( ) const
inline

Definition at line 95 of file MSLink.h.

References MSLink::LL_IN_THE_WAY, and llFlags.

◆ sameSource()

bool MSLink::LinkLeader::sameSource ( ) const
inline

Definition at line 101 of file MSLink.h.

References MSLink::LL_SAME_SOURCE, and llFlags.

Referenced by MSLane::getLeadersOnConsecutive().

Here is the caller graph for this function:

◆ sameTarget()

bool MSLink::LinkLeader::sameTarget ( ) const
inline

Definition at line 98 of file MSLink.h.

References MSLink::LL_SAME_TARGET, and llFlags.

Referenced by MSLane::getLeadersOnConsecutive().

Here is the caller graph for this function:

Field Documentation

◆ distToCrossing

double MSLink::LinkLeader::distToCrossing

Definition at line 106 of file MSLink.h.

Referenced by LinkLeader().

◆ latOffset

double MSLink::LinkLeader::latOffset

Definition at line 108 of file MSLink.h.

Referenced by MSLane::getLeadersOnConsecutive(), and LinkLeader().

◆ llFlags

int MSLink::LinkLeader::llFlags

◆ vehAndGap

std::pair<MSVehicle*, double> MSLink::LinkLeader::vehAndGap

Definition at line 105 of file MSLink.h.

Referenced by MSLane::getLeadersOnConsecutive(), and LinkLeader().


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