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

#include <TraCIDefs.h>

Public Member Functions

 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 556 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

Definition at line 558 of file TraCIDefs.h.

Field Documentation

◆ arrivalPos

◆ cost

◆ depart

double libsumo::TraCIStage::depart

◆ departPos

double libsumo::TraCIStage::departPos

◆ description

◆ destStop

◆ edges

◆ intended

std::string libsumo::TraCIStage::intended

◆ length

◆ line

◆ travelTime

◆ type

◆ vType

std::string libsumo::TraCIStage::vType

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