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 |
SUMOTime | getStart () const |
Ride (const SUMOTime start, const ROEdge *const _from, const ROEdge *const _to, const std::string &_lines, const std::string &_group, const double cost, const double arrivalPos, const double _length, const std::string &_destStop="", const std::string &_intended="", const SUMOTime _depart=-1) | |
void | saveAsXML (OutputDevice &os, const bool extended, OptionsCont &options) const |
Protected Attributes | |
const double | myCost |
const SUMOTime | myStart |
Private Member Functions | |
Ride & | operator= (const Ride &src) |
Invalidated assignment operator. | |
Private Attributes | |
const double | arrPos |
const SUMOTime | depart |
const std::string | destStop |
const ROEdge *const | from |
const std::string | group |
const std::string | intended |
const double | length |
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 202 of file ROPerson.h.
|
inline |
Definition at line 204 of file ROPerson.h.
|
inlinevirtual |
Implements ROPerson::TripItem.
Definition at line 219 of file ROPerson.h.
References arrPos, depart, destStop, from, group, intended, length, lines, ROPerson::TripItem::myCost, ROPerson::TripItem::myStart, and to.
|
inlineinherited |
Definition at line 190 of file ROPerson.h.
References ROPerson::TripItem::myCost.
|
inlinevirtual |
|
inlinevirtual |
|
inlineinherited |
Definition at line 186 of file ROPerson.h.
References ROPerson::TripItem::myCost, and TIME2STEPS.
Referenced by saveAsXML().
|
inlinevirtual |
|
inlineinherited |
Definition at line 182 of file ROPerson.h.
References ROPerson::TripItem::myStart.
Referenced by saveAsXML().
|
virtual |
Implements ROPerson::TripItem.
Definition at line 139 of file ROPerson.cpp.
References arrPos, OutputDevice::closeTag(), depart, destStop, from, OptionsCont::getBool(), ROPerson::TripItem::getDuration(), Named::getID(), RONet::getInstance(), ROPerson::TripItem::getStart(), RONet::getStoppingPlaceElement(), RONet::getStoppingPlaceName(), group, intended, length, lines, ROPerson::TripItem::myCost, OutputDevice::openTag(), SUMO_ATTR_ARRIVALPOS, 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 242 of file ROPerson.h.
Referenced by clone(), getDestinationPos(), and saveAsXML().
|
private |
Definition at line 241 of file ROPerson.h.
Referenced by clone(), and saveAsXML().
|
private |
Definition at line 239 of file ROPerson.h.
Referenced by clone(), and saveAsXML().
|
private |
Definition at line 235 of file ROPerson.h.
Referenced by clone(), getOrigin(), and saveAsXML().
|
private |
Definition at line 238 of file ROPerson.h.
Referenced by clone(), and saveAsXML().
|
private |
Definition at line 240 of file ROPerson.h.
Referenced by clone(), and saveAsXML().
|
private |
Definition at line 243 of file ROPerson.h.
Referenced by clone(), and saveAsXML().
|
private |
Definition at line 237 of file ROPerson.h.
Referenced by clone(), and saveAsXML().
|
protectedinherited |
Definition at line 195 of file ROPerson.h.
Referenced by clone(), ROPerson::Walk::clone(), ROPerson::TripItem::getCost(), ROPerson::TripItem::getDuration(), and saveAsXML().
|
protectedinherited |
Definition at line 194 of file ROPerson.h.
Referenced by clone(), ROPerson::Walk::clone(), and ROPerson::TripItem::getStart().
|
private |
Definition at line 236 of file ROPerson.h.
Referenced by clone(), getDestination(), and saveAsXML().