![]() |
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) |
void | clearItems () |
PlanItem * | clone () const |
void | copyItems (PersonTrip *trip, ROVehicle *veh) |
double | getArrivalPos (bool replaceDefault=true) const |
double | getCost () const |
double | getDepartPos (bool replaceDefault=true) const |
const ROEdge * | getDestination () const |
double | getDestinationPos () const |
SUMOTime | getDuration () const |
return duration sum of all trip items | |
const std::string & | getGroup () const |
SVCPermissions | getModes () const |
const ROEdge * | getOrigin () const |
const std::string & | getStopDest () const |
const std::string & | getStopOrigin () const |
virtual SUMOVehicleParameter::Stop * | getStopParameters () |
std::vector< ROVehicle * > & | getVehicles () |
double | getWalkFactor () const |
virtual bool | isStop () const |
virtual bool | needsRouting () const |
PersonTrip (const ROEdge *_to, const std::string _stopDest) | |
PersonTrip (const ROEdge *const _from, const ROEdge *const _to, const SVCPermissions modeSet, const double departPos, const std::string &_stopOrigin, const double arrivalPos, const std::string &_stopDest, double _walkFactor, const std::string &_group) | |
void | saveAsXML (OutputDevice &os, const bool extended, const bool asTrip, OptionsCont &options) const |
void | saveVehicles (OutputDevice &os, OutputDevice *const typeos, bool asAlternatives, OptionsCont &options) const |
void | updateModes (SVCPermissions additionalModes) |
virtual | ~PersonTrip () |
Destructor. | |
Static Public Attributes | |
static const std::string | UNDEFINED_STOPPING_PLACE |
Private Member Functions | |
PersonTrip & | operator= (const PersonTrip &src) |
Invalidated assignment operator. | |
Private Attributes | |
const double | arr |
const double | dep |
const ROEdge * | from |
const std::string | group |
group id for travelling in groups | |
SVCPermissions | modes |
std::vector< TripItem * > | myTripItems |
the fully specified trips | |
std::vector< ROVehicle * > | myVehicles |
the vehicles which may be used for routing | |
const std::string | stopDest |
const std::string | stopOrigin |
const ROEdge * | to |
double | walkFactor |
walking speed factor | |
A planItem can be a Trip which contains multiple tripItems.
Definition at line 298 of file ROPerson.h.
|
inline |
Definition at line 300 of file ROPerson.h.
|
inline |
Definition at line 302 of file ROPerson.h.
|
inlinevirtual |
|
inlinevirtual |
Reimplemented from ROPerson::PlanItem.
Definition at line 318 of file ROPerson.h.
References myTripItems.
Referenced by ROPerson::computeIntermodal().
|
inline |
Definition at line 321 of file ROPerson.h.
References myVehicles.
Referenced by ROPerson::addTrip().
|
inline |
Definition at line 376 of file ROPerson.h.
References myTripItems.
Referenced by ROPerson::computeRoute().
|
virtual |
Implements ROPerson::PlanItem.
Definition at line 224 of file ROPerson.cpp.
References myTripItems.
Referenced by ROPerson::computeRoute().
|
inline |
Definition at line 383 of file ROPerson.h.
References myTripItems, and myVehicles.
Referenced by ROPerson::computeRoute().
|
inline |
Definition at line 343 of file ROPerson.h.
References arr.
Referenced by ROPerson::computeIntermodal(), and getDestinationPos().
|
inline |
Definition at line 368 of file ROPerson.h.
References myTripItems.
Referenced by ROPerson::computeRoute().
|
inline |
Definition at line 340 of file ROPerson.h.
References dep.
Referenced by ROPerson::computeIntermodal().
|
inlinevirtual |
Implements ROPerson::PlanItem.
Definition at line 330 of file ROPerson.h.
References to.
Referenced by ROPerson::computeIntermodal().
|
inlinevirtual |
Implements ROPerson::PlanItem.
Definition at line 333 of file ROPerson.h.
References getArrivalPos(), and myTripItems.
|
virtual |
return duration sum of all trip items
Implements ROPerson::PlanItem.
Definition at line 318 of file ROPerson.cpp.
|
inline |
Definition at line 353 of file ROPerson.h.
References group.
Referenced by ROPerson::computeIntermodal().
|
inline |
Definition at line 346 of file ROPerson.h.
References modes.
Referenced by ROPerson::computeIntermodal().
|
inlinevirtual |
Implements ROPerson::PlanItem.
Definition at line 327 of file ROPerson.h.
References from, and myTripItems.
Referenced by ROPerson::computeIntermodal().
|
inlinevirtual |
Reimplemented from ROPerson::PlanItem.
Definition at line 361 of file ROPerson.h.
References stopDest.
Referenced by ROPerson::computeIntermodal().
|
inline |
Definition at line 357 of file ROPerson.h.
References stopOrigin.
Referenced by ROPerson::computeIntermodal().
|
inlinevirtualinherited |
Reimplemented in ROPerson::Stop.
Definition at line 103 of file ROPerson.h.
|
inline |
Definition at line 324 of file ROPerson.h.
References myVehicles.
Referenced by ROPerson::addTrip(), and ROPerson::computeRoute().
|
inline |
Definition at line 402 of file ROPerson.h.
References walkFactor.
Referenced by ROPerson::computeIntermodal().
|
inlinevirtualinherited |
Reimplemented in ROPerson::Stop.
Definition at line 97 of file ROPerson.h.
|
inlinevirtual |
Reimplemented from ROPerson::PlanItem.
Definition at line 364 of file ROPerson.h.
References myTripItems.
Referenced by ROPerson::computeIntermodal().
|
private |
Invalidated assignment operator.
|
virtual |
Implements ROPerson::PlanItem.
Definition at line 242 of file ROPerson.cpp.
References GeoConvHelper::cartesian2geo(), OutputDevice::closeTag(), OptionsCont::getBool(), GeoConvHelper::getFinal(), gPrecision, gPrecisionGeo, MIN2(), OutputDevice::openTag(), OutputDevice::setPrecision(), SUMO_ATTR_ARRIVALPOS, SUMO_ATTR_BUS_STOP, SUMO_ATTR_COSTS, 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, SVC_TAXI, toString(), and OutputDevice::writeAttr().
Referenced by saveVehicles().
|
virtual |
Reimplemented from ROPerson::PlanItem.
Definition at line 233 of file ROPerson.cpp.
References RONet::getInstance(), RONet::knowsVehicle(), and saveAsXML().
|
inline |
Definition at line 349 of file ROPerson.h.
References modes.
Referenced by ROPerson::addTrip().
|
private |
Definition at line 413 of file ROPerson.h.
Referenced by getArrivalPos().
|
private |
Definition at line 413 of file ROPerson.h.
Referenced by getDepartPos().
|
private |
Definition at line 410 of file ROPerson.h.
Referenced by getOrigin().
|
private |
group id for travelling in groups
Definition at line 423 of file ROPerson.h.
Referenced by getGroup().
|
private |
Definition at line 412 of file ROPerson.h.
Referenced by getModes(), and updateModes().
|
private |
the fully specified trips
Definition at line 417 of file ROPerson.h.
Referenced by addTripItem(), clearItems(), clone(), copyItems(), getCost(), getDestinationPos(), getOrigin(), needsRouting(), and ~PersonTrip().
|
private |
the vehicles which may be used for routing
Definition at line 419 of file ROPerson.h.
Referenced by addVehicle(), copyItems(), getVehicles(), and ~PersonTrip().
|
private |
Definition at line 415 of file ROPerson.h.
Referenced by getStopDest().
|
private |
Definition at line 414 of file ROPerson.h.
Referenced by getStopOrigin().
|
private |
Definition at line 411 of file ROPerson.h.
Referenced by getDestination().
|
staticinherited |
Definition at line 112 of file ROPerson.h.
Referenced by ROPerson::PlanItem::getStopDest().
|
private |