Eclipse SUMO - Simulation of Urban MObility
MSLink::LinkLeader Struct Reference

#include <MSLink.h>

Public Member Functions

 LinkLeader (MSVehicle *_veh, double _gap, double _distToCrossing, bool _fromLeft=true, bool _inTheWay=false)
 

Data Fields

double distToCrossing
 
bool fromLeft
 
bool inTheWay
 
std::pair< MSVehicle *, double > vehAndGap
 

Detailed Description

Definition at line 70 of file MSLink.h.

Constructor & Destructor Documentation

◆ LinkLeader()

MSLink::LinkLeader::LinkLeader ( MSVehicle _veh,
double  _gap,
double  _distToCrossing,
bool  _fromLeft = true,
bool  _inTheWay = false 
)
inline

Definition at line 71 of file MSLink.h.

Field Documentation

◆ distToCrossing

double MSLink::LinkLeader::distToCrossing

Definition at line 79 of file MSLink.h.

◆ fromLeft

bool MSLink::LinkLeader::fromLeft

Definition at line 80 of file MSLink.h.

◆ inTheWay

bool MSLink::LinkLeader::inTheWay

Definition at line 81 of file MSLink.h.

◆ vehAndGap

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

Definition at line 78 of file MSLink.h.

Referenced by MSLane::getLeadersOnConsecutive().


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