Eclipse SUMO - Simulation of Urban MObility
Loading...
Searching...
No Matches
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 () const
 
virtual int getType () const
 
 TraCIRoadPosition ()
 
 TraCIRoadPosition (const std::string e, const double p)
 

Data Fields

std::string edgeID = ""
 
int laneIndex = INVALID_INT_VALUE
 
double pos = INVALID_DOUBLE_VALUE
 

Detailed Description

An edgeId, position and laneIndex.

Definition at line 197 of file TraCIDefs.h.

Constructor & Destructor Documentation

◆ TraCIRoadPosition() [1/2]

libsumo::TraCIRoadPosition::TraCIRoadPosition ( )
inline

Definition at line 198 of file TraCIDefs.h.

◆ TraCIRoadPosition() [2/2]

libsumo::TraCIRoadPosition::TraCIRoadPosition ( const std::string  e,
const double  p 
)
inline

Definition at line 199 of file TraCIDefs.h.

Member Function Documentation

◆ getString()

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

Reimplemented from libsumo::TraCIResult.

Definition at line 200 of file TraCIDefs.h.

References edgeID, laneIndex, and pos.

Referenced by TraCITestClient::testAPI().

Here is the caller graph for this function:

◆ getType()

virtual int libsumo::TraCIResult::getType ( ) const
inlinevirtualinherited

Reimplemented in libsumo::TraCIDouble, and libsumo::TraCIString.

Definition at line 170 of file TraCIDefs.h.

Referenced by libsumo::StorageHelper::toStorage().

Here is the caller graph for this function:

Field Documentation

◆ edgeID

std::string libsumo::TraCIRoadPosition::edgeID = ""

Definition at line 205 of file TraCIDefs.h.

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

◆ laneIndex

int libsumo::TraCIRoadPosition::laneIndex = INVALID_INT_VALUE

Definition at line 207 of file TraCIDefs.h.

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

◆ pos

double libsumo::TraCIRoadPosition::pos = INVALID_DOUBLE_VALUE

Definition at line 206 of file TraCIDefs.h.

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


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