![]() |
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.
Referenced by ROPerson::computeIntermodal().
|
inline |
Definition at line 288 of file ROPerson.h.
Referenced by ROPerson::addTrip().
|
virtual |
|
inline |
Definition at line 310 of file ROPerson.h.
References POSITION_EPS.
Referenced by ROPerson::computeIntermodal().
|
inline |
Definition at line 307 of file ROPerson.h.
Referenced by ROPerson::computeIntermodal().
|
inlinevirtual |
Implements ROPerson::PlanItem.
Definition at line 297 of file ROPerson.h.
Referenced by ROPerson::computeIntermodal().
|
inlinevirtual |
Implements ROPerson::PlanItem.
Definition at line 300 of file ROPerson.h.
|
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.
Referenced by ROPerson::computeIntermodal().
|
inlinevirtual |
Implements ROPerson::PlanItem.
Definition at line 294 of file ROPerson.h.
Referenced by ROPerson::computeIntermodal().
|
inline |
Definition at line 316 of file ROPerson.h.
Referenced by ROPerson::computeIntermodal().
|
inline |
Definition at line 291 of file ROPerson.h.
Referenced by ROPerson::addTrip(), and ROPerson::computeRoute().
|
inline |
Definition at line 325 of file ROPerson.h.
References ROPerson::PlanItem::getDuration().
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 ROPerson::PlanItem::saveAsXML(), and ROPerson::PlanItem::saveVehicles().
|
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.
|
private |
Definition at line 336 of file ROPerson.h.
|
private |
Definition at line 333 of file ROPerson.h.
|
private |
Definition at line 335 of file ROPerson.h.
|
private |
|
private |
the vehicles which may be used for routing
Definition at line 341 of file ROPerson.h.
|
private |
Definition at line 337 of file ROPerson.h.
|
private |
Definition at line 334 of file ROPerson.h.
|
private |
walking speed factor
Definition at line 343 of file ROPerson.h.