![]() |
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 |
double | getCost () 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 std::string &_group, 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 | group |
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 179 of file ROPerson.h.
|
inline |
Definition at line 181 of file ROPerson.h.
Referenced by clone().
|
inlinevirtual |
Implements ROPerson::TripItem.
Definition at line 194 of file ROPerson.h.
References arr, ROPerson::TripItem::cost, depart, destStop, from, group, intended, lines, Ride(), and to.
|
inlineinherited |
Definition at line 168 of file ROPerson.h.
References ROPerson::TripItem::cost.
|
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 137 of file ROPerson.cpp.
References arr, OutputDevice::closeTag(), ROPerson::TripItem::cost, depart, destStop, from, Named::getID(), RONet::getInstance(), RONet::getStoppingPlaceName(), group, intended, lines, OutputDevice::openTag(), SUMO_ATTR_ARRIVALPOS, SUMO_ATTR_BUS_STOP, SUMO_ATTR_COST, SUMO_ATTR_DEPART, SUMO_ATTR_FROM, SUMO_ATTR_GROUP, SUMO_ATTR_INTENDED, SUMO_ATTR_LINES, SUMO_ATTR_TO, SUMO_TAG_RIDE, time2string(), to, and OutputDevice::writeAttr().
|
private |
Definition at line 217 of file ROPerson.h.
Referenced by clone(), getDestinationPos(), and saveAsXML().
|
protectedinherited |
Definition at line 172 of file ROPerson.h.
Referenced by clone(), ROPerson::Walk::clone(), ROPerson::TripItem::getCost(), ROPerson::TripItem::getDuration(), and saveAsXML().
|
private |
Definition at line 216 of file ROPerson.h.
Referenced by clone(), and saveAsXML().
|
private |
Definition at line 214 of file ROPerson.h.
Referenced by clone(), and saveAsXML().
|
private |
Definition at line 210 of file ROPerson.h.
Referenced by clone(), getOrigin(), and saveAsXML().
|
private |
Definition at line 213 of file ROPerson.h.
Referenced by clone(), and saveAsXML().
|
private |
Definition at line 215 of file ROPerson.h.
Referenced by clone(), and saveAsXML().
|
private |
Definition at line 212 of file ROPerson.h.
Referenced by clone(), and saveAsXML().
|
private |
Definition at line 211 of file ROPerson.h.
Referenced by clone(), getDestination(), and saveAsXML().