![]() |
Eclipse SUMO - Simulation of Urban MObility
|
A TripItem is part of a trip, e.g., go from here to here by car. More...
#include <ROPerson.h>
Public Member Functions | |
| virtual TripItem * | clone () const =0 |
| double | getCost () const |
| virtual const ROEdge * | getDestination () const =0 |
| virtual double | getDestinationPos () const =0 |
| SUMOTime | getDuration () const |
| virtual const ROEdge * | getOrigin () const =0 |
| SUMOTime | getStart () const |
| virtual void | saveAsXML (OutputDevice &os, const bool extended, OptionsCont &options) const =0 |
| TripItem (const SUMOTime start, const double cost) | |
| virtual | ~TripItem () |
| Destructor. | |
Protected Attributes | |
| const double | myCost |
| const SUMOTime | myStart |
A TripItem is part of a trip, e.g., go from here to here by car.
Definition at line 167 of file ROPerson.h.
|
inline |
Definition at line 169 of file ROPerson.h.
References myCost, and myStart.
Referenced by ROPerson::Ride::clone(), clone(), ROPerson::Walk::clone(), ROPerson::Ride::Ride(), ROPerson::Walk::Walk(), and ROPerson::Walk::Walk().
|
inlinevirtual |
Destructor.
Definition at line 173 of file ROPerson.h.
|
pure virtual |
Implemented in ROPerson::Ride, and ROPerson::Walk.
References TripItem().
|
inline |
Definition at line 190 of file ROPerson.h.
References myCost.
|
pure virtual |
Implemented in ROPerson::Ride, and ROPerson::Walk.
|
pure virtual |
Implemented in ROPerson::Ride, and ROPerson::Walk.
|
inline |
Definition at line 186 of file ROPerson.h.
References myCost, and TIME2STEPS.
Referenced by ROPerson::Ride::saveAsXML(), and ROPerson::Walk::saveAsXML().
|
pure virtual |
Implemented in ROPerson::Ride, and ROPerson::Walk.
|
inline |
Definition at line 182 of file ROPerson.h.
References myStart.
Referenced by ROPerson::Ride::saveAsXML(), and ROPerson::Walk::saveAsXML().
|
pure virtual |
Implemented in ROPerson::Ride, and ROPerson::Walk.
|
protected |
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().
|
protected |
Definition at line 194 of file ROPerson.h.
Referenced by ROPerson::Ride::clone(), ROPerson::Walk::clone(), getStart(), and TripItem().