![]() |
Eclipse SUMO - Simulation of Urban MObility
|
#include <MSBaseVehicle.h>
Public Member Functions | |
| BaseInfluencer () | |
| Constructor. | |
| double | getExtraImpatience () const |
| return the current routing mode | |
| SUMOAbstractRouter< MSEdge, SUMOVehicle > & | getRouterTT (const int rngIndex, SUMOVehicleClass svc) const |
| int | getRoutingMode () const |
| return the current routing mode | |
| void | setExtraImpatience (double value) |
| Sets routing behavior. | |
| void | setRoutingMode (int value) |
| Sets routing behavior. | |
| virtual | ~BaseInfluencer () |
| Destructor. | |
Static Public Member Functions | |
| static void | cleanup () |
| Static cleanup. | |
| static void | init () |
| Static initalization. | |
Protected Attributes | |
| double | myExtraImpatience = 0 |
| dynamic impatience offset | |
| int | myRoutingMode |
| routing mode (see TraCIConstants.h) | |
Definition at line 827 of file MSBaseVehicle.h.
| MSBaseVehicle::BaseInfluencer::BaseInfluencer | ( | ) |
Constructor.
Definition at line 78 of file MSBaseVehicle.cpp.
|
inlinevirtual |
Destructor.
Definition at line 833 of file MSBaseVehicle.h.
|
static |
Static cleanup.
|
inline |
return the current routing mode
Definition at line 855 of file MSBaseVehicle.h.
References myExtraImpatience.
| SUMOAbstractRouter< MSEdge, SUMOVehicle > & MSBaseVehicle::BaseInfluencer::getRouterTT | ( | const int | rngIndex, |
| SUMOVehicleClass | svc | ||
| ) | const |
Definition at line 83 of file MSBaseVehicle.cpp.
References MSNet::getInstance(), MSNet::getRouterTT(), MSRoutingEngine::getRouterTT(), and libsumo::ROUTING_MODE_AGGREGATED.
Referenced by LIBSUMO_NAMESPACE::Vehicle::changeTarget(), MSBaseVehicle::insertStop(), LIBSUMO_NAMESPACE::Vehicle::moveTo(), MSBaseVehicle::replaceStop(), MSBaseVehicle::rerouteBetweenStops(), MSVehicle::rerouteParkingArea(), and LIBSUMO_NAMESPACE::Vehicle::rerouteTraveltime().
|
inline |
return the current routing mode
Definition at line 842 of file MSBaseVehicle.h.
References myRoutingMode.
Referenced by LIBSUMO_NAMESPACE::Vehicle::getRoutingMode(), MSNet::getTravelTime(), and LIBSUMO_NAMESPACE::Vehicle::rerouteTraveltime().
|
static |
Static initalization.
|
inline |
Sets routing behavior.
| [in] | value | an enum value controlling the different modes |
Definition at line 862 of file MSBaseVehicle.h.
References myExtraImpatience.
Referenced by MSVehicle::updateWaitingTime().
|
inline |
Sets routing behavior.
| [in] | value | an enum value controlling the different modes |
Definition at line 849 of file MSBaseVehicle.h.
References myRoutingMode.
Referenced by LIBSUMO_NAMESPACE::Vehicle::rerouteTraveltime(), and LIBSUMO_NAMESPACE::Vehicle::setRoutingMode().
|
protected |
dynamic impatience offset
Definition at line 874 of file MSBaseVehicle.h.
Referenced by getExtraImpatience(), and setExtraImpatience().
|
protected |
routing mode (see TraCIConstants.h)
Definition at line 871 of file MSBaseVehicle.h.
Referenced by getRoutingMode(), and setRoutingMode().