Eclipse SUMO - Simulation of Urban MObility
libsumo::TraCIBestLanesData Struct Reference

#include <TraCIDefs.h>

Collaboration diagram for libsumo::TraCIBestLanesData:

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 occupation
 The traffic density along length. More...
 

Detailed Description

Definition at line 329 of file TraCIDefs.h.

Field Documentation

◆ allowsContinuation

bool libsumo::TraCIBestLanesData::allowsContinuation

Whether this lane allows continuing the route.

Definition at line 339 of file TraCIDefs.h.

Referenced by libsumo::Vehicle::getBestLanes(), TraCIAPI::VehicleScope::getBestLanes(), and TraCIServerAPI_Vehicle::processGet().

◆ bestLaneOffset

int libsumo::TraCIBestLanesData::bestLaneOffset

The offset of this lane from the best lane.

Definition at line 337 of file TraCIDefs.h.

Referenced by libsumo::Vehicle::getBestLanes(), TraCIAPI::VehicleScope::getBestLanes(), and TraCIServerAPI_Vehicle::processGet().

◆ continuationLanes

std::vector<std::string> libsumo::TraCIBestLanesData::continuationLanes

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

Definition at line 341 of file TraCIDefs.h.

Referenced by libsumo::Vehicle::getBestLanes(), TraCIAPI::VehicleScope::getBestLanes(), and TraCIServerAPI_Vehicle::processGet().

◆ laneID

std::string libsumo::TraCIBestLanesData::laneID

◆ length

double libsumo::TraCIBestLanesData::length

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

Definition at line 333 of file TraCIDefs.h.

Referenced by libsumo::Vehicle::getBestLanes(), TraCIAPI::VehicleScope::getBestLanes(), and TraCIServerAPI_Vehicle::processGet().

◆ occupation

double libsumo::TraCIBestLanesData::occupation

The traffic density along length.

Definition at line 335 of file TraCIDefs.h.

Referenced by libsumo::Vehicle::getBestLanes(), TraCIAPI::VehicleScope::getBestLanes(), and TraCIServerAPI_Vehicle::processGet().


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