Eclipse SUMO - Simulation of Urban MObility
All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Modules Pages
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 690 of file TraCIDefs.h.

Member Function Documentation

◆ getString()

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

Definition at line 691 of file TraCIDefs.h.

Field Documentation

◆ allowsContinuation

bool libsumo::TraCIBestLanesData::allowsContinuation

Whether this lane allows continuing the route.

Definition at line 711 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 709 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 713 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 703 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 705 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 707 of file TraCIDefs.h.

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


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