![]() |
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 | |
const ROEdge * | getDestination () const |
double | getDestinationPos () 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 159 of file ROPerson.h.
|
inline |
Definition at line 161 of file ROPerson.h.
|
inlinevirtual |
Implements ROPerson::TripItem.
Definition at line 176 of file ROPerson.h.
|
inlinevirtual |
Implements ROPerson::TripItem.
Definition at line 179 of file ROPerson.h.
References ROPerson::PlanItem::saveAsXML().
|
inlinevirtual |
Implements ROPerson::TripItem.
Definition at line 173 of file ROPerson.h.
|
virtual |
Implements ROPerson::TripItem.
Definition at line 119 of file ROPerson.cpp.
References OutputDevice::closeTag(), RONet::getInstance(), RONet::getStoppingPlaceName(), 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(), and OutputDevice::writeAttr().
|
private |
Definition at line 191 of file ROPerson.h.
|
protectedinherited |
Definition at line 152 of file ROPerson.h.
|
private |
Definition at line 190 of file ROPerson.h.
|
private |
Definition at line 188 of file ROPerson.h.
|
private |
Definition at line 185 of file ROPerson.h.
|
private |
Definition at line 189 of file ROPerson.h.
|
private |
Definition at line 187 of file ROPerson.h.
|
private |
Definition at line 186 of file ROPerson.h.