Eclipse SUMO - Simulation of Urban MObility
|
A walk is part of a trip, e.g., go from here to here by foot. 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 |
void | saveAsXML (OutputDevice &os, const bool extended, OptionsCont &options) const |
Walk (const SUMOTime start, const ConstROEdgeVector &_edges, const double cost, const std::vector< double > &_exitTimes, double departPos=std::numeric_limits< double >::infinity(), double arrivalPos=std::numeric_limits< double >::infinity(), const std::string &_destStop="") | |
Walk (const SUMOTime start, const ConstROEdgeVector &edges, const double cost, const double duration, const double speed, const double departPos, const double arrivalPos, const std::string &_destStop) | |
Protected Attributes | |
const double | myCost |
const SUMOTime | myStart |
Private Member Functions | |
Walk & | operator= (const Walk &src) |
Invalidated assignment operator. | |
Private Attributes | |
const double | arr |
const double | dep |
const std::string | destStop |
const double | dur |
const ConstROEdgeVector | edges |
const std::vector< double > | exitTimes |
const double | v |
A walk is part of a trip, e.g., go from here to here by foot.
Definition at line 255 of file ROPerson.h.
|
inline |
Definition at line 257 of file ROPerson.h.
|
inline |
Definition at line 263 of file ROPerson.h.
|
inlinevirtual |
Implements ROPerson::TripItem.
Definition at line 267 of file ROPerson.h.
References arr, dep, destStop, edges, exitTimes, ROPerson::TripItem::myCost, and ROPerson::TripItem::myStart.
|
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 ROPerson::Ride::saveAsXML().
|
inlinevirtual |
|
inlineinherited |
Definition at line 182 of file ROPerson.h.
References ROPerson::TripItem::myStart.
Referenced by ROPerson::Ride::saveAsXML().
|
virtual |
Implements ROPerson::TripItem.
Definition at line 200 of file ROPerson.cpp.
References OutputDevice::closeTag(), OptionsCont::getBool(), RONet::getInstance(), RONet::getStoppingPlaceElement(), RONet::getStoppingPlaceName(), OutputDevice::openTag(), SUMO_ATTR_ARRIVALPOS, SUMO_ATTR_COST, SUMO_ATTR_DURATION, SUMO_ATTR_EDGES, SUMO_ATTR_SPEED, SUMO_TAG_WALK, time2string(), and OutputDevice::writeAttr().
|
private |
Definition at line 285 of file ROPerson.h.
Referenced by clone(), and getDestinationPos().
|
private |
Definition at line 285 of file ROPerson.h.
Referenced by clone().
|
private |
Definition at line 286 of file ROPerson.h.
Referenced by clone().
|
private |
Definition at line 285 of file ROPerson.h.
|
private |
Definition at line 283 of file ROPerson.h.
Referenced by clone(), getDestination(), and getOrigin().
|
private |
Definition at line 284 of file ROPerson.h.
Referenced by clone().
|
protectedinherited |
Definition at line 195 of file ROPerson.h.
Referenced by ROPerson::Ride::clone(), clone(), ROPerson::TripItem::getCost(), ROPerson::TripItem::getDuration(), and ROPerson::Ride::saveAsXML().
|
protectedinherited |
Definition at line 194 of file ROPerson.h.
Referenced by ROPerson::Ride::clone(), clone(), and ROPerson::TripItem::getStart().
|
private |
Definition at line 285 of file ROPerson.h.