Eclipse SUMO - Simulation of Urban MObility
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.

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.

◆ latOffset

double MSLink::LinkLeader::latOffset

Definition at line 108 of file MSLink.h.

Referenced by MSLane::getLeadersOnConsecutive().

◆ llFlags

int MSLink::LinkLeader::llFlags

Definition at line 107 of file MSLink.h.

Referenced by fromLeft(), MSLane::getLeadersOnConsecutive(), inTheWay(), sameSource(), and sameTarget().

◆ vehAndGap

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

Definition at line 105 of file MSLink.h.

Referenced by MSLane::getLeadersOnConsecutive().


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