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

#include <TraCIDefs.h>

Public Member Functions

std::string getString () const
 TraCIReservation ()
 TraCIReservation (const std::string &id, const std::vector< std::string > &persons, const std::string &group, const std::string &fromEdge, const std::string &toEdge, double departPos, double arrivalPos, double depart, double reservationTime, int state)

Data Fields

double arrivalPos
 drop-off position on the destination edge
double depart
 pickup-time
double departPos
 pickup position on the origin edge
std::string fromEdge
 The origin edge id.
std::string group
 The group id of this reservation.
std::string id
 The id of the taxi reservation (usable for traci.vehicle.dispatchTaxi).
std::vector< std::string > persons
 The persons ids that are part of this reservation.
double reservationTime
 time when the reservation was made
int state
 the state of this reservation
std::string toEdge
 The destination edge id.

Detailed Description

Definition at line 771 of file TraCIDefs.h.

Constructor & Destructor Documentation

◆ TraCIReservation() [1/2]

libsumo::TraCIReservation::TraCIReservation ( )
inline

Definition at line 772 of file TraCIDefs.h.

◆ TraCIReservation() [2/2]

libsumo::TraCIReservation::TraCIReservation ( const std::string & id,
const std::vector< std::string > & persons,
const std::string & group,
const std::string & fromEdge,
const std::string & toEdge,
double departPos,
double arrivalPos,
double depart,
double reservationTime,
int state )
inline

Definition at line 773 of file TraCIDefs.h.

References arrivalPos, depart, departPos, fromEdge, group, id, persons, reservationTime, state, and toEdge.

Member Function Documentation

◆ getString()

std::string libsumo::TraCIReservation::getString ( ) const
inline

Definition at line 806 of file TraCIDefs.h.

Field Documentation

◆ arrivalPos

double libsumo::TraCIReservation::arrivalPos

drop-off position on the destination edge

Definition at line 798 of file TraCIDefs.h.

Referenced by TraCIReservation().

◆ depart

double libsumo::TraCIReservation::depart

pickup-time

Definition at line 800 of file TraCIDefs.h.

Referenced by TraCIReservation().

◆ departPos

double libsumo::TraCIReservation::departPos

pickup position on the origin edge

Definition at line 796 of file TraCIDefs.h.

Referenced by TraCIReservation().

◆ fromEdge

std::string libsumo::TraCIReservation::fromEdge

The origin edge id.

Definition at line 792 of file TraCIDefs.h.

Referenced by TraCIReservation().

◆ group

std::string libsumo::TraCIReservation::group

The group id of this reservation.

Definition at line 790 of file TraCIDefs.h.

Referenced by TraCIReservation().

◆ id

std::string libsumo::TraCIReservation::id

The id of the taxi reservation (usable for traci.vehicle.dispatchTaxi).

Definition at line 786 of file TraCIDefs.h.

Referenced by TraCIReservation().

◆ persons

std::vector<std::string> libsumo::TraCIReservation::persons

The persons ids that are part of this reservation.

Definition at line 788 of file TraCIDefs.h.

Referenced by TraCIReservation().

◆ reservationTime

double libsumo::TraCIReservation::reservationTime

time when the reservation was made

Definition at line 802 of file TraCIDefs.h.

Referenced by TraCIReservation().

◆ state

int libsumo::TraCIReservation::state

the state of this reservation

Definition at line 804 of file TraCIDefs.h.

Referenced by TraCIReservation().

◆ toEdge

std::string libsumo::TraCIReservation::toEdge

The destination edge id.

Definition at line 794 of file TraCIDefs.h.

Referenced by TraCIReservation().


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