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

An edgeId, position and laneIndex. More...

#include <TraCIDefs.h>

Inheritance diagram for libsumo::TraCIRoadPosition:
[legend]
Collaboration diagram for libsumo::TraCIRoadPosition:
[legend]

Public Member Functions

std::string getString ()
 
virtual const std::vector< unsigned char > toPacket () const
 

Data Fields

std::string edgeID
 
int laneIndex = INVALID_INT_VALUE
 
double pos
 

Detailed Description

An edgeId, position and laneIndex.

Definition at line 153 of file TraCIDefs.h.

Member Function Documentation

◆ getString()

std::string libsumo::TraCIRoadPosition::getString ( )
inlinevirtual

Reimplemented from libsumo::TraCIResult.

Definition at line 154 of file TraCIDefs.h.

References edgeID, laneIndex, and pos.

Referenced by TraCITestClient::testAPI().

Here is the caller graph for this function:

◆ toPacket()

virtual const std::vector<unsigned char> libsumo::TraCIResult::toPacket ( ) const
inlinevirtualinherited

Definition at line 133 of file TraCIDefs.h.

Field Documentation

◆ edgeID

std::string libsumo::TraCIRoadPosition::edgeID

Definition at line 159 of file TraCIDefs.h.

Referenced by TraCIAPI::SimulationScope::convertRoad(), and getString().

◆ laneIndex

int libsumo::TraCIRoadPosition::laneIndex = INVALID_INT_VALUE

Definition at line 161 of file TraCIDefs.h.

Referenced by TraCIAPI::SimulationScope::convertRoad(), and getString().

◆ pos

double libsumo::TraCIRoadPosition::pos

Definition at line 160 of file TraCIDefs.h.

Referenced by TraCIAPI::SimulationScope::convertRoad(), and getString().


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