![]() |
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 |
const ROEdge * | getOrigin () const |
Ride (const ROEdge *const _from, const ROEdge *const _to, const std::string &_lines, const double _cost, const std::string &_destStop="") | |
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 std::string | destStop |
const ROEdge *const | from |
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 160 of file ROPerson.h.
|
inline |
Definition at line 162 of file ROPerson.h.
|
inlinevirtual |
Implements ROPerson::TripItem.
Definition at line 169 of file ROPerson.h.
References ROPerson::PlanItem::saveAsXML().
|
inlinevirtual |
Implements ROPerson::TripItem.
Definition at line 166 of file ROPerson.h.
|
virtual |
Implements ROPerson::TripItem.
Definition at line 117 of file ROPerson.cpp.
References OutputDevice::closeTag(), OutputDevice::openTag(), SUMO_ATTR_BUS_STOP, SUMO_ATTR_COST, SUMO_ATTR_FROM, SUMO_ATTR_LINES, SUMO_ATTR_TO, SUMO_TAG_RIDE, and OutputDevice::writeAttr().
|
protectedinherited |
Definition at line 153 of file ROPerson.h.
|
private |
Definition at line 178 of file ROPerson.h.
|
private |
Definition at line 175 of file ROPerson.h.
|
private |
Definition at line 177 of file ROPerson.h.
|
private |
Definition at line 176 of file ROPerson.h.