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
 
int getType () const
 
 TraCIRoadPosition (const std::string e="", const double p=INVALID_DOUBLE_VALUE, const int li=INVALID_INT_VALUE)
 

Data Fields

std::string edgeID
 
int laneIndex
 
double pos
 

Detailed Description

An edgeId, position and laneIndex.

Definition at line 201 of file TraCIDefs.h.

Constructor & Destructor Documentation

◆ TraCIRoadPosition()

libsumo::TraCIRoadPosition::TraCIRoadPosition ( const std::string  e = "",
const double  p = INVALID_DOUBLE_VALUE,
const int  li = INVALID_INT_VALUE 
)
inline

Definition at line 202 of file TraCIDefs.h.

Member Function Documentation

◆ getString()

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

Reimplemented from libsumo::TraCIResult.

Definition at line 203 of file TraCIDefs.h.

References edgeID, laneIndex, and pos.

Referenced by TraCITestClient::testAPI().

Here is the caller graph for this function:

◆ getType()

int libsumo::TraCIRoadPosition::getType ( ) const
inlinevirtual

Reimplemented from libsumo::TraCIResult.

Definition at line 208 of file TraCIDefs.h.

References libsumo::POSITION_ROADMAP.

Field Documentation

◆ edgeID

std::string libsumo::TraCIRoadPosition::edgeID

◆ laneIndex

int libsumo::TraCIRoadPosition::laneIndex

◆ pos

double libsumo::TraCIRoadPosition::pos

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