![]() |
Eclipse SUMO - Simulation of Urban MObility
|
A ride is part of a trip, e.g., go from here to here by car or bus. More...
#include <ROPerson.h>
Public Member Functions | |
TripItem * | clone () const |
const ROEdge * | getDestination () const |
double | getDestinationPos () const |
SUMOTime | getDuration () const |
const ROEdge * | getOrigin () const |
Ride (const ROEdge *const _from, const ROEdge *const _to, const std::string &_lines, const double _cost, const double arrivalPos, const std::string &_destStop="", const std::string &_intended="", const SUMOTime _depart=-1) | |
void | saveAsXML (OutputDevice &os, const bool extended) const |
Protected Attributes | |
double | cost |
Private Member Functions | |
Ride & | operator= (const Ride &src) |
Invalidated assignment operator. More... | |
Private Attributes | |
const double | arr |
const SUMOTime | depart |
const std::string | destStop |
const ROEdge *const | from |
const std::string | intended |
const std::string | lines |
const ROEdge *const | to |
A ride is part of a trip, e.g., go from here to here by car or bus.
Definition at line 175 of file ROPerson.h.
|
inline |
Definition at line 177 of file ROPerson.h.
Referenced by clone().
|
inlinevirtual |
Implements ROPerson::TripItem.
Definition at line 189 of file ROPerson.h.
References arr, ROPerson::TripItem::cost, depart, destStop, from, intended, lines, Ride(), and to.
|
inlinevirtual |
|
inlinevirtual |
|
inlineinherited |
Definition at line 164 of file ROPerson.h.
References ROPerson::TripItem::cost, and TIME2STEPS.
|
inlinevirtual |
|
virtual |
Implements ROPerson::TripItem.
Definition at line 124 of file ROPerson.cpp.
References OutputDevice::closeTag(), ROPerson::TripItem::cost, depart, destStop, from, Named::getID(), RONet::getInstance(), RONet::getStoppingPlaceName(), intended, lines, OutputDevice::openTag(), SUMO_ATTR_BUS_STOP, SUMO_ATTR_COST, SUMO_ATTR_DEPART, SUMO_ATTR_FROM, SUMO_ATTR_INTENDED, SUMO_ATTR_LINES, SUMO_ATTR_TO, SUMO_TAG_RIDE, time2string(), to, and OutputDevice::writeAttr().
|
private |
Definition at line 211 of file ROPerson.h.
Referenced by clone(), and getDestinationPos().
|
protectedinherited |
Definition at line 168 of file ROPerson.h.
Referenced by clone(), ROPerson::Walk::clone(), ROPerson::TripItem::getDuration(), and saveAsXML().
|
private |
Definition at line 210 of file ROPerson.h.
Referenced by clone(), and saveAsXML().
|
private |
Definition at line 208 of file ROPerson.h.
Referenced by clone(), and saveAsXML().
|
private |
Definition at line 205 of file ROPerson.h.
Referenced by clone(), getOrigin(), and saveAsXML().
|
private |
Definition at line 209 of file ROPerson.h.
Referenced by clone(), and saveAsXML().
|
private |
Definition at line 207 of file ROPerson.h.
Referenced by clone(), and saveAsXML().
|
private |
Definition at line 206 of file ROPerson.h.
Referenced by clone(), getDestination(), and saveAsXML().