SUMO - Simulation of Urban MObility
TraCI_Vehicle::BestLanesData Struct Reference

#include <TraCI_Vehicle.h>

Collaboration diagram for TraCI_Vehicle::BestLanesData:
Collaboration graph

Public Member Functions

 BestLanesData ()
 

Data Fields

bool allowsContinuation
 Whether this lane allows continuing the route. More...
 
int bestLaneOffset
 The offset of this lane from the best lane. More...
 
std::vector< std::string > continuationLanes
 The sequence of lanes that best allows continuing the route without lane change. More...
 
std::string laneID
 The id of the lane. More...
 
double length
 The length than can be driven from that lane without lane change. More...
 
double nextOccupation
 The traffic density along length. More...
 

Detailed Description

Definition at line 68 of file TraCI_Vehicle.h.

Constructor & Destructor Documentation

◆ BestLanesData()

TraCI_Vehicle::BestLanesData::BestLanesData ( )
inline

Definition at line 70 of file TraCI_Vehicle.h.

Field Documentation

◆ allowsContinuation

bool TraCI_Vehicle::BestLanesData::allowsContinuation

Whether this lane allows continuing the route.

Definition at line 80 of file TraCI_Vehicle.h.

Referenced by TraCI_Vehicle::getBestLanes(), and TraCIServerAPI_Vehicle::processGet().

◆ bestLaneOffset

int TraCI_Vehicle::BestLanesData::bestLaneOffset

The offset of this lane from the best lane.

Definition at line 78 of file TraCI_Vehicle.h.

Referenced by TraCI_Vehicle::getBestLanes(), and TraCIServerAPI_Vehicle::processGet().

◆ continuationLanes

std::vector<std::string> TraCI_Vehicle::BestLanesData::continuationLanes

The sequence of lanes that best allows continuing the route without lane change.

Definition at line 82 of file TraCI_Vehicle.h.

Referenced by TraCI_Vehicle::getBestLanes(), and TraCIServerAPI_Vehicle::processGet().

◆ laneID

std::string TraCI_Vehicle::BestLanesData::laneID

The id of the lane.

Definition at line 72 of file TraCI_Vehicle.h.

Referenced by TraCI_Vehicle::getBestLanes(), and TraCIServerAPI_Vehicle::processGet().

◆ length

double TraCI_Vehicle::BestLanesData::length

The length than can be driven from that lane without lane change.

Definition at line 74 of file TraCI_Vehicle.h.

Referenced by TraCI_Vehicle::getBestLanes(), and TraCIServerAPI_Vehicle::processGet().

◆ nextOccupation

double TraCI_Vehicle::BestLanesData::nextOccupation

The traffic density along length.

Definition at line 76 of file TraCI_Vehicle.h.

Referenced by TraCI_Vehicle::getBestLanes(), and TraCIServerAPI_Vehicle::processGet().


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