![]() |
Eclipse SUMO - Simulation of Urban MObility
|
#include <MSBaseVehicle.h>
Public Member Functions | |
| BaseInfluencer () | |
| Constructor. More... | |
| SUMOAbstractRouter< MSEdge, SUMOVehicle > & | getRouterTT (const int rngIndex, SUMOVehicleClass svc) const |
| int | getRoutingMode () const |
| return the current routing mode More... | |
| void | setRoutingMode (int value) |
| Sets routing behavior. More... | |
| virtual | ~BaseInfluencer () |
| Destructor. More... | |
Static Public Member Functions | |
| static void | cleanup () |
| Static cleanup. More... | |
| static void | init () |
| Static initalization. More... | |
Protected Attributes | |
| int | myRoutingMode |
| routing mode (see TraCIConstants.h) More... | |
Definition at line 785 of file MSBaseVehicle.h.
| MSBaseVehicle::BaseInfluencer::BaseInfluencer | ( | ) |
Constructor.
Definition at line 78 of file MSBaseVehicle.cpp.
|
inlinevirtual |
Destructor.
Definition at line 791 of file MSBaseVehicle.h.
|
static |
Static cleanup.
| 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 800 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 807 of file MSBaseVehicle.h.
References myRoutingMode.
Referenced by LIBSUMO_NAMESPACE::Vehicle::rerouteTraveltime(), and LIBSUMO_NAMESPACE::Vehicle::setRoutingMode().
|
protected |
routing mode (see TraCIConstants.h)
Definition at line 816 of file MSBaseVehicle.h.
Referenced by getRoutingMode(), and setRoutingMode().