![]() |
Eclipse SUMO - Simulation of Urban MObility
|
A planItem can be a Trip which contains multiple tripItems. More...
#include <ROPerson.h>
Public Member Functions | |
virtual void | addTripItem (TripItem *tripIt) |
void | addVehicle (ROVehicle *veh) |
PlanItem * | clone () const |
double | getArrivalPos (bool replaceDefault=true) const |
double | getDepartPos (bool replaceDefault=true) const |
const ROEdge * | getDestination () const |
double | getDestinationPos () const |
SUMOTime | getDuration () const |
return duration sum of all trip items More... | |
SVCPermissions | getModes () const |
const ROEdge * | getOrigin () const |
const std::string & | getStopDest () const |
std::vector< ROVehicle * > & | getVehicles () |
double | getWalkFactor () const |
virtual bool | isStop () const |
virtual bool | needsRouting () const |
PersonTrip () | |
PersonTrip (const ROEdge *const from, const ROEdge *const to, const SVCPermissions modeSet, const double departPos, const double arrivalPos, const std::string &_stopDest, double _walkFactor) | |
void | saveAsXML (OutputDevice &os, const bool extended, const bool asTrip, const bool writeGeoTrip) const |
void | saveVehicles (OutputDevice &os, OutputDevice *const typeos, bool asAlternatives, OptionsCont &options) const |
virtual | ~PersonTrip () |
Destructor. More... | |
Private Member Functions | |
PersonTrip & | operator= (const PersonTrip &src) |
Invalidated assignment operator. More... | |
Private Attributes | |
const double | arr |
const double | dep |
const ROEdge * | from |
const SVCPermissions | modes |
std::vector< TripItem * > | myTripItems |
the fully specified trips More... | |
std::vector< ROVehicle * > | myVehicles |
the vehicles which may be used for routing More... | |
const std::string | stopDest |
const ROEdge * | to |
double | walkFactor |
walking speed factor More... | |
A planItem can be a Trip which contains multiple tripItems.
Definition at line 265 of file ROPerson.h.
|
inline |
Definition at line 267 of file ROPerson.h.
|
inline |
Definition at line 269 of file ROPerson.h.
|
inlinevirtual |
|
inlinevirtual |
Reimplemented from ROPerson::PlanItem.
Definition at line 285 of file ROPerson.h.
References myTripItems.
Referenced by ROPerson::computeIntermodal().
|
inline |
Definition at line 288 of file ROPerson.h.
References myVehicles.
Referenced by ROPerson::addTrip().
|
virtual |
|
inline |
Definition at line 310 of file ROPerson.h.
References arr, and POSITION_EPS.
Referenced by ROPerson::computeIntermodal(), and getDestinationPos().
|
inline |
Definition at line 307 of file ROPerson.h.
References dep.
Referenced by ROPerson::computeIntermodal().
|
inlinevirtual |
Implements ROPerson::PlanItem.
Definition at line 297 of file ROPerson.h.
References to.
Referenced by ROPerson::computeIntermodal().
|
inlinevirtual |
Implements ROPerson::PlanItem.
Definition at line 300 of file ROPerson.h.
References getArrivalPos(), and myTripItems.
|
virtual |
return duration sum of all trip items
Implements ROPerson::PlanItem.
Definition at line 267 of file ROPerson.cpp.
|
inline |
Definition at line 313 of file ROPerson.h.
References modes.
Referenced by ROPerson::computeIntermodal().
|
inlinevirtual |
Implements ROPerson::PlanItem.
Definition at line 294 of file ROPerson.h.
References from, and myTripItems.
Referenced by ROPerson::computeIntermodal().
|
inline |
Definition at line 316 of file ROPerson.h.
References stopDest.
Referenced by ROPerson::computeIntermodal().
|
inline |
Definition at line 291 of file ROPerson.h.
References myVehicles.
Referenced by ROPerson::addTrip(), and ROPerson::computeRoute().
|
inline |
Definition at line 325 of file ROPerson.h.
References walkFactor.
Referenced by ROPerson::computeIntermodal().
|
inlinevirtualinherited |
Reimplemented in ROPerson::Stop.
Definition at line 95 of file ROPerson.h.
|
inlinevirtual |
Reimplemented from ROPerson::PlanItem.
Definition at line 319 of file ROPerson.h.
References myTripItems.
|
private |
Invalidated assignment operator.
|
virtual |
Implements ROPerson::PlanItem.
Definition at line 202 of file ROPerson.cpp.
References GeoConvHelper::cartesian2geo(), OutputDevice::closeTag(), GeoConvHelper::getFinal(), gPrecision, gPrecisionGeo, MIN2(), OutputDevice::openTag(), OutputDevice::setPrecision(), SUMO_ATTR_ARRIVALPOS, SUMO_ATTR_BUS_STOP, SUMO_ATTR_DEPARTPOS, SUMO_ATTR_FROM, SUMO_ATTR_FROMLONLAT, SUMO_ATTR_FROMXY, SUMO_ATTR_MODES, SUMO_ATTR_TO, SUMO_ATTR_TOLONLAT, SUMO_ATTR_TOXY, SUMO_ATTR_WALKFACTOR, SUMO_TAG_PERSONTRIP, SVC_BICYCLE, SVC_BUS, SVC_PASSENGER, toString(), GeoConvHelper::usingGeoProjection(), and OutputDevice::writeAttr().
|
virtual |
Reimplemented from ROPerson::PlanItem.
Definition at line 195 of file ROPerson.cpp.
|
private |
Definition at line 336 of file ROPerson.h.
Referenced by getArrivalPos().
|
private |
Definition at line 336 of file ROPerson.h.
Referenced by getDepartPos().
|
private |
Definition at line 333 of file ROPerson.h.
Referenced by getOrigin().
|
private |
Definition at line 335 of file ROPerson.h.
Referenced by getModes().
|
private |
the fully specified trips
Definition at line 339 of file ROPerson.h.
Referenced by addTripItem(), clone(), getDestinationPos(), getOrigin(), needsRouting(), and ~PersonTrip().
|
private |
the vehicles which may be used for routing
Definition at line 341 of file ROPerson.h.
Referenced by addVehicle(), getVehicles(), and ~PersonTrip().
|
private |
Definition at line 337 of file ROPerson.h.
Referenced by getStopDest().
|
private |
Definition at line 334 of file ROPerson.h.
Referenced by getDestination().
|
private |