![]() |
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.
References arr, dep, destStop, dur, edges, exitTimes, ROPerson::TripItem::TripItem(), and v.
Referenced by clone(), and operator=().
|
inline |
Definition at line 263 of file ROPerson.h.
References arr, dep, destStop, dur, edges, ROPerson::TripItem::TripItem(), and v.
|
inlinevirtual |
Implements ROPerson::TripItem.
Definition at line 267 of file ROPerson.h.
References arr, dep, destStop, edges, exitTimes, ROPerson::TripItem::myCost, ROPerson::TripItem::myStart, ROPerson::TripItem::TripItem(), and Walk().
|
inlineinherited |
Definition at line 190 of file ROPerson.h.
References myCost.
|
inlinevirtual |
|
inlinevirtual |
|
inlineinherited |
Definition at line 186 of file ROPerson.h.
References myCost, and TIME2STEPS.
Referenced by ROPerson::Ride::saveAsXML(), and ROPerson::Walk::saveAsXML().
|
inlinevirtual |
|
inlineinherited |
Definition at line 182 of file ROPerson.h.
References myStart.
Referenced by ROPerson::Ride::saveAsXML(), and ROPerson::Walk::saveAsXML().
Invalidated assignment operator.
References Walk().
|
virtual |
Implements ROPerson::TripItem.
Definition at line 203 of file ROPerson.cpp.
References arr, OutputDevice::closeTag(), destStop, dur, edges, exitTimes, OptionsCont::getBool(), ROPerson::TripItem::getDuration(), RONet::getInstance(), ROPerson::TripItem::getStart(), RONet::getStoppingPlaceElement(), RONet::getStoppingPlaceName(), ROPerson::TripItem::myCost, OutputDevice::openTag(), SUMO_ATTR_ARRIVALPOS, SUMO_ATTR_COST, SUMO_ATTR_DURATION, SUMO_ATTR_EDGES, SUMO_ATTR_SPEED, SUMO_TAG_WALK, time2string(), v, and OutputDevice::writeAttr().
|
private |
Definition at line 285 of file ROPerson.h.
Referenced by clone(), getDestinationPos(), saveAsXML(), Walk(), and Walk().
|
private |
Definition at line 285 of file ROPerson.h.
|
private |
Definition at line 286 of file ROPerson.h.
Referenced by clone(), saveAsXML(), Walk(), and Walk().
|
private |
Definition at line 285 of file ROPerson.h.
Referenced by saveAsXML(), Walk(), and Walk().
|
private |
Definition at line 283 of file ROPerson.h.
Referenced by clone(), getDestination(), getOrigin(), saveAsXML(), Walk(), and Walk().
|
private |
Definition at line 284 of file ROPerson.h.
Referenced by clone(), saveAsXML(), and Walk().
|
protectedinherited |
Definition at line 195 of file ROPerson.h.
Referenced by ROPerson::Ride::clone(), ROPerson::Walk::clone(), getCost(), getDuration(), ROPerson::Ride::saveAsXML(), ROPerson::Walk::saveAsXML(), and TripItem().
|
protectedinherited |
Definition at line 194 of file ROPerson.h.
Referenced by ROPerson::Ride::clone(), ROPerson::Walk::clone(), getStart(), and TripItem().
|
private |
Definition at line 285 of file ROPerson.h.
Referenced by saveAsXML(), Walk(), and Walk().