![]() |
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 | |
const ROEdge * | getDestination () const |
double | getDestinationPos () const |
const ROEdge * | getOrigin () const |
void | saveAsXML (OutputDevice &os, const bool extended) const |
Walk (const ConstROEdgeVector &_edges, const double _cost, double departPos=std::numeric_limits< double >::infinity(), double arrivalPos=std::numeric_limits< double >::infinity(), const std::string &_destStop="") | |
Walk (const ConstROEdgeVector &edges, const double _cost, const double duration, const double speed, const double departPos, const double arrivalPos, const std::string &_destStop) | |
Protected Attributes | |
double | cost |
Private Member Functions | |
Walk & | operator= (const Walk &src) |
Invalidated assignment operator. More... | |
Private Attributes | |
const double | arr |
const double | dep |
const std::string | destStop |
const double | dur |
const ConstROEdgeVector | edges |
const double | v |
A walk is part of a trip, e.g., go from here to here by foot.
Definition at line 203 of file ROPerson.h.
|
inline |
Definition at line 205 of file ROPerson.h.
|
inline |
Definition at line 210 of file ROPerson.h.
|
inlinevirtual |
Implements ROPerson::TripItem.
Definition at line 216 of file ROPerson.h.
|
inlinevirtual |
Implements ROPerson::TripItem.
Definition at line 219 of file ROPerson.h.
References ROPerson::PlanItem::saveAsXML().
|
inlinevirtual |
Implements ROPerson::TripItem.
Definition at line 213 of file ROPerson.h.
|
virtual |
Implements ROPerson::TripItem.
Definition at line 150 of file ROPerson.cpp.
References OutputDevice::closeTag(), RONet::getInstance(), RONet::getStoppingPlaceName(), OutputDevice::openTag(), SUMO_ATTR_ARRIVALPOS, SUMO_ATTR_BUS_STOP, SUMO_ATTR_COST, SUMO_ATTR_DEPARTPOS, SUMO_ATTR_DURATION, SUMO_ATTR_EDGES, SUMO_ATTR_SPEED, SUMO_TAG_WALK, and OutputDevice::writeAttr().
|
private |
Definition at line 226 of file ROPerson.h.
|
protectedinherited |
Definition at line 152 of file ROPerson.h.
|
private |
Definition at line 226 of file ROPerson.h.
|
private |
Definition at line 227 of file ROPerson.h.
|
private |
Definition at line 226 of file ROPerson.h.
|
private |
Definition at line 225 of file ROPerson.h.
|
private |
Definition at line 226 of file ROPerson.h.