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

#include <TraCIDefs.h>

Public Member Functions

std::string getString () const
 

Data Fields

double dist
 The distance to the tls.
 
std::string id
 The id of the next tls.
 
char state
 The current state of the tls.
 
int tlIndex
 The tls index of the controlled link.
 

Detailed Description

Definition at line 558 of file TraCIDefs.h.

Member Function Documentation

◆ getString()

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

Definition at line 559 of file TraCIDefs.h.

Field Documentation

◆ dist

double libsumo::TraCINextTLSData::dist

The distance to the tls.

Definition at line 571 of file TraCIDefs.h.

Referenced by TraCIAPI::VehicleScope::getNextTLS(), libsumo::StorageHelper::readTLSDataVector(), and TraCITestClient::testAPI().

◆ id

std::string libsumo::TraCINextTLSData::id

◆ state

char libsumo::TraCINextTLSData::state

The current state of the tls.

Definition at line 573 of file TraCIDefs.h.

Referenced by TraCIAPI::VehicleScope::getNextTLS(), libsumo::StorageHelper::readTLSDataVector(), and TraCITestClient::testAPI().

◆ tlIndex

int libsumo::TraCINextTLSData::tlIndex

The tls index of the controlled link.

Definition at line 569 of file TraCIDefs.h.

Referenced by TraCIAPI::VehicleScope::getNextTLS(), libsumo::StorageHelper::readTLSDataVector(), and TraCITestClient::testAPI().


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