![]() |
SUMO - Simulation of Urban MObility
|
C++ TraCI client API implementation. More...
#include <TraCI_Vehicle.h>

Static Public Member Functions | |
Value retrieval | |
| static std::vector< std::string > | getIDList () |
| static int | getIDCount () |
| static double | getSpeed (const std::string &vehicleID) |
| static double | getSpeedWithoutTraCI (const std::string &vehicleID) |
| static TraCIPosition | getPosition (const std::string &vehicleID) |
| static TraCIPosition | getPosition3D (const std::string &vehicleID) |
| static double | getAngle (const std::string &vehicleID) |
| static double | getSlope (const std::string &vehicleID) |
| static std::string | getRoadID (const std::string &vehicleID) |
| static std::string | getLaneID (const std::string &vehicleID) |
| static int | getLaneIndex (const std::string &vehicleID) |
| static std::string | getTypeID (const std::string &vehicleID) |
| static std::string | getRouteID (const std::string &vehicleID) |
| static int | getRouteIndex (const std::string &vehicleID) |
| static TraCIColor | getColor (const std::string &vehicleID) |
| static double | getLanePosition (const std::string &vehicleID) |
| static double | getLateralLanePosition (const std::string &vehicleID) |
| static double | getCO2Emission (const std::string &vehicleID) |
| static double | getCOEmission (const std::string &vehicleID) |
| static double | getHCEmission (const std::string &vehicleID) |
| static double | getPMxEmission (const std::string &vehicleID) |
| static double | getNOxEmission (const std::string &vehicleID) |
| static double | getFuelConsumption (const std::string &vehicleID) |
| static double | getNoiseEmission (const std::string &vehicleID) |
| static double | getElectricityConsumption (const std::string &vehicleID) |
| static int | getPersonNumber (const std::string &vehicleID) |
| static std::pair< std::string, double > | getLeader (const std::string &vehicleID, double dist) |
| static double | getWaitingTime (const std::string &vehicleID) |
| static double | getAccumulatedWaitingTime (const std::string &vehicleID) |
| static double | getAdaptedTraveltime (const std::string &vehicleID, const std::string &edgeID, int time) |
| static double | getEffort (const std::string &vehicleID, const std::string &edgeID, int time) |
| static bool | isRouteValid (const std::string &vehicleID) |
| static std::vector< std::string > | getEdges (const std::string &vehicleID) |
| static int | getSignalStates (const std::string &vehicleID) |
| static std::vector< TraCIBestLanesData > | getBestLanes (const std::string &vehicleID) |
| static std::vector< TraCINextTLSData > | getNextTLS (const std::string &vehicleID) |
| static int | getStopState (const std::string &vehicleID) |
| static double | getDistance (const std::string &vehicleID) |
| static double | getDrivingDistance (const std::string &vehicleID, const std::string &edgeID, double position, int laneIndex) |
| static double | getDrivingDistance2D (const std::string &vehicleID, double x, double y) |
| static double | getAllowedSpeed (const std::string &vehicleID) |
| static double | getSpeedFactor (const std::string &vehicleID) |
| static int | getSpeedMode (const std::string &vehicleID) |
| static int | getLanechangeMode (const std::string &vehicleID) |
| static int | getRoutingMode (const std::string &vehicleID) |
| static std::string | getLine (const std::string &vehicleID) |
| static std::vector< std::string > | getVia (const std::string &vehicleID) |
| static std::pair< int, int > | getLaneChangeState (const std::string &vehicleID, int direction) |
| static std::string | getParameter (const std::string &vehicleID, const std::string &key) |
| static const MSVehicleType & | getVehicleType (const std::string &vehicleID) |
vehicle type value retrieval shortcuts | |
| static std::string | getEmissionClass (const std::string &vehicleID) |
| static std::string | getShapeClass (const std::string &vehicleID) |
| static std::string | getVClass (const std::string &vehicleID) |
| static double | getLength (const std::string &vehicleID) |
| static double | getAccel (const std::string &vehicleID) |
| static double | getDecel (const std::string &vehicleID) |
| static double | getEmergencyDecel (const std::string &vehicleID) |
| static double | getApparentDecel (const std::string &vehicleID) |
| static double | getActionStepLength (const std::string &vehicleID) |
| static double | getLastActionTime (const std::string &vehicleID) |
| static double | getTau (const std::string &vehicleID) |
| static double | getImperfection (const std::string &vehicleID) |
| static double | getSpeedDeviation (const std::string &vehicleID) |
| static double | getMinGap (const std::string &vehicleID) |
| static double | getMaxSpeed (const std::string &vehicleID) |
| static double | getWidth (const std::string &vehicleID) |
State Changing | |
| static void | setStop (const std::string &vehicleID, const std::string &edgeID, double endPos=1., int laneIndex=0, SUMOTime duration=4294967295u, int flags=STOP_DEFAULT, double startPos=INVALID_DOUBLE_VALUE, SUMOTime until=-1) |
| static void | resume (const std::string &vehicleID) |
| static void | add (const std::string &vehicleID, const std::string &routeID, const std::string &typeID="DEFAULT_VEHTYPE", std::string depart="-1", const std::string &departLane="first", const std::string &departPos="base", const std::string &departSpeed="0", const std::string &arrivalLane="current", const std::string &arrivalPos="max", const std::string &arrivalSpeed="current", const std::string &fromTaz="", const std::string &toTaz="", const std::string &line="", int personCapacity=0, int personNumber=0) |
| static void | changeTarget (const std::string &vehicleID, const std::string &edgeID) |
| static void | changeLane (const std::string &vehicleID, int laneIndex, SUMOTime duration) |
| static void | changeSublane (const std::string &vehicleID, double latDist) |
| static void | slowDown (const std::string &vehicleID, double speed, SUMOTime duration) |
| static void | setSpeed (const std::string &vehicleID, double speed) |
| static void | setType (const std::string &vehicleID, const std::string &typeID) |
| static void | setRouteID (const std::string &vehicleID, const std::string &routeID) |
| static void | setRoute (const std::string &vehicleID, const std::vector< std::string > &edgeIDs) |
| static void | setAdaptedTraveltime (const std::string &vehicleID, const std::string &edgeID, double time=INVALID_DOUBLE_VALUE, SUMOTime begTime=0, SUMOTime endTime=SUMOTime_MAX) |
| static void | setEffort (const std::string &vehicleID, const std::string &edgeID, double effort=INVALID_DOUBLE_VALUE, SUMOTime begTime=0, SUMOTime endTime=SUMOTime_MAX) |
| static void | rerouteTraveltime (const std::string &vehicleID) |
| static void | rerouteEffort (const std::string &vehicleID) |
| static void | setSignals (const std::string &vehicleID, int signals) |
| static void | moveTo (const std::string &vehicleID, const std::string &laneID, double position) |
| static void | moveToXY (const std::string &vehicleID, const std::string &edgeID, const int lane, const double x, const double y, const double angle, const int keepRoute) |
| static void | setMaxSpeed (const std::string &vehicleID, double speed) |
| static void | setActionStepLength (const std::string &vehicleID, double actionStepLength, bool resetActionOffset=true) |
| static void | remove (const std::string &vehicleID, char reason=REMOVE_VAPORIZED) |
| static void | setColor (const std::string &vehicleID, const TraCIColor &col) |
| static void | setLine (const std::string &vehicleID, const std::string &line) |
| static void | setVia (const std::string &vehicleID, const std::vector< std::string > &via) |
| static void | setShapeClass (const std::string &vehicleID, const std::string &clazz) |
| static void | setEmissionClass (const std::string &vehicleID, const std::string &clazz) |
| static void | setParameter (const std::string &vehicleID, const std::string &key, const std::string &value) |
Private Member Functions | |
| TraCI_Vehicle & | operator= (const TraCI_Vehicle &src) |
| invalidated assignment operator More... | |
| TraCI_Vehicle () | |
| invalidated standard constructor More... | |
| TraCI_Vehicle (const TraCI_Vehicle &src) | |
| invalidated copy constructor More... | |
Static Private Member Functions | |
| static MSVehicle * | getVehicle (const std::string &id) |
| static bool | isOnInit (const std::string &vehicleID) |
| static bool | isVisible (const MSVehicle *veh) |
C++ TraCI client API implementation.
Definition at line 52 of file TraCI_Vehicle.h.
|
private |
invalidated standard constructor
|
private |
invalidated copy constructor
|
static |
Definition at line 753 of file TraCI_Vehicle.cpp.
References getVehicle(), and UNUSED_PARAMETER.
|
static |
Definition at line 738 of file TraCI_Vehicle.cpp.
References MSVehicle::getInfluencer(), MSNet::getInstance(), getVehicle(), and MSVehicle::Influencer::setLaneTimeLine().
Referenced by TraCIServerAPI_Vehicle::processSet().
|
static |
Definition at line 747 of file TraCI_Vehicle.cpp.
References MSVehicle::getInfluencer(), getVehicle(), and MSVehicle::Influencer::setSublaneChange().
Referenced by TraCIServerAPI_Vehicle::processSet().
|
static |
Definition at line 712 of file TraCI_Vehicle.cpp.
References SUMOAbstractRouter< E, V >::compute(), MSEdge::dictionary(), MSBaseVehicle::getID(), MSNet::getInstance(), MSVehicle::getRerouteOrigin(), MSNet::getRouterTT(), getVehicle(), isOnInit(), MSBaseVehicle::replaceRouteEdges(), and MSBaseVehicle::reroute().
Referenced by TraCIServerAPI_Vehicle::processSet().
|
static |
Definition at line 563 of file TraCI_Vehicle.cpp.
References MSVehicleType::getLength(), and getVehicleType().
|
static |
Definition at line 270 of file TraCI_Vehicle.cpp.
References MSVehicle::getAccumulatedWaitingSeconds(), and getVehicle().
Referenced by TraCIServerAPI_Vehicle::processGet().
|
static |
Definition at line 580 of file TraCI_Vehicle.cpp.
References MSVehicleType::getActionStepLengthSecs(), and getVehicleType().
|
static |
Definition at line 276 of file TraCI_Vehicle.cpp.
References TraCI::getEdge(), getVehicle(), MSVehicle::getWeightsStorage(), INVALID_DOUBLE_VALUE, and MSEdgeWeightsStorage::retrieveExistingTravelTime().
Referenced by TraCIServerAPI_Vehicle::processGet().
|
static |
Definition at line 455 of file TraCI_Vehicle.cpp.
References MSVehicle::getLane(), getVehicle(), MSLane::getVehicleMaxSpeed(), INVALID_DOUBLE_VALUE, and MSVehicle::isOnRoad().
Referenced by TraCIServerAPI_Vehicle::processGet().
|
static |
Definition at line 129 of file TraCI_Vehicle.cpp.
References MSVehicle::getAngle(), getVehicle(), INVALID_DOUBLE_VALUE, isVisible(), and GeomHelper::naviDegree().
Referenced by TraCIServerAPI_Vehicle::processGet().
|
static |
Definition at line 577 of file TraCI_Vehicle.cpp.
References MSCFModel::getApparentDecel(), MSVehicleType::getCarFollowModel(), and getVehicleType().
|
static |
Definition at line 319 of file TraCI_Vehicle.cpp.
References TraCIBestLanesData::allowsContinuation, MSVehicle::LaneQ::allowsContinuation, MSVehicle::LaneQ::bestContinuations, TraCIBestLanesData::bestLaneOffset, MSVehicle::LaneQ::bestLaneOffset, TraCIBestLanesData::continuationLanes, MSVehicle::getBestLanes(), Named::getID(), getVehicle(), MSVehicle::isOnRoad(), MSVehicle::LaneQ::lane, TraCIBestLanesData::laneID, TraCIBestLanesData::length, MSVehicle::LaneQ::length, MSVehicle::LaneQ::nextOccupation, and TraCIBestLanesData::occupation.
Referenced by TraCIServerAPI_Vehicle::processGet().
|
static |
Definition at line 196 of file TraCI_Vehicle.cpp.
References MSVehicle::getCO2Emissions(), getVehicle(), INVALID_DOUBLE_VALUE, and isVisible().
Referenced by TraCIServerAPI_Vehicle::processGet().
|
static |
Definition at line 202 of file TraCI_Vehicle.cpp.
References MSVehicle::getCOEmissions(), getVehicle(), INVALID_DOUBLE_VALUE, and isVisible().
Referenced by TraCIServerAPI_Vehicle::processGet().
|
static |
Definition at line 179 of file TraCI_Vehicle.cpp.
References getParameter(), getVehicle(), and TraCI::makeTraCIColor().
Referenced by TraCIServerAPI_Vehicle::processGet().
|
static |
Definition at line 569 of file TraCI_Vehicle.cpp.
References MSVehicleType::getCarFollowModel(), MSCFModel::getMaxDecel(), and getVehicleType().
|
static |
Definition at line 394 of file TraCI_Vehicle.cpp.
References MSRoute::begin(), MSBaseVehicle::getCurrentRouteEdge(), MSBaseVehicle::getDepartPos(), MSRoute::getDistanceBetween(), MSLane::getEdge(), MSVehicle::getLane(), getLength(), MSVehicle::getPositionOnLane(), MSBaseVehicle::getRoute(), getVehicle(), INVALID_DOUBLE_VALUE, MSLane::isInternal(), and MSVehicle::isOnRoad().
Referenced by TraCIServerAPI_Vehicle::processGet().
|
static |
Definition at line 421 of file TraCI_Vehicle.cpp.
References MSRoute::getDistanceBetween(), TraCI::getEdge(), MSLane::getEdge(), MSVehicle::getLane(), MSVehicle::getPositionOnLane(), MSBaseVehicle::getRoute(), getVehicle(), INVALID_DOUBLE_VALUE, and MSVehicle::isOnRoad().
Referenced by TraCIServerAPI_Vehicle::processGet().
|
static |
Definition at line 437 of file TraCI_Vehicle.cpp.
References TraCI::convertCartesianToRoadMap(), MSRoute::getDistanceBetween(), MSBaseVehicle::getEdge(), MSVehicle::getPositionOnLane(), MSBaseVehicle::getRoute(), getVehicle(), INVALID_DOUBLE_VALUE, and MSVehicle::isOnRoad().
Referenced by TraCIServerAPI_Vehicle::processGet().
|
static |
Definition at line 302 of file TraCI_Vehicle.cpp.
References MSRoute::begin(), MSRoute::end(), MSBaseVehicle::getRoute(), and getVehicle().
Referenced by TraCIServerAPI_Vehicle::processGet().
|
static |
Definition at line 286 of file TraCI_Vehicle.cpp.
References TraCI::getEdge(), getVehicle(), MSVehicle::getWeightsStorage(), INVALID_DOUBLE_VALUE, and MSEdgeWeightsStorage::retrieveExistingEffort().
Referenced by TraCIServerAPI_Vehicle::processGet().
|
static |
Definition at line 238 of file TraCI_Vehicle.cpp.
References MSVehicle::getElectricityConsumption(), getVehicle(), INVALID_DOUBLE_VALUE, and isVisible().
Referenced by TraCIServerAPI_Vehicle::processGet().
|
static |
Definition at line 574 of file TraCI_Vehicle.cpp.
References MSVehicleType::getCarFollowModel(), MSCFModel::getEmergencyDecel(), and getVehicleType().
|
static |
Definition at line 546 of file TraCI_Vehicle.cpp.
References PollutantsInterface::getName(), and getVehicleType().
|
static |
Definition at line 226 of file TraCI_Vehicle.cpp.
References MSVehicle::getFuelConsumption(), getVehicle(), INVALID_DOUBLE_VALUE, and isVisible().
Referenced by TraCIServerAPI_Vehicle::processGet().
|
static |
Definition at line 208 of file TraCI_Vehicle.cpp.
References MSVehicle::getHCEmissions(), getVehicle(), INVALID_DOUBLE_VALUE, and isVisible().
Referenced by TraCIServerAPI_Vehicle::processGet().
|
static |
Definition at line 95 of file TraCI_Vehicle.cpp.
References getIDList().
Referenced by TraCIServerAPI_Vehicle::processGet().
|
static |
Definition at line 83 of file TraCI_Vehicle.cpp.
References MSNet::getInstance(), MSNet::getVehicleControl(), MSVehicleControl::loadedVehBegin(), and MSVehicleControl::loadedVehEnd().
Referenced by getIDCount(), and TraCIServerAPI_Vehicle::processGet().
|
static |
Definition at line 594 of file TraCI_Vehicle.cpp.
References MSVehicleType::getCarFollowModel(), MSCFModel::getImperfection(), and getVehicleType().
|
static |
Definition at line 476 of file TraCI_Vehicle.cpp.
References MSVehicle::getInfluencer(), MSVehicle::Influencer::getLanechangeMode(), and getVehicle().
Referenced by TraCIServerAPI_Vehicle::processGet().
|
static |
Definition at line 497 of file TraCI_Vehicle.cpp.
References MSVehicle::getLaneChangeModel(), MSAbstractLaneChangeModel::getSavedState(), getVehicle(), MSVehicle::isOnRoad(), and LCA_UNKNOWN.
Referenced by TraCIServerAPI_Vehicle::processGet().
|
static |
Definition at line 150 of file TraCI_Vehicle.cpp.
References Named::getID(), MSVehicle::getLane(), getVehicle(), and MSVehicle::isOnRoad().
Referenced by TraCIServerAPI_Vehicle::processGet().
|
static |
Definition at line 157 of file TraCI_Vehicle.cpp.
References MSLane::getIndex(), MSVehicle::getLane(), getVehicle(), INVALID_INT_VALUE, and MSVehicle::isOnRoad().
Referenced by TraCIServerAPI_Vehicle::processGet().
|
static |
Definition at line 184 of file TraCI_Vehicle.cpp.
References MSVehicle::getPositionOnLane(), getVehicle(), INVALID_DOUBLE_VALUE, and MSVehicle::isOnRoad().
Referenced by TraCIServerAPI_Vehicle::processGet().
|
static |
Definition at line 583 of file TraCI_Vehicle.cpp.
References getVehicle(), and STEPS2TIME.
Referenced by TraCIServerAPI_Vehicle::processGet().
|
static |
Definition at line 190 of file TraCI_Vehicle.cpp.
References MSVehicle::getLateralPositionOnLane(), getVehicle(), INVALID_DOUBLE_VALUE, and MSVehicle::isOnRoad().
Referenced by TraCIServerAPI_Vehicle::processGet().
|
static |
Definition at line 250 of file TraCI_Vehicle.cpp.
References MSVehicle::getLeader(), getVehicle(), and MSVehicle::isOnRoad().
Referenced by TraCIServerAPI_Vehicle::processGet().
|
static |
Definition at line 557 of file TraCI_Vehicle.cpp.
References MSVehicleType::getLength(), and getVehicleType().
Referenced by getDistance().
|
static |
Definition at line 486 of file TraCI_Vehicle.cpp.
References MSBaseVehicle::getParameter(), getVehicle(), and SUMOVehicleParameter::line.
Referenced by TraCIServerAPI_Vehicle::processGet().
|
static |
Definition at line 618 of file TraCI_Vehicle.cpp.
References MSVehicleType::getMaxSpeed(), and getVehicleType().
|
static |
Definition at line 612 of file TraCI_Vehicle.cpp.
References MSVehicleType::getMinGap(), and getVehicleType().
|
static |
Definition at line 345 of file TraCI_Vehicle.cpp.
References TraCINextTLSData::dist, MSVehicle::getBestLanesContinuation(), MSLane::getEdge(), MSVehicle::getLane(), MSLane::getLength(), MSVehicle::getPositionOnLane(), getVehicle(), TraCINextTLSData::id, MSEdge::isInternal(), MSLane::isLinkEnd(), MSVehicle::isOnRoad(), TraCINextTLSData::state, MSLane::succLinkSec(), and TraCINextTLSData::tlIndex.
Referenced by TraCIServerAPI_Vehicle::processGet().
|
static |
Definition at line 232 of file TraCI_Vehicle.cpp.
References MSVehicle::getHarmonoise_NoiseEmissions(), getVehicle(), INVALID_DOUBLE_VALUE, and isVisible().
Referenced by TraCIServerAPI_Vehicle::processGet().
|
static |
Definition at line 220 of file TraCI_Vehicle.cpp.
References MSVehicle::getNOxEmissions(), getVehicle(), INVALID_DOUBLE_VALUE, and isVisible().
Referenced by TraCIServerAPI_Vehicle::processGet().
|
static |
Definition at line 508 of file TraCI_Vehicle.cpp.
References StringUtils::endsWith(), StringTokenizer::get(), MSBaseVehicle::getDeviceParameter(), MSVehicle::getLaneChangeModel(), MSBaseVehicle::getParameter(), Parameterised::getParameter(), MSAbstractLaneChangeModel::getParameter(), getVehicle(), MSBaseVehicle::hasDevice(), StringTokenizer::size(), and StringUtils::startsWith().
Referenced by getColor(), and TraCIServerAPI_Vehicle::processGet().
|
static |
Definition at line 244 of file TraCI_Vehicle.cpp.
References MSVehicle::getPersonNumber(), and getVehicle().
Referenced by TraCIServerAPI_Vehicle::processGet().
|
static |
Definition at line 214 of file TraCI_Vehicle.cpp.
References MSVehicle::getPMxEmissions(), getVehicle(), INVALID_DOUBLE_VALUE, and isVisible().
Referenced by TraCIServerAPI_Vehicle::processGet().
|
static |
Definition at line 114 of file TraCI_Vehicle.cpp.
References MSVehicle::getPosition(), getVehicle(), INVALID_DOUBLE_VALUE, isVisible(), TraCI::makeTraCIPosition(), TraCIPosition::x, TraCIPosition::y, and TraCIPosition::z.
Referenced by TraCIServerAPI_Vehicle::processGet().
|
static |
|
static |
Definition at line 143 of file TraCI_Vehicle.cpp.
References MSLane::getEdge(), Named::getID(), MSVehicle::getLane(), getVehicle(), and isVisible().
Referenced by TraCIServerAPI_Vehicle::processGet().
|
static |
Definition at line 168 of file TraCI_Vehicle.cpp.
References Named::getID(), MSBaseVehicle::getRoute(), and getVehicle().
Referenced by TraCIServerAPI_Vehicle::processGet().
|
static |
Definition at line 173 of file TraCI_Vehicle.cpp.
References MSVehicle::getRoutePosition(), getVehicle(), MSBaseVehicle::hasDeparted(), and INVALID_INT_VALUE.
Referenced by TraCIServerAPI_Vehicle::processGet().
|
static |
Definition at line 481 of file TraCI_Vehicle.cpp.
References MSVehicle::getInfluencer(), MSVehicle::Influencer::getRoutingMode(), and getVehicle().
Referenced by TraCIServerAPI_Vehicle::processGet().
|
static |
Definition at line 551 of file TraCI_Vehicle.cpp.
References getVehicleShapeName(), and getVehicleType().
|
static |
Definition at line 314 of file TraCI_Vehicle.cpp.
References MSVehicle::getSignals(), and getVehicle().
Referenced by TraCIServerAPI_Vehicle::processGet().
|
static |
Definition at line 136 of file TraCI_Vehicle.cpp.
References MSVehicle::getSlope(), getVehicle(), INVALID_DOUBLE_VALUE, and MSVehicle::isOnRoad().
Referenced by TraCIServerAPI_Vehicle::processGet().
|
static |
Definition at line 100 of file TraCI_Vehicle.cpp.
References MSVehicle::getSpeed(), getVehicle(), INVALID_DOUBLE_VALUE, and isVisible().
Referenced by TraCIServerAPI_Vehicle::processGet().
|
static |
Definition at line 600 of file TraCI_Vehicle.cpp.
References Distribution_Parameterized::getParameter(), MSVehicleType::getSpeedFactor(), and getVehicleType().
|
static |
Definition at line 465 of file TraCI_Vehicle.cpp.
References MSBaseVehicle::getChosenSpeedFactor(), and getVehicle().
Referenced by TraCIServerAPI_Vehicle::processGet().
|
static |
Definition at line 471 of file TraCI_Vehicle.cpp.
References MSVehicle::getInfluencer(), MSVehicle::Influencer::getSpeedMode(), and getVehicle().
Referenced by TraCIServerAPI_Vehicle::processGet().
|
static |
Definition at line 107 of file TraCI_Vehicle.cpp.
References MSVehicle::getSpeedWithoutTraciInfluence(), getVehicle(), INVALID_DOUBLE_VALUE, and isVisible().
Referenced by TraCIServerAPI_Vehicle::processGet().
|
static |
Definition at line 377 of file TraCI_Vehicle.cpp.
References MSVehicle::Stop::busstop, MSVehicle::Stop::chargingStation, MSVehicle::Stop::containerstop, SUMOVehicleParameter::Stop::containerTriggered, MSVehicle::getNextStop(), getVehicle(), MSVehicle::isStopped(), SUMOVehicleParameter::Stop::parking, MSVehicle::Stop::parkingarea, MSVehicle::Stop::pars, and SUMOVehicleParameter::Stop::triggered.
Referenced by TraCIServerAPI_Vehicle::processGet().
|
static |
Definition at line 588 of file TraCI_Vehicle.cpp.
References MSVehicleType::getCarFollowModel(), MSCFModel::getHeadwayTime(), and getVehicleType().
|
static |
Definition at line 163 of file TraCI_Vehicle.cpp.
References MSVehicleType::getID(), getVehicle(), and MSBaseVehicle::getVehicleType().
Referenced by TraCIServerAPI_Vehicle::processGet().
|
static |
Definition at line 606 of file TraCI_Vehicle.cpp.
References getVehicleType(), and toString().
|
staticprivate |
Definition at line 57 of file TraCI_Vehicle.cpp.
References MSNet::getInstance(), MSVehicleControl::getVehicle(), and MSNet::getVehicleControl().
Referenced by add(), changeLane(), changeSublane(), changeTarget(), getAccumulatedWaitingTime(), getAdaptedTraveltime(), getAllowedSpeed(), getAngle(), getBestLanes(), getCO2Emission(), getCOEmission(), getColor(), getDistance(), getDrivingDistance(), getDrivingDistance2D(), getEdges(), getEffort(), getElectricityConsumption(), getFuelConsumption(), getHCEmission(), getLanechangeMode(), getLaneChangeState(), getLaneID(), getLaneIndex(), getLanePosition(), getLastActionTime(), getLateralLanePosition(), getLeader(), getLine(), getNextTLS(), getNoiseEmission(), getNOxEmission(), getParameter(), getPersonNumber(), getPMxEmission(), getPosition(), getRoadID(), getRouteID(), getRouteIndex(), getRoutingMode(), getSignalStates(), getSlope(), getSpeed(), getSpeedFactor(), getSpeedMode(), getSpeedWithoutTraCI(), getStopState(), getTypeID(), getVehicleType(), getVia(), getWaitingTime(), isRouteValid(), moveTo(), moveToXY(), remove(), rerouteEffort(), rerouteTraveltime(), resume(), setActionStepLength(), setAdaptedTraveltime(), setColor(), setEffort(), setEmissionClass(), setLine(), setMaxSpeed(), setParameter(), setRoute(), setRouteID(), setShapeClass(), setSignals(), setSpeed(), setStop(), setType(), setVia(), and slowDown().
|
static |
Definition at line 540 of file TraCI_Vehicle.cpp.
References getVehicle(), and MSBaseVehicle::getVehicleType().
Referenced by getAccel(), getActionStepLength(), getApparentDecel(), getDecel(), getEmergencyDecel(), getEmissionClass(), getImperfection(), getLength(), getMaxSpeed(), getMinGap(), getShapeClass(), getSpeedDeviation(), getTau(), getVClass(), getWidth(), and TraCIServerAPI_Vehicle::processGet().
|
static |
Definition at line 491 of file TraCI_Vehicle.cpp.
References MSBaseVehicle::getParameter(), getVehicle(), and SUMOVehicleParameter::via.
Referenced by TraCIServerAPI_Vehicle::processGet().
|
static |
Definition at line 264 of file TraCI_Vehicle.cpp.
References getVehicle(), and MSVehicle::getWaitingSeconds().
Referenced by TraCIServerAPI_Vehicle::processGet().
|
static |
Definition at line 624 of file TraCI_Vehicle.cpp.
References getVehicleType(), and MSVehicleType::getWidth().
|
staticprivate |
Definition at line 77 of file TraCI_Vehicle.cpp.
References MSNet::getInstance(), SUMOVehicle::getLane(), MSVehicleControl::getVehicle(), and MSNet::getVehicleControl().
Referenced by changeTarget(), rerouteEffort(), and rerouteTraveltime().
|
static |
Definition at line 296 of file TraCI_Vehicle.cpp.
References getVehicle(), and MSBaseVehicle::hasValidRoute().
Referenced by TraCIServerAPI_Vehicle::processGet().
|
staticprivate |
Definition at line 71 of file TraCI_Vehicle.cpp.
References MSVehicle::isOnRoad(), MSVehicle::isParking(), and MSVehicle::wasRemoteControlled().
Referenced by getAngle(), getCO2Emission(), getCOEmission(), getElectricityConsumption(), getFuelConsumption(), getHCEmission(), getNoiseEmission(), getNOxEmission(), getPMxEmission(), getPosition(), getRoadID(), getSpeed(), and getSpeedWithoutTraCI().
|
static |
Definition at line 939 of file TraCI_Vehicle.cpp.
References MSInsertionControl::alreadyDeparted(), MSLane::dictionary(), MSVehicle::enterLaneAtMove(), MSLane::forceVehicleInsertion(), MSBaseVehicle::getEdge(), MSLane::getEdge(), MSNet::getInsertionControl(), MSNet::getInstance(), MSVehicle::getLane(), MSEdge::getLanes(), getVehicle(), MSNet::getVehicleControl(), MSBaseVehicle::hasDeparted(), MSVehicle::isOnRoad(), MSMoveReminder::NOTIFICATION_DEPARTED, MSMoveReminder::NOTIFICATION_TELEPORT, MSVehicle::onRemovalFromNet(), MSLane::removeVehicle(), MSVehicleControl::scheduleVehicleRemoval(), MSVehicle::setTentativeLaneAndPosition(), MSBaseVehicle::succEdge(), and MSVehicle::willPass().
Referenced by TraCIServerAPI_Vehicle::processSet().
|
static |
Definition at line 790 of file TraCI_Vehicle.cpp.
References getVehicle(), and UNUSED_PARAMETER.
|
private |
invalidated assignment operator
|
static |
Definition at line 999 of file TraCI_Vehicle.cpp.
References getVehicle(), and UNUSED_PARAMETER.
|
static |
Definition at line 919 of file TraCI_Vehicle.cpp.
References MSNet::getInstance(), getVehicle(), isOnInit(), and MSBaseVehicle::reroute().
Referenced by TraCIServerAPI_Vehicle::processSet().
|
static |
Definition at line 912 of file TraCI_Vehicle.cpp.
References MSNet::getInstance(), getVehicle(), isOnInit(), and MSBaseVehicle::reroute().
Referenced by TraCIServerAPI_Vehicle::processSet().
|
static |
Definition at line 693 of file TraCI_Vehicle.cpp.
References MSVehicle::Stop::duration, MSVehicle::Stop::edge, MSBaseVehicle::getID(), MSVehicle::getNextStop(), getVehicle(), MSVehicle::hasStops(), MSVehicle::Stop::pars, MSVehicle::Stop::reached, MSVehicle::resumeFromStopping(), and SUMOVehicleParameter::Stop::startPos.
Referenced by TraCIServerAPI_Vehicle::processSet().
|
static |
Definition at line 978 of file TraCI_Vehicle.cpp.
References MSVehicle::getActionStepLength(), MSBaseVehicle::getSingularType(), getVehicle(), SUMOVehicleParserHelper::processActionStepLength(), MSVehicle::resetActionOffset(), MSVehicleType::setActionStepLength(), MSVehicle::updateActionOffset(), and WRITE_ERROR.
Referenced by TraCIServerAPI_Vehicle::processSet().
|
static |
Definition at line 860 of file TraCI_Vehicle.cpp.
References MSEdgeWeightsStorage::addTravelTime(), MSEdge::dictionary(), getVehicle(), MSVehicle::getWeightsStorage(), INVALID_DOUBLE_VALUE, MSEdgeWeightsStorage::knowsTravelTime(), MSEdgeWeightsStorage::removeTravelTime(), STEPS2TIME, and SUMOTime_MAX.
Referenced by TraCIServerAPI_Vehicle::processSet().
|
static |
Definition at line 1006 of file TraCI_Vehicle.cpp.
References TraCIColor::a, TraCIColor::b, SUMOVehicleParameter::color, TraCIColor::g, MSBaseVehicle::getParameter(), getVehicle(), SUMOVehicleParameter::parametersSet, TraCIColor::r, RGBColor::set(), and VEHPARS_COLOR_SET.
|
static |
Definition at line 886 of file TraCI_Vehicle.cpp.
References MSEdgeWeightsStorage::addEffort(), MSEdge::dictionary(), getVehicle(), MSVehicle::getWeightsStorage(), INVALID_DOUBLE_VALUE, MSEdgeWeightsStorage::knowsEffort(), MSEdgeWeightsStorage::removeEffort(), STEPS2TIME, and SUMOTime_MAX.
Referenced by TraCIServerAPI_Vehicle::processSet().
|
static |
Definition at line 1030 of file TraCI_Vehicle.cpp.
References getVehicle(), and UNUSED_PARAMETER.
|
static |
Definition at line 1014 of file TraCI_Vehicle.cpp.
References MSBaseVehicle::getParameter(), getVehicle(), and SUMOVehicleParameter::line.
|
static |
Definition at line 973 of file TraCI_Vehicle.cpp.
References MSBaseVehicle::getSingularType(), getVehicle(), and MSVehicleType::setMaxSpeed().
|
static |
Definition at line 1037 of file TraCI_Vehicle.cpp.
References TplConvert::_2bool(), MSBaseVehicle::createDevice(), StringUtils::endsWith(), StringTokenizer::get(), MSVehicle::getLaneChangeModel(), MSBaseVehicle::getParameter(), getVehicle(), MSBaseVehicle::setDeviceParameter(), MSAbstractLaneChangeModel::setParameter(), StringTokenizer::size(), and StringUtils::startsWith().
Referenced by TraCIServerAPI_Vehicle::processSet().
|
static |
Definition at line 846 of file TraCI_Vehicle.cpp.
References MSBaseVehicle::getID(), MSVehicle::getLane(), getVehicle(), MSEdge::parseEdgesList(), and MSBaseVehicle::replaceRouteEdges().
Referenced by TraCIServerAPI_Vehicle::processSet().
|
static |
Definition at line 825 of file TraCI_Vehicle.cpp.
References MSRoute::dictionary(), MSGlobals::gCheckRoutes, MSBaseVehicle::getID(), MSVehicle::getLane(), getVehicle(), MSBaseVehicle::hasValidRoute(), MSVehicle::replaceRoute(), and WRITE_WARNING.
Referenced by TraCIServerAPI_Vehicle::processSet().
|
static |
Definition at line 1025 of file TraCI_Vehicle.cpp.
References MSBaseVehicle::getSingularType(), getVehicle(), getVehicleShapeID(), and MSVehicleType::setShape().
|
static |
Definition at line 926 of file TraCI_Vehicle.cpp.
References MSVehicle::getInfluencer(), getVehicle(), MSVehicle::Influencer::setSignals(), MSVehicle::switchOffSignal(), and MSVehicle::switchOnSignal().
Referenced by TraCIServerAPI_Vehicle::processSet().
|
static |
Definition at line 810 of file TraCI_Vehicle.cpp.
References getVehicle(), and UNUSED_PARAMETER.
|
static |
Definition at line 630 of file TraCI_Vehicle.cpp.
References MSVehicle::addTraciStop(), MSVehicle::addTraciStopAtStoppingPlace(), MSEdge::dictionary(), MSEdge::getLanes(), getVehicle(), SUMO_TAG_BUS_STOP, SUMO_TAG_CHARGING_STATION, SUMO_TAG_CONTAINER_STOP, SUMO_TAG_NOTHING, SUMO_TAG_PARKING_AREA, and toString().
Referenced by TraCIServerAPI_Vehicle::processSet().
|
static |
Definition at line 816 of file TraCI_Vehicle.cpp.
References MSNet::getInstance(), getVehicle(), MSNet::getVehicleControl(), MSVehicleControl::getVType(), and MSBaseVehicle::replaceVehicleType().
Referenced by TraCIServerAPI_Vehicle::processSet().
|
static |
Definition at line 1019 of file TraCI_Vehicle.cpp.
References getVehicle(), and UNUSED_PARAMETER.
|
static |
Definition at line 801 of file TraCI_Vehicle.cpp.
References MSVehicle::getInfluencer(), MSNet::getInstance(), MSVehicle::getSpeed(), getVehicle(), and MSVehicle::Influencer::setSpeedTimeLine().
Referenced by TraCIServerAPI_Vehicle::processSet().