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

#include <TraCIDefs.h>

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

Public Member Functions

virtual std::string getString () const
virtual int getType () const
 TraCIStage (int type=INVALID_INT_VALUE, const std::string &vType="", const std::string &line="", const std::string &destStop="", const std::vector< std::string > &edges=std::vector< std::string >(), double travelTime=INVALID_DOUBLE_VALUE, double cost=INVALID_DOUBLE_VALUE, double length=INVALID_DOUBLE_VALUE, const std::string &intended="", double depart=INVALID_DOUBLE_VALUE, double departPos=INVALID_DOUBLE_VALUE, double arrivalPos=INVALID_DOUBLE_VALUE, const std::string &description="")

Data Fields

double arrivalPos
 position on the lane when ending the stage
double cost
 effort needed
double depart
 intended depart time for public transport ride or INVALID_DOUBLE_VALUE
double departPos
 position on the lane when starting the stage
std::string description
 arbitrary description string
std::string destStop
 The id of the destination stop.
std::vector< std::string > edges
 The sequence of edges to travel.
std::string intended
 id of the intended vehicle for public transport ride
double length
 length in m
std::string line
 The line or the id of the vehicle type.
double travelTime
 duration of the stage in seconds
int type
 The type of stage (walking, driving, ...).
std::string vType
 The vehicle type when using a private car or bike.

Detailed Description

Definition at line 732 of file TraCIDefs.h.

Constructor & Destructor Documentation

◆ TraCIStage()

libsumo::TraCIStage::TraCIStage ( int type = INVALID_INT_VALUE,
const std::string & vType = "",
const std::string & line = "",
const std::string & destStop = "",
const std::vector< std::string > & edges = std::vector<std::string>(),
double travelTime = INVALID_DOUBLE_VALUE,
double cost = INVALID_DOUBLE_VALUE,
double length = INVALID_DOUBLE_VALUE,
const std::string & intended = "",
double depart = INVALID_DOUBLE_VALUE,
double departPos = INVALID_DOUBLE_VALUE,
double arrivalPos = INVALID_DOUBLE_VALUE,
const std::string & description = "" )
inline

Member Function Documentation

◆ getString()

◆ getType()

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

Reimplemented in libsumo::TraCIDouble, libsumo::TraCIInt, libsumo::TraCIPosition, libsumo::TraCIRoadPosition, and libsumo::TraCIString.

Definition at line 171 of file TraCIDefs.h.

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

Here is the caller graph for this function:

Field Documentation

◆ arrivalPos

◆ cost

◆ depart

◆ departPos

◆ description

◆ destStop

◆ edges

◆ intended

◆ length

◆ line

◆ travelTime

◆ type

◆ vType


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