Eclipse SUMO - Simulation of Urban MObility
Loading...
Searching...
No Matches
libsumo::TraCIBestLanesData Struct Reference

#include <TraCIDefs.h>

Public Member Functions

std::string getString () const
 

Data Fields

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

Detailed Description

Definition at line 691 of file TraCIDefs.h.

Member Function Documentation

◆ getString()

std::string libsumo::TraCIBestLanesData::getString ( ) const
inline

Definition at line 692 of file TraCIDefs.h.

Field Documentation

◆ allowsContinuation

bool libsumo::TraCIBestLanesData::allowsContinuation

Whether this lane allows continuing the route.

Definition at line 712 of file TraCIDefs.h.

Referenced by TraCIAPI::VehicleScope::getBestLanes(), and libsumo::StorageHelper::readBestLanesVector().

◆ bestLaneOffset

int libsumo::TraCIBestLanesData::bestLaneOffset

The offset of this lane from the best lane.

Definition at line 710 of file TraCIDefs.h.

Referenced by TraCIAPI::VehicleScope::getBestLanes(), and libsumo::StorageHelper::readBestLanesVector().

◆ continuationLanes

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

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

Definition at line 714 of file TraCIDefs.h.

Referenced by TraCIAPI::VehicleScope::getBestLanes(), and libsumo::StorageHelper::readBestLanesVector().

◆ laneID

std::string libsumo::TraCIBestLanesData::laneID

The id of the lane.

Definition at line 704 of file TraCIDefs.h.

Referenced by TraCIAPI::VehicleScope::getBestLanes(), and libsumo::StorageHelper::readBestLanesVector().

◆ length

double libsumo::TraCIBestLanesData::length

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

Definition at line 706 of file TraCIDefs.h.

Referenced by TraCIAPI::VehicleScope::getBestLanes(), and libsumo::StorageHelper::readBestLanesVector().

◆ occupation

double libsumo::TraCIBestLanesData::occupation

The traffic density along length.

Definition at line 708 of file TraCIDefs.h.

Referenced by TraCIAPI::VehicleScope::getBestLanes(), and libsumo::StorageHelper::readBestLanesVector().


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