Eclipse SUMO - Simulation of Urban MObility
|
#include <Vehicle.h>
Static Public Member Functions | |
static void | addSubscriptionFilterCFManeuver (double downstreamDist=INVALID_DOUBLE_VALUE, double upstreamDist=INVALID_DOUBLE_VALUE) |
static void | addSubscriptionFilterDownstreamDistance (double dist) |
static void | addSubscriptionFilterFieldOfVision (double openingAngle) |
static void | addSubscriptionFilterLanes (const std::vector< int > &lanes, bool noOpposite=false, double downstreamDist=INVALID_DOUBLE_VALUE, double upstreamDist=INVALID_DOUBLE_VALUE) |
static void | addSubscriptionFilterLateralDistance (double lateralDist, double downstreamDist=INVALID_DOUBLE_VALUE, double upstreamDist=INVALID_DOUBLE_VALUE) |
static void | addSubscriptionFilterLCManeuver (int direction=INVALID_INT_VALUE, bool noOpposite=false, double downstreamDist=INVALID_DOUBLE_VALUE, double upstreamDist=INVALID_DOUBLE_VALUE) |
static void | addSubscriptionFilterLeadFollow (const std::vector< int > &lanes) |
static void | addSubscriptionFilterNoOpposite () |
static void | addSubscriptionFilterTurn (double downstreamDist=INVALID_DOUBLE_VALUE, double upstreamDist=INVALID_DOUBLE_VALUE) |
static void | addSubscriptionFilterUpstreamDistance (double dist) |
static void | addSubscriptionFilterVClass (const std::vector< std::string > &vClasses) |
static void | addSubscriptionFilterVType (const std::vector< std::string > &vTypes) |
static bool | handleVariable (const std::string &objID, const int variable, VariableWrapper *wrapper) |
static std::shared_ptr< VariableWrapper > | makeWrapper () |
static void | storeShape (const std::string &id, PositionVector &shape) |
Saves the shape of the requested object in the given container. More... | |
LIBSUMO_VEHICLE_TYPE_SETTER static LIBSUMO_SUBSCRIPTION_API void | subscribeLeader (const std::string &vehicleID, double dist=0., double beginTime=INVALID_DOUBLE_VALUE, double endTime=INVALID_DOUBLE_VALUE) |
Value retrieval | |
static std::vector< std::string > | getIDList () |
static int | getIDCount () |
static double | getSpeed (const std::string &vehicleID) |
static double | getLateralSpeed (const std::string &vehicleID) |
static double | getAcceleration (const std::string &vehicleID) |
static double | getSpeedWithoutTraCI (const std::string &vehicleID) |
static TraCIPosition | getPosition (const std::string &vehicleID, const bool includeZ=false) |
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 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::vector< std::string > | getPersonIDList (const std::string &vehicleID) |
static std::pair< std::string, double > | getLeader (const std::string &vehicleID, double dist=0.) |
static std::pair< std::string, double > | getFollower (const std::string &vehicleID, double dist=0.) |
static double | getWaitingTime (const std::string &vehicleID) |
static double | getAccumulatedWaitingTime (const std::string &vehicleID) |
static double | getAdaptedTraveltime (const std::string &vehicleID, double time, const std::string &edgeID) |
static double | getEffort (const std::string &vehicleID, double time, const std::string &edgeID) |
static bool | isRouteValid (const std::string &vehicleID) |
static std::vector< std::string > | getRoute (const std::string &vehicleID) |
static int | getSignals (const std::string &vehicleID) |
static std::vector< TraCIBestLanesData > | getBestLanes (const std::string &vehicleID) |
static std::vector< TraCINextTLSData > | getNextTLS (const std::string &vehicleID) |
static std::vector< TraCINextStopData > | getNextStops (const std::string &vehicleID) |
static std::vector< TraCINextStopData > | getStops (const std::string &vehicleID, int limit=0) |
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=0) |
static double | getDrivingDistance2D (const std::string &vehicleID, double x, double y) |
static double | getAllowedSpeed (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 double | getLastActionTime (const std::string &vehicleID) |
static std::string | getParameter (const std::string &vehicleID, const std::string ¶m) |
static LIBSUMO_GET_PARAMETER_WITH_KEY_API std::vector< std::pair< std::string, double > > | getNeighbors (const std::string &vehicleID, const int mode) |
static double | getFollowSpeed (const std::string &vehicleID, double speed, double gap, double leaderSpeed, double leaderMaxDecel, const std::string &leaderID="") |
static double | getSecureGap (const std::string &vehicleID, double speed, double leaderSpeed, double leaderMaxDecel, const std::string &leaderID="") |
static double | getStopSpeed (const std::string &vehicleID, double speed, double gap) |
static double | getStopDelay (const std::string &vehicleID) |
static double | getStopArrivalDelay (const std::string &vehicleID) |
static std::vector< std::string > | getTaxiFleet (int taxiState=0) |
State Changing | |
static void | setStop (const std::string &vehicleID, const std::string &edgeID, double pos=1., int laneIndex=0, double duration=INVALID_DOUBLE_VALUE, int flags=STOP_DEFAULT, double startPos=INVALID_DOUBLE_VALUE, double until=INVALID_DOUBLE_VALUE) |
static void | replaceStop (const std::string &vehicleID, int nextStopIndex, const std::string &edgeID, double pos=1., int laneIndex=0, double duration=INVALID_DOUBLE_VALUE, int flags=STOP_DEFAULT, double startPos=INVALID_DOUBLE_VALUE, double until=INVALID_DOUBLE_VALUE) |
static void | rerouteParkingArea (const std::string &vehicleID, const std::string &parkingAreaID) |
static void | resume (const std::string &vehicleID) |
static void | add (const std::string &vehID, const std::string &routeID, const std::string &typeID="DEFAULT_VEHTYPE", const std::string &depart="now", 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=4, int personNumber=0) |
static void | changeTarget (const std::string &vehicleID, const std::string &edgeID) |
static void | changeLane (const std::string &vehicleID, int laneIndex, double duration) |
static void | changeLaneRelative (const std::string &vehicleID, int indexOffset, double duration) |
static void | changeSublane (const std::string &vehicleID, double latDist) |
static void | slowDown (const std::string &vehicleID, double speed, double duration) |
static void | openGap (const std::string &vehicleID, double newTimeHeadway, double newSpaceHeadway, double duration, double changeRate, double maxDecel=INVALID_DOUBLE_VALUE, const std::string &referenceVehID="") |
static void | deactivateGapControl (const std::string &vehicleID) |
static void | requestToC (const std::string &vehID, double leadTime) |
static void | setSpeed (const std::string &vehicleID, double speed) |
static void | setPreviousSpeed (const std::string &vehicleID, double prevspeed) |
static void | setSpeedMode (const std::string &vehicleID, int speedMode) |
static void | setLaneChangeMode (const std::string &vehicleID, int laneChangeMode) |
static void | setRoutingMode (const std::string &vehicleID, int routingMode) |
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::string &edgeID) |
static void | setRoute (const std::string &vehicleID, const std::vector< std::string > &edgeIDs) |
static void | updateBestLanes (const std::string &vehicleID) |
static void | setAdaptedTraveltime (const std::string &vehicleID, const std::string &edgeID, double time=INVALID_DOUBLE_VALUE, double begSeconds=0, double endSeconds=std::numeric_limits< double >::max()) |
static void | setEffort (const std::string &vehicleID, const std::string &edgeID, double effort=INVALID_DOUBLE_VALUE, double begSeconds=0, double endSeconds=std::numeric_limits< double >::max()) |
static void | rerouteTraveltime (const std::string &vehicleID, const bool currentTravelTimes=true) |
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, int reason=MOVE_AUTOMATIC) |
static void | moveToXY (const std::string &vehicleID, const std::string &edgeID, const int laneIndex, const double x, const double y, double angle=INVALID_DOUBLE_VALUE, const int keepRoute=1) |
static void | remove (const std::string &vehicleID, char reason=REMOVE_VAPORIZED) |
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 | setParameter (const std::string &vehicleID, const std::string ¶m, const std::string &value) |
static void | highlight (const std::string &vehicleID, const TraCIColor &col=TraCIColor(255, 0, 0, 255), double size=-1, const int alphaMax=-1, const double duration=-1, const int type=0) |
static void | dispatchTaxi (const std::string &vehicleID, const std::vector< std::string > &reservations) |
Private Member Functions | |
Vehicle ()=delete | |
invalidated standard constructor More... | |
Static Private Member Functions | |
static TraCINextStopData | buildStopData (const SUMOVehicleParameter::Stop &stopPar) |
static SUMOVehicleParameter::Stop | buildStopParameters (const std::string &edgeOrStoppingPlaceID, double pos, int laneIndex, double startPos, int flags, double duration, double until) |
static bool | isOnInit (const std::string &vehicleID) |
static bool | isVisible (const SUMOVehicle *veh) |
Static Private Attributes | |
static ContextSubscriptionResults | myContextSubscriptionResults |
static SubscriptionResults | mySubscriptionResults |
|
privatedelete |
invalidated standard constructor
|
static |
Definition at line 1058 of file Vehicle.cpp.
References MSInsertionControl::add(), MSVehicleControl::addVehicle(), SUMOVehicleParameter::arrivalLane, SUMOVehicleParameter::arrivalLaneProcedure, SUMOVehicleParameter::arrivalPos, SUMOVehicleParameter::arrivalPosProcedure, SUMOVehicleParameter::arrivalSpeed, SUMOVehicleParameter::arrivalSpeedProcedure, MSVehicleControl::buildVehicle(), MSVehicleControl::deleteVehicle(), SUMOVehicleParameter::depart, DEPART_CONTAINER_TRIGGERED, DEPART_GIVEN, DEPART_NOW, DEPART_TRIGGERED, SUMOVehicleParameter::departLane, SUMOVehicleParameter::departLaneProcedure, SUMOVehicleParameter::departPos, SUMOVehicleParameter::departPosProcedure, SUMOVehicleParameter::departProcedure, SUMOVehicleParameter::departSpeed, SUMOVehicleParameter::departSpeedProcedure, MSRoute::dictionary(), SUMOVehicleParameter::fromTaz, MSEdge::getAllEdges(), MSNet::getCurrentTimeStep(), MSRoute::getEdges(), MSNet::getInsertionControl(), MSNet::getInstance(), SUMOVehicle::getRouteValidity(), MSVehicleControl::getVehicle(), MSVehicleType::getVehicleClass(), MSNet::getVehicleControl(), MSVehicleControl::getVType(), SUMOVehicleParameter::id, SUMOVehicleParameter::line, NORMAL, SUMOVehicleParameter::parametersSet, SUMOVehicleParameter::parseArrivalLane(), SUMOVehicleParameter::parseArrivalPos(), SUMOVehicleParameter::parseArrivalSpeed(), SUMOVehicleParameter::parseDepart(), SUMOVehicleParameter::parseDepartLane(), SUMOVehicleParameter::parseDepartPos(), SUMOVehicleParameter::parseDepartSpeed(), SUMOVehicleParameter::personNumber, MSBaseVehicle::ROUTE_VALID, SumoVehicleClassStrings, SUMOVehicleParameter::toTaz, VEHPARS_FORCE_REROUTE, and WRITE_WARNING.
Referenced by TraCIServerAPI_Vehicle::processSet().
|
static |
Definition at line 2021 of file Vehicle.cpp.
References addSubscriptionFilterDownstreamDistance(), addSubscriptionFilterLeadFollow(), addSubscriptionFilterUpstreamDistance(), and libsumo::INVALID_DOUBLE_VALUE.
|
static |
Definition at line 2003 of file Vehicle.cpp.
References libsumo::Helper::addSubscriptionFilter(), libsumo::Subscription::filterDownstreamDist, and libsumo::SUBS_FILTER_DOWNSTREAM_DIST.
Referenced by addSubscriptionFilterCFManeuver(), addSubscriptionFilterLanes(), addSubscriptionFilterLateralDistance(), addSubscriptionFilterLCManeuver(), and addSubscriptionFilterTurn().
|
static |
Definition at line 2096 of file Vehicle.cpp.
References libsumo::Helper::addSubscriptionFilter(), libsumo::Subscription::filterFieldOfVisionOpeningAngle, and libsumo::SUBS_FILTER_FIELD_OF_VISION.
|
static |
Definition at line 1979 of file Vehicle.cpp.
References libsumo::Helper::addSubscriptionFilter(), addSubscriptionFilterDownstreamDistance(), addSubscriptionFilterNoOpposite(), addSubscriptionFilterUpstreamDistance(), libsumo::Subscription::filterLanes, libsumo::INVALID_DOUBLE_VALUE, and libsumo::SUBS_FILTER_LANES.
Referenced by addSubscriptionFilterLeadFollow().
|
static |
|
static |
Definition at line 2034 of file Vehicle.cpp.
References addSubscriptionFilterDownstreamDistance(), addSubscriptionFilterLeadFollow(), addSubscriptionFilterNoOpposite(), addSubscriptionFilterUpstreamDistance(), libsumo::INVALID_DOUBLE_VALUE, libsumo::INVALID_INT_VALUE, toString(), and WRITE_WARNING.
|
static |
Definition at line 2059 of file Vehicle.cpp.
References libsumo::Helper::addSubscriptionFilter(), addSubscriptionFilterLanes(), and libsumo::SUBS_FILTER_LEAD_FOLLOW.
Referenced by addSubscriptionFilterCFManeuver(), and addSubscriptionFilterLCManeuver().
|
static |
Definition at line 1997 of file Vehicle.cpp.
References libsumo::Helper::addSubscriptionFilter(), and libsumo::SUBS_FILTER_NOOPPOSITE.
Referenced by addSubscriptionFilterLanes(), and addSubscriptionFilterLCManeuver().
|
static |
Definition at line 2066 of file Vehicle.cpp.
References libsumo::Helper::addSubscriptionFilter(), addSubscriptionFilterDownstreamDistance(), addSubscriptionFilterUpstreamDistance(), libsumo::INVALID_DOUBLE_VALUE, and libsumo::SUBS_FILTER_TURN.
|
static |
Definition at line 2012 of file Vehicle.cpp.
References libsumo::Helper::addSubscriptionFilter(), libsumo::Subscription::filterUpstreamDist, and libsumo::SUBS_FILTER_UPSTREAM_DIST.
Referenced by addSubscriptionFilterCFManeuver(), addSubscriptionFilterLanes(), addSubscriptionFilterLateralDistance(), addSubscriptionFilterLCManeuver(), and addSubscriptionFilterTurn().
|
static |
Definition at line 2078 of file Vehicle.cpp.
References libsumo::Helper::addSubscriptionFilter(), libsumo::Subscription::filterVClasses, parseVehicleClasses(), and libsumo::SUBS_FILTER_VCLASS.
|
static |
Definition at line 2087 of file Vehicle.cpp.
References libsumo::Helper::addSubscriptionFilter(), libsumo::Subscription::filterVTypes, and libsumo::SUBS_FILTER_VTYPE.
|
staticprivate |
Definition at line 2359 of file Vehicle.cpp.
References SUMOVehicleParameter::Stop::actType, SUMOVehicleParameter::Stop::actualArrival, SUMOVehicleParameter::Stop::arrival, SUMOVehicleParameter::Stop::busstop, SUMOVehicleParameter::Stop::chargingStation, SUMOVehicleParameter::Stop::containerstop, SUMOVehicleParameter::Stop::containerTriggered, SUMOVehicleParameter::Stop::depart, SUMOVehicleParameter::Stop::duration, SUMOVehicleParameter::Stop::endPos, libsumo::INVALID_DOUBLE_VALUE, SUMOVehicleParameter::Stop::join, SUMOVehicleParameter::Stop::lane, SUMOVehicleParameter::Stop::line, SUMOVehicleParameter::Stop::overheadWireSegment, SUMOVehicleParameter::Stop::parking, SUMOVehicleParameter::Stop::parkingarea, SUMOVehicleParameter::Stop::speed, SUMOVehicleParameter::Stop::split, SUMOVehicleParameter::Stop::startPos, STEPS2TIME, SUMOVehicleParameter::Stop::triggered, SUMOVehicleParameter::Stop::tripId, and SUMOVehicleParameter::Stop::until.
Referenced by getStops().
|
staticprivate |
Definition at line 2262 of file Vehicle.cpp.
References SUMOVehicleParameter::Stop::busstop, SUMOVehicleParameter::Stop::chargingStation, SUMOVehicleParameter::Stop::containerstop, SUMOVehicleParameter::Stop::containerTriggered, MSEdge::dictionary(), SUMOVehicleParameter::Stop::duration, SUMOVehicleParameter::Stop::endPos, MSStoppingPlace::getBeginLanePosition(), MSStoppingPlace::getEndLanePosition(), Named::getID(), MSNet::getInstance(), MSStoppingPlace::getLane(), MSEdge::getLanes(), MSNet::getStoppingPlace(), SUMOVehicleParameter::Stop::index, libsumo::INVALID_DOUBLE_VALUE, SUMOVehicleParameter::Stop::lane, SUMOVehicleParameter::Stop::overheadWireSegment, SUMOVehicleParameter::Stop::parametersSet, SUMOVehicleParameter::Stop::parking, SUMOVehicleParameter::Stop::parkingarea, POSITION_EPS, SUMOVehicleParameter::Stop::startPos, STOP_CONTAINER_TRIGGER_SET, STOP_DURATION_SET, STOP_END_SET, STOP_INDEX_FIT, STOP_PARKING_SET, STOP_START_SET, STOP_TRIGGER_SET, STOP_UNTIL_SET, SUMO_TAG_BUS_STOP, SUMO_TAG_CHARGING_STATION, SUMO_TAG_CONTAINER_STOP, SUMO_TAG_NOTHING, SUMO_TAG_OVERHEAD_WIRE_SEGMENT, SUMO_TAG_PARKING_AREA, SUMOTime_MAX, TIME2STEPS, toString(), SUMOVehicleParameter::Stop::triggered, and SUMOVehicleParameter::Stop::until.
Referenced by replaceStop(), and setStop().
|
static |
Definition at line 1009 of file Vehicle.cpp.
References MSVehicle::getInfluencer(), MSNet::getInstance(), libsumo::Helper::getVehicle(), MSVehicle::Influencer::setLaneTimeLine(), TIME2STEPS, and WRITE_ERROR.
Referenced by MSCFModel_CC::performAutoLaneChange(), and TraCIServerAPI_Vehicle::processSet().
|
static |
Definition at line 1024 of file Vehicle.cpp.
References MSVehicle::getInfluencer(), MSNet::getInstance(), MSVehicle::getLaneIndex(), libsumo::Helper::getVehicle(), MSVehicle::Influencer::setLaneTimeLine(), TIME2STEPS, WRITE_ERROR, and WRITE_WARNING.
Referenced by TraCIServerAPI_Vehicle::processSet().
|
static |
Definition at line 1045 of file Vehicle.cpp.
References MSVehicle::getInfluencer(), libsumo::Helper::getVehicle(), MSVehicle::Influencer::setSublaneChange(), and WRITE_ERROR.
Referenced by TraCIServerAPI_Vehicle::processSet().
|
static |
Definition at line 982 of file Vehicle.cpp.
References MSEdge::dictionary(), MSBaseVehicle::getBaseInfluencer(), MSNet::getCurrentTimeStep(), Named::getID(), MSNet::getInstance(), MSBaseVehicle::getRerouteOrigin(), MSBaseVehicle::getRNGIndex(), MSBaseVehicle::BaseInfluencer::getRouterTT(), MSBaseVehicle::getVClass(), libsumo::Helper::getVehicle(), isOnInit(), MSBaseVehicle::replaceRouteEdges(), and MSBaseVehicle::reroute().
Referenced by TraCIServerAPI_Vehicle::processSet().
|
static |
Definition at line 1335 of file Vehicle.cpp.
References MSVehicle::Influencer::deactivateGapController(), MSVehicle::getInfluencer(), libsumo::Helper::getVehicle(), MSVehicle::hasInfluencer(), and WRITE_ERROR.
Referenced by TraCIServerAPI_Vehicle::processSet().
|
static |
Definition at line 1944 of file Vehicle.cpp.
References MSBaseVehicle::getDevice(), MSDevice_Taxi::getDispatchAlgorithm(), libsumo::Helper::getVehicle(), MSDispatch_TraCI::interpretDispatch(), LIBSUMO_SUBSCRIPTION_IMPLEMENTATION, and VEHICLE.
Referenced by TraCIServerAPI_Vehicle::processSet().
|
static |
Definition at line 121 of file Vehicle.cpp.
References CALL_MICRO_FUN, libsumo::Helper::getVehicle(), libsumo::INVALID_DOUBLE_VALUE, and isVisible().
Referenced by handleVariable().
|
static |
Definition at line 319 of file Vehicle.cpp.
References CALL_MICRO_FUN, libsumo::Helper::getVehicle(), and libsumo::INVALID_DOUBLE_VALUE.
Referenced by handleVariable().
|
static |
Definition at line 326 of file Vehicle.cpp.
References libsumo::Helper::getEdge(), libsumo::Helper::getVehicle(), MSBaseVehicle::getWeightsStorage(), libsumo::INVALID_DOUBLE_VALUE, and MSEdgeWeightsStorage::retrieveExistingTravelTime().
Referenced by TraCIServerAPI_Vehicle::processGet().
|
static |
Definition at line 565 of file Vehicle.cpp.
References CALL_MICRO_FUN, MSBaseVehicle::getChosenSpeedFactor(), MSBaseVehicle::getEdge(), libsumo::Helper::getVehicle(), MSEdge::getVehicleMaxSpeed(), libsumo::INVALID_DOUBLE_VALUE, and MSBaseVehicle::isOnRoad().
Referenced by handleVariable().
|
static |
Definition at line 151 of file Vehicle.cpp.
References SUMOVehicle::getAngle(), libsumo::Helper::getVehicle(), libsumo::INVALID_DOUBLE_VALUE, isVisible(), and GeomHelper::naviDegree().
Referenced by handleVariable().
|
static |
Definition at line 370 of file Vehicle.cpp.
References libsumo::TraCIBestLanesData::allowsContinuation, libsumo::TraCIBestLanesData::bestLaneOffset, libsumo::TraCIBestLanesData::continuationLanes, MSVehicle::getBestLanes(), Named::getID(), libsumo::Helper::getVehicle(), MSVehicle::isOnRoad(), libsumo::TraCIBestLanesData::laneID, libsumo::TraCIBestLanesData::length, and libsumo::TraCIBestLanesData::occupation.
Referenced by TraCIServerAPI_Vehicle::processGet().
|
static |
Definition at line 222 of file Vehicle.cpp.
References MSBaseVehicle::getCO2Emissions(), libsumo::Helper::getVehicle(), libsumo::INVALID_DOUBLE_VALUE, and isVisible().
Referenced by handleVariable().
|
static |
Definition at line 228 of file Vehicle.cpp.
References MSBaseVehicle::getCOEmissions(), libsumo::Helper::getVehicle(), libsumo::INVALID_DOUBLE_VALUE, and isVisible().
Referenced by handleVariable().
|
static |
Definition at line 516 of file Vehicle.cpp.
References MSBaseVehicle::getOdometer(), libsumo::Helper::getVehicle(), libsumo::INVALID_DOUBLE_VALUE, and MSBaseVehicle::isOnRoad().
Referenced by handleVariable().
|
static |
Definition at line 527 of file Vehicle.cpp.
References MSRoute::getDistanceBetween(), libsumo::Helper::getEdge(), MSBaseVehicle::getEdge(), MSLane::getEdge(), SUMOTrafficObject::getLane(), SUMOTrafficObject::getPositionOnLane(), MSBaseVehicle::getRoute(), MSBaseVehicle::getRoutePosition(), libsumo::Helper::getVehicle(), libsumo::INVALID_DOUBLE_VALUE, and MSBaseVehicle::isOnRoad().
Referenced by TraCIServerAPI_Vehicle::processGet().
|
static |
Definition at line 545 of file Vehicle.cpp.
References libsumo::Helper::convertCartesianToRoadMap(), MSRoute::getDistanceBetween(), MSBaseVehicle::getEdge(), SUMOTrafficObject::getPositionOnLane(), MSBaseVehicle::getRoute(), MSBaseVehicle::getRoutePosition(), libsumo::Helper::getVehicle(), MSVehicleType::getVehicleClass(), MSBaseVehicle::getVehicleType(), libsumo::INVALID_DOUBLE_VALUE, and MSBaseVehicle::isOnRoad().
Referenced by TraCIServerAPI_Vehicle::processGet().
|
static |
Definition at line 335 of file Vehicle.cpp.
References libsumo::Helper::getEdge(), libsumo::Helper::getVehicle(), MSBaseVehicle::getWeightsStorage(), libsumo::INVALID_DOUBLE_VALUE, and MSEdgeWeightsStorage::retrieveExistingEffort().
Referenced by TraCIServerAPI_Vehicle::processGet().
|
static |
Definition at line 264 of file Vehicle.cpp.
References MSBaseVehicle::getElectricityConsumption(), libsumo::Helper::getVehicle(), libsumo::INVALID_DOUBLE_VALUE, and isVisible().
Referenced by handleVariable().
|
static |
Definition at line 299 of file Vehicle.cpp.
References MSBaseVehicle::getFollower(), libsumo::Helper::getVehicle(), and MSBaseVehicle::isOnRoad().
Referenced by handleVariable(), and TraCIServerAPI_Vehicle::processGet().
|
static |
Definition at line 704 of file Vehicle.cpp.
References MSCFModel::followSpeed(), MSVehicle::getCarFollowModel(), MSNet::getInstance(), MSVehicleControl::getVehicle(), libsumo::Helper::getVehicle(), MSNet::getVehicleControl(), libsumo::INVALID_DOUBLE_VALUE, and WRITE_ERROR.
Referenced by TraCIServerAPI_Vehicle::processGet().
|
static |
Definition at line 252 of file Vehicle.cpp.
References MSBaseVehicle::getFuelConsumption(), libsumo::Helper::getVehicle(), libsumo::INVALID_DOUBLE_VALUE, and isVisible().
Referenced by handleVariable().
|
static |
Definition at line 234 of file Vehicle.cpp.
References MSBaseVehicle::getHCEmissions(), libsumo::Helper::getVehicle(), libsumo::INVALID_DOUBLE_VALUE, and isVisible().
Referenced by handleVariable().
|
static |
Definition at line 102 of file Vehicle.cpp.
References getIDList().
Referenced by handleVariable(), and libsumo_vehicle_getIDCount().
|
static |
Definition at line 90 of file Vehicle.cpp.
References MSNet::getInstance(), MSNet::getVehicleControl(), isVisible(), MSVehicleControl::loadedVehBegin(), and MSVehicleControl::loadedVehEnd().
Referenced by getIDCount(), and handleVariable().
|
static |
Definition at line 585 of file Vehicle.cpp.
References CALL_MICRO_FUN, libsumo::Helper::getVehicle(), and libsumo::INVALID_INT_VALUE.
Referenced by handleVariable().
|
static |
Definition at line 610 of file Vehicle.cpp.
References CALL_MICRO_FUN, libsumo::Helper::getVehicle(), MSBaseVehicle::isOnRoad(), and LCA_UNKNOWN.
Referenced by MSCFModel_CC::performAutoLaneChange(), and TraCIServerAPI_Vehicle::processGet().
|
static |
Definition at line 172 of file Vehicle.cpp.
References CALL_MICRO_FUN, libsumo::Helper::getVehicle(), and MSBaseVehicle::isOnRoad().
Referenced by handleVariable().
|
static |
Definition at line 179 of file Vehicle.cpp.
References CALL_MICRO_FUN, libsumo::Helper::getVehicle(), libsumo::INVALID_INT_VALUE, and MSBaseVehicle::isOnRoad().
Referenced by handleVariable().
|
static |
Definition at line 210 of file Vehicle.cpp.
References SUMOTrafficObject::getPositionOnLane(), libsumo::Helper::getVehicle(), libsumo::INVALID_DOUBLE_VALUE, and MSBaseVehicle::isOnRoad().
Referenced by handleVariable().
|
static |
Definition at line 814 of file Vehicle.cpp.
References MSVehicleType::getCarFollowModel(), MEVehicle::getEventTime(), MSCFModel::getHeadwayTime(), MSVehicleType::getHeight(), MSCFModel::getImperfection(), MSVehicle::getLastActionTime(), MSVehicleType::getMaxSpeed(), MSVehicleType::getMaxSpeedLat(), MSVehicleType::getMinGap(), MSVehicleType::getMinGapLat(), Distribution_Parameterized::getParameter(), MSVehicleType::getSpeedFactor(), libsumo::Helper::getVehicle(), libsumo::Helper::getVehicleType(), MSVehicleType::getWidth(), STEPS2TIME, and toString().
Referenced by handleVariable().
|
static |
Definition at line 216 of file Vehicle.cpp.
References CALL_MICRO_FUN, libsumo::Helper::getVehicle(), libsumo::INVALID_DOUBLE_VALUE, and MSBaseVehicle::isOnRoad().
Referenced by handleVariable().
|
static |
Definition at line 114 of file Vehicle.cpp.
References CALL_MICRO_FUN, libsumo::Helper::getVehicle(), libsumo::INVALID_DOUBLE_VALUE, and isVisible().
Referenced by handleVariable().
|
static |
Definition at line 285 of file Vehicle.cpp.
References MSBaseVehicle::getLeader(), libsumo::Helper::getVehicle(), and MSBaseVehicle::isOnRoad().
Referenced by MSCFModel_CC::getRadarMeasurements(), handleVariable(), and TraCIServerAPI_Vehicle::processGet().
|
static |
Definition at line 598 of file Vehicle.cpp.
References MSBaseVehicle::getParameter(), libsumo::Helper::getVehicle(), and SUMOVehicleParameter::line.
Referenced by handleVariable().
|
static |
Definition at line 633 of file Vehicle.cpp.
References DEBUG_COND, MSVehicle::getLaneChangeModel(), MSAbstractLaneChangeModel::getLeaders(), libsumo::Helper::getVehicle(), LCA_BLOCKED_BY_LEFT_FOLLOWER, LCA_BLOCKED_BY_LEFT_LEADER, LCA_BLOCKED_BY_RIGHT_FOLLOWER, and LCA_BLOCKED_BY_RIGHT_LEADER.
Referenced by TraCIServerAPI_Vehicle::processGet().
|
static |
Definition at line 458 of file Vehicle.cpp.
References getStops().
|
static |
Definition at line 394 of file Vehicle.cpp.
References MSEdge::allowedLanes(), libsumo::TraCINextTLSData::dist, MSRoute::end(), MSVehicle::getBestLanesContinuation(), MSBaseVehicle::getCurrentRouteEdge(), MSLane::getEdge(), MSVehicle::getLane(), MSLane::getLength(), MSVehicle::getPositionOnLane(), MSBaseVehicle::getRoute(), MSBaseVehicle::getVClass(), libsumo::Helper::getVehicle(), libsumo::TraCINextTLSData::id, MSEdge::isInternal(), MSLane::isLinkEnd(), MSBaseVehicle::isOnRoad(), libsumo::TraCINextTLSData::state, MSLane::succLinkSec(), libsumo::TraCINextTLSData::tlIndex, and WRITE_WARNING.
Referenced by TraCIServerAPI_Vehicle::processGet().
|
static |
Definition at line 258 of file Vehicle.cpp.
References MSBaseVehicle::getHarmonoise_NoiseEmissions(), libsumo::Helper::getVehicle(), libsumo::INVALID_DOUBLE_VALUE, and isVisible().
Referenced by handleVariable().
|
static |
Definition at line 246 of file Vehicle.cpp.
References MSBaseVehicle::getNOxEmissions(), libsumo::Helper::getVehicle(), libsumo::INVALID_DOUBLE_VALUE, and isVisible().
Referenced by handleVariable().
|
static |
Definition at line 618 of file Vehicle.cpp.
References MSBaseVehicle::getPrefixedParameter(), libsumo::Helper::getVehicle(), and LIBSUMO_GET_PARAMETER_WITH_KEY_IMPLEMENTATION.
Referenced by getRouteIndex(), and TraCIServerAPI_Vehicle::processGet().
|
static |
Definition at line 280 of file Vehicle.cpp.
References MSBaseVehicle::getPersonIDList(), and libsumo::Helper::getVehicle().
Referenced by handleVariable().
|
static |
Definition at line 270 of file Vehicle.cpp.
References MSVehicleType::getPersonCapacity(), MSBaseVehicle::getPersonNumber(), libsumo::Helper::getVehicle(), and libsumo::Helper::getVehicleType().
Referenced by handleVariable().
|
static |
Definition at line 240 of file Vehicle.cpp.
References MSBaseVehicle::getPMxEmissions(), libsumo::Helper::getVehicle(), libsumo::INVALID_DOUBLE_VALUE, and isVisible().
Referenced by handleVariable().
|
static |
Definition at line 135 of file Vehicle.cpp.
References SUMOTrafficObject::getPosition(), libsumo::Helper::getVehicle(), isVisible(), and libsumo::Helper::makeTraCIPosition().
Referenced by getPosition3D(), handleVariable(), and storeShape().
|
static |
Definition at line 145 of file Vehicle.cpp.
References getPosition().
|
static |
Definition at line 165 of file Vehicle.cpp.
References CALL_MICRO_FUN, MSBaseVehicle::getEdge(), Named::getID(), libsumo::Helper::getVehicle(), and isVisible().
Referenced by handleVariable().
|
static |
Definition at line 351 of file Vehicle.cpp.
References MSRoute::begin(), MSRoute::end(), MSBaseVehicle::getRoute(), and libsumo::Helper::getVehicle().
Referenced by handleVariable().
|
static |
Definition at line 192 of file Vehicle.cpp.
References Named::getID(), MSBaseVehicle::getRoute(), and libsumo::Helper::getVehicle().
Referenced by handleVariable().
|
static |
Definition at line 198 of file Vehicle.cpp.
References getParameter(), MSBaseVehicle::getRoutePosition(), libsumo::Helper::getVehicle(), MSBaseVehicle::hasDeparted(), libsumo::INVALID_INT_VALUE, and libsumo::Helper::makeTraCIColor().
Referenced by handleVariable().
|
static |
Definition at line 592 of file Vehicle.cpp.
References MSBaseVehicle::getBaseInfluencer(), MSBaseVehicle::BaseInfluencer::getRoutingMode(), and libsumo::Helper::getVehicle().
Referenced by handleVariable().
|
static |
Definition at line 717 of file Vehicle.cpp.
References MSVehicle::getCarFollowModel(), MSNet::getInstance(), MSCFModel::getSecureGap(), MSVehicleControl::getVehicle(), libsumo::Helper::getVehicle(), MSNet::getVehicleControl(), libsumo::INVALID_DOUBLE_VALUE, and WRITE_ERROR.
Referenced by TraCIServerAPI_Vehicle::processGet().
|
static |
Definition at line 363 of file Vehicle.cpp.
References CALL_MICRO_FUN, libsumo::Helper::getVehicle(), and MSVehicle::VEH_SIGNAL_NONE.
Referenced by handleVariable().
|
static |
Definition at line 158 of file Vehicle.cpp.
References SUMOTrafficObject::getSlope(), libsumo::Helper::getVehicle(), libsumo::INVALID_DOUBLE_VALUE, and MSBaseVehicle::isOnRoad().
Referenced by handleVariable().
|
static |
Definition at line 108 of file Vehicle.cpp.
References SUMOTrafficObject::getSpeed(), libsumo::Helper::getVehicle(), libsumo::INVALID_DOUBLE_VALUE, and isVisible().
Referenced by handleVariable().
|
static |
Definition at line 578 of file Vehicle.cpp.
References CALL_MICRO_FUN, libsumo::Helper::getVehicle(), and libsumo::INVALID_INT_VALUE.
Referenced by handleVariable().
|
static |
Definition at line 128 of file Vehicle.cpp.
References CALL_MICRO_FUN, SUMOTrafficObject::getSpeed(), libsumo::Helper::getVehicle(), libsumo::INVALID_DOUBLE_VALUE, and isVisible().
Referenced by handleVariable().
|
static |
Definition at line 746 of file Vehicle.cpp.
References MSBaseVehicle::getStopArrivalDelay(), libsumo::Helper::getVehicle(), INVALID_DOUBLE, and libsumo::INVALID_DOUBLE_VALUE.
Referenced by handleVariable().
|
static |
Definition at line 741 of file Vehicle.cpp.
References MSBaseVehicle::getStopDelay(), and libsumo::Helper::getVehicle().
Referenced by handleVariable().
|
static |
Definition at line 463 of file Vehicle.cpp.
References buildStopData(), libsumo::TraCINextStopData::duration, MSBaseVehicle::getPastStops(), MSBaseVehicle::getStops(), libsumo::Helper::getVehicle(), MAX2(), and STEPS2TIME.
Referenced by getNextStops(), and TraCIServerAPI_Vehicle::writeNextStops().
|
static |
Definition at line 730 of file Vehicle.cpp.
References MSVehicle::getCarFollowModel(), libsumo::Helper::getVehicle(), libsumo::INVALID_DOUBLE_VALUE, MSCFModel::stopSpeed(), and WRITE_ERROR.
Referenced by TraCIServerAPI_Vehicle::processGet().
|
static |
Definition at line 492 of file Vehicle.cpp.
References MSStop::busstop, MSStop::chargingStation, MSStop::containerstop, SUMOVehicleParameter::Stop::containerTriggered, MSVehicle::getNextStop(), libsumo::Helper::getVehicle(), MSBaseVehicle::isStopped(), SUMOVehicleParameter::Stop::parking, MSStop::parkingarea, MSStop::pars, MSStop::reached, SUMOVehicleParameter::Stop::triggered, and WRITE_WARNING.
Referenced by handleVariable().
|
static |
Definition at line 756 of file Vehicle.cpp.
References MSVehicleType::getActionStepLengthSecs(), MSCFModel::getApparentDecel(), MSVehicleType::getCarFollowModel(), MSCFModel::getEmergencyDecel(), MSDevice_Taxi::getFleet(), MSVehicleType::getLength(), MSCFModel::getMaxAccel(), MSCFModel::getMaxDecel(), PollutantsInterface::getName(), getVehicleShapeName(), and libsumo::Helper::getVehicleType().
Referenced by TraCIServerAPI_Vehicle::processGet().
|
static |
Definition at line 186 of file Vehicle.cpp.
References MSVehicleType::getID(), and libsumo::Helper::getVehicleType().
Referenced by handleVariable().
|
static |
Definition at line 604 of file Vehicle.cpp.
References MSBaseVehicle::getParameter(), libsumo::Helper::getVehicle(), and SUMOVehicleParameter::via.
Referenced by handleVariable().
|
static |
Definition at line 313 of file Vehicle.cpp.
References libsumo::Helper::getVehicle(), and STEPS2TIME.
Referenced by handleVariable().
|
static |
Definition at line 2132 of file Vehicle.cpp.
References libsumo::TraCIRoadPosition::edgeID, getAcceleration(), getAccumulatedWaitingTime(), getAllowedSpeed(), getAngle(), getCO2Emission(), getCOEmission(), getDistance(), getElectricityConsumption(), getFollower(), getFuelConsumption(), getHCEmission(), getIDCount(), getIDList(), getLaneChangeMode(), getLaneID(), getLaneIndex(), getLanePosition(), getLastActionTime(), getLateralLanePosition(), getLateralSpeed(), getLeader(), getLine(), getNoiseEmission(), getNOxEmission(), libsumo::VariableWrapper::getParams(), getPersonIDList(), getPersonNumber(), getPMxEmission(), getPosition(), getRoadID(), getRoute(), getRouteID(), getRouteIndex(), getRoutingMode(), getSignals(), getSlope(), getSpeed(), getSpeedMode(), getSpeedWithoutTraCI(), getStopArrivalDelay(), getStopDelay(), getStopState(), getTypeID(), getVia(), getWaitingTime(), libsumo::VehicleType::handleVariableWithID(), libsumo::ID_COUNT, isRouteValid(), libsumo::LAST_STEP_PERSON_ID_LIST, libsumo::TraCIRoadPosition::pos, libsumo::TRACI_ID_LIST, libsumo::VAR_ACCELERATION, libsumo::VAR_ACCUMULATED_WAITING_TIME, libsumo::VAR_ALLOWED_SPEED, libsumo::VAR_ANGLE, libsumo::VAR_CO2EMISSION, libsumo::VAR_COEMISSION, libsumo::VAR_COLOR, libsumo::VAR_DISTANCE, libsumo::VAR_EDGES, libsumo::VAR_ELECTRICITYCONSUMPTION, libsumo::VAR_FOLLOWER, libsumo::VAR_FUELCONSUMPTION, libsumo::VAR_HCEMISSION, libsumo::VAR_LANE_ID, libsumo::VAR_LANE_INDEX, libsumo::VAR_LANECHANGE_MODE, libsumo::VAR_LANEPOSITION, libsumo::VAR_LANEPOSITION_LAT, libsumo::VAR_LASTACTIONTIME, libsumo::VAR_LEADER, libsumo::VAR_LINE, libsumo::VAR_NOISEEMISSION, libsumo::VAR_NOXEMISSION, libsumo::VAR_PERSON_CAPACITY, libsumo::VAR_PERSON_NUMBER, libsumo::VAR_PMXEMISSION, libsumo::VAR_POSITION, libsumo::VAR_POSITION3D, libsumo::VAR_ROAD_ID, libsumo::VAR_ROUTE_ID, libsumo::VAR_ROUTE_INDEX, libsumo::VAR_ROUTE_VALID, libsumo::VAR_ROUTING_MODE, libsumo::VAR_SIGNALS, libsumo::VAR_SLOPE, libsumo::VAR_SPEED, libsumo::VAR_SPEED_FACTOR, libsumo::VAR_SPEED_LAT, libsumo::VAR_SPEED_WITHOUT_TRACI, libsumo::VAR_SPEEDSETMODE, libsumo::VAR_STOP_ARRIVALDELAY, libsumo::VAR_STOP_DELAY, libsumo::VAR_STOPSTATE, libsumo::VAR_TAXI_FLEET, libsumo::VAR_TYPE, libsumo::VAR_VIA, libsumo::VAR_WAITING_TIME, libsumo::VariableWrapper::wrapColor(), libsumo::VariableWrapper::wrapDouble(), libsumo::VariableWrapper::wrapInt(), libsumo::VariableWrapper::wrapPosition(), libsumo::VariableWrapper::wrapRoadPosition(), libsumo::VariableWrapper::wrapString(), and libsumo::VariableWrapper::wrapStringList().
Referenced by makeWrapper(), and TraCIServerAPI_Vehicle::processGet().
|
static |
Definition at line 1889 of file Vehicle.cpp.
References libsumo::Polygon::addDynamics(), libsumo::Polygon::addHighlightPolygon(), libsumo::Polygon::exists(), SUMOVehicle::getAngle(), Named::getID(), MSNet::getInstance(), MSBaseVehicle::getLength(), SUMOTrafficObject::getPosition(), libsumo::Helper::getVehicle(), GLO_VEHICLE, GeomHelper::makeRing(), libsumo::Helper::makeTraCIPositionVector(), MIN2(), SIMTIME, Position::sub(), and toString().
Referenced by TraCIServerAPI_Vehicle::processSet().
|
staticprivate |
Definition at line 83 of file Vehicle.cpp.
References MSNet::getInstance(), SUMOTrafficObject::getLane(), MSVehicleControl::getVehicle(), and MSNet::getVehicleControl().
Referenced by changeTarget(), rerouteEffort(), and rerouteTraveltime().
|
static |
Definition at line 344 of file Vehicle.cpp.
References libsumo::Helper::getVehicle(), and MSBaseVehicle::hasValidRoute().
Referenced by handleVariable().
|
staticprivate |
Definition at line 77 of file Vehicle.cpp.
References SUMOVehicle::isOnRoad(), SUMOVehicle::isParking(), and SUMOVehicle::wasRemoteControlled().
Referenced by getAcceleration(), getAngle(), getCO2Emission(), getCOEmission(), getElectricityConsumption(), getFuelConsumption(), getHCEmission(), getIDList(), getLateralSpeed(), getNoiseEmission(), getNOxEmission(), getPMxEmission(), getPosition(), getRoadID(), getSpeed(), and getSpeedWithoutTraCI().
|
static |
Definition at line 2126 of file Vehicle.cpp.
References handleVariable(), myContextSubscriptionResults, and mySubscriptionResults.
|
static |
Definition at line 1564 of file Vehicle.cpp.
References MSInsertionControl::alreadyDeparted(), MSRoute::begin(), SUMOVehicleParameter::departLaneProcedure, MSLane::dictionary(), Position::distanceTo2D(), MSRoute::end(), MSLane::forceVehicleInsertion(), MSLane::geometryPositionAtOffset(), MSBaseVehicle::getCurrentRouteEdge(), MSLane::getEdge(), MSNet::getInsertionControl(), MSNet::getInstance(), MSVehicle::getLane(), MSBaseVehicle::getMaxSpeed(), MSVehicle::getMutableLane(), MSLane::getNextNormal(), MSEdge::getNormalBefore(), MSBaseVehicle::getParameter(), SUMOTrafficObject::getPosition(), MSBaseVehicle::getRoute(), libsumo::Helper::getVehicle(), MSBaseVehicle::hasDeparted(), MSEdge::isInternal(), MSVehicle::isOnRoad(), libsumo::MOVE_AUTOMATIC, libsumo::MOVE_NORMAL, libsumo::MOVE_TELEPORT, MSMoveReminder::NOTIFICATION_DEPARTED, MSMoveReminder::NOTIFICATION_JUNCTION, MSMoveReminder::NOTIFICATION_TELEPORT, MSVehicle::onRemovalFromNet(), MSLane::removeVehicle(), MSVehicle::resetActionOffset(), MSBaseVehicle::resetRoutePosition(), MSVehicle::setActionStepLength(), MSVehicle::setTentativeLaneAndPosition(), SPEED2DIST, toString(), WRITE_ERROR, and WRITE_WARNING.
Referenced by TraCIServerAPI_Vehicle::processSet().
|
static |
Definition at line 1177 of file Vehicle.cpp.
References MSInsertionControl::alreadyDeparted(), Position::angleTo2D(), MSRoute::begin(), PositionVector::distance2D(), Position::distanceTo2D(), MSLane::geometryPositionAtOffset(), MSBaseVehicle::getCurrentRouteEdge(), MSRoute::getEdges(), Named::getID(), Named::getIDSecure(), MSNet::getInsertionControl(), MSNet::getInstance(), MSVehicle::getLane(), MSVehicle::getPosition(), MSVehicle::getPositionOnLane(), MSBaseVehicle::getRoute(), MSBaseVehicle::getRoutePosition(), MSLane::getShape(), MSBaseVehicle::getVClass(), libsumo::Helper::getVehicle(), MSBaseVehicle::getVehicleType(), MSVehicleType::getWidth(), MSLane::getWidth(), MSGlobals::gLateralResolution, libsumo::INVALID_DOUBLE_VALUE, GeomHelper::INVALID_OFFSET, ISNAN(), MSVehicle::isOnRoad(), MIN2(), PositionVector::move2side(), libsumo::Helper::moveToXYMap(), libsumo::Helper::moveToXYMap_matchingRoutePosition(), GeomHelper::naviDegree(), PositionVector::rotationAtOffset(), libsumo::Helper::setRemoteControlled(), Position::setz(), SIMTIME, SVC_IGNORING, toString(), WRITE_WARNING, and Position::z().
Referenced by TraCIServerAPI_Vehicle::processSet().
|
static |
Definition at line 1311 of file Vehicle.cpp.
References MSVehicle::Influencer::activateGapController(), MSVehicleType::getCarFollowModel(), MSCFModel::getHeadwayTime(), MSVehicle::getInfluencer(), libsumo::Helper::getVehicle(), MSBaseVehicle::getVehicleType(), WRITE_ERROR, and WRITE_WARNING.
Referenced by TraCIServerAPI_Vehicle::processSet().
|
static |
Definition at line 1650 of file Vehicle.cpp.
References libsumo::TraCIColor::a, MSInsertionControl::alreadyDeparted(), libsumo::TraCIColor::b, SUMOVehicleParameter::color, MSVehicleControl::deleteVehicle(), libsumo::TraCIColor::g, MSNet::getInsertionControl(), MSNet::getInstance(), SUMOTrafficObject::getLane(), MSVehicle::getMutableLane(), MSBaseVehicle::getParameter(), libsumo::Helper::getVehicle(), MSNet::getVehicleControl(), MSBaseVehicle::hasDeparted(), MSMoveReminder::NOTIFICATION_ARRIVED, MSMoveReminder::NOTIFICATION_TELEPORT_ARRIVED, MSMoveReminder::NOTIFICATION_VAPORIZED_TRACI, MSBaseVehicle::onRemovalFromNet(), SUMOVehicleParameter::parametersSet, libsumo::TraCIColor::r, libsumo::REMOVE_ARRIVED, libsumo::REMOVE_PARKING, libsumo::REMOVE_TELEPORT, libsumo::REMOVE_TELEPORT_ARRIVED, libsumo::REMOVE_VAPORIZED, MSLane::removeVehicle(), MSVehicleControl::scheduleVehicleRemoval(), RGBColor::set(), MSBaseVehicle::setChosenSpeedFactor(), and VEHPARS_COLOR_SET.
Referenced by TraCIServerAPI_Vehicle::processSet().
|
static |
Definition at line 917 of file Vehicle.cpp.
References buildStopParameters(), libsumo::Helper::getVehicle(), MSVehicle::replaceStop(), and WRITE_WARNING.
Referenced by TraCIServerAPI_Vehicle::processSet().
|
static |
Definition at line 1349 of file Vehicle.cpp.
References setParameter(), and toString().
|
static |
Definition at line 1537 of file Vehicle.cpp.
References MSNet::getInstance(), MSBaseVehicle::getRNGIndex(), libsumo::Helper::getVehicle(), isOnInit(), and MSBaseVehicle::reroute().
Referenced by TraCIServerAPI_Vehicle::processSet().
|
static |
Definition at line 943 of file Vehicle.cpp.
References libsumo::Helper::getVehicle(), MSVehicle::rerouteParkingArea(), and WRITE_WARNING.
Referenced by TraCIServerAPI_Vehicle::processSet().
|
static |
Definition at line 1528 of file Vehicle.cpp.
References MSBaseVehicle::getBaseInfluencer(), MSNet::getInstance(), MSBaseVehicle::getRNGIndex(), MSBaseVehicle::BaseInfluencer::getRouterTT(), MSBaseVehicle::getVClass(), libsumo::Helper::getVehicle(), isOnInit(), MSBaseVehicle::reroute(), and UNUSED_PARAMETER.
Referenced by TraCIServerAPI_Vehicle::processSet().
|
static |
Definition at line 958 of file Vehicle.cpp.
References MSStop::duration, MSStop::edge, Named::getID(), MSVehicle::getNextStop(), libsumo::Helper::getVehicle(), MSBaseVehicle::hasStops(), MSStop::pars, MSStop::reached, MSVehicle::resumeFromStopping(), SUMOVehicleParameter::Stop::startPos, and WRITE_WARNING.
Referenced by TraCIServerAPI_Vehicle::processSet().
|
static |
Definition at line 1476 of file Vehicle.cpp.
References MSEdgeWeightsStorage::addTravelTime(), MSEdge::dictionary(), libsumo::Helper::getVehicle(), MSBaseVehicle::getWeightsStorage(), libsumo::INVALID_DOUBLE_VALUE, MSEdgeWeightsStorage::knowsTravelTime(), and MSEdgeWeightsStorage::removeTravelTime().
Referenced by TraCIServerAPI_Vehicle::processSet().
|
static |
Definition at line 1502 of file Vehicle.cpp.
References MSEdgeWeightsStorage::addEffort(), MSEdge::dictionary(), libsumo::Helper::getVehicle(), MSBaseVehicle::getWeightsStorage(), libsumo::INVALID_DOUBLE_VALUE, MSEdgeWeightsStorage::knowsEffort(), and MSEdgeWeightsStorage::removeEffort().
Referenced by TraCIServerAPI_Vehicle::processSet().
|
static |
Definition at line 1395 of file Vehicle.cpp.
References MSVehicle::getInfluencer(), libsumo::Helper::getVehicle(), MSVehicle::Influencer::setLaneChangeMode(), and WRITE_ERROR.
Referenced by TraCIServerAPI_Vehicle::processSet().
|
static |
Definition at line 1707 of file Vehicle.cpp.
References MSBaseVehicle::getParameter(), libsumo::Helper::getVehicle(), and SUMOVehicleParameter::line.
Referenced by TraCIServerAPI_Vehicle::processSet().
|
static |
Definition at line 1829 of file Vehicle.cpp.
References MSBaseVehicle::createDevice(), StringUtils::endsWith(), StringTokenizer::get(), MSVehicle::getCarFollowModel(), MSVehicle::getLaneChangeModel(), MSBaseVehicle::getParameter(), libsumo::Helper::getVehicle(), MSBaseVehicle::setDeviceParameter(), MSAbstractLaneChangeModel::setParameter(), MSCFModel::setParameter(), StringTokenizer::size(), StringUtils::startsWith(), and StringUtils::toBool().
Referenced by TraCIServerAPI_Vehicle::processSet(), and requestToC().
|
static |
Definition at line 1371 of file Vehicle.cpp.
References libsumo::Helper::getVehicle(), MSVehicle::setPreviousSpeed(), and WRITE_WARNING.
Referenced by TraCIServerAPI_Vehicle::processSet().
|
static |
Definition at line 1441 of file Vehicle.cpp.
Referenced by TraCIServerAPI_Vehicle::processSet().
|
static |
Definition at line 1446 of file Vehicle.cpp.
References Named::getID(), SUMOTrafficObject::getLane(), libsumo::Helper::getVehicle(), MSEdge::parseEdgesList(), and MSBaseVehicle::replaceRouteEdges().
|
static |
Definition at line 1421 of file Vehicle.cpp.
References MSRoute::dictionary(), MSGlobals::gCheckRoutes, Named::getID(), SUMOTrafficObject::getLane(), libsumo::Helper::getVehicle(), MSBaseVehicle::hasValidRoute(), MSBaseVehicle::replaceRoute(), and WRITE_WARNING.
Referenced by TraCIServerAPI_Vehicle::processSet().
|
static |
Definition at line 1407 of file Vehicle.cpp.
References MSBaseVehicle::getBaseInfluencer(), libsumo::Helper::getVehicle(), and MSBaseVehicle::BaseInfluencer::setRoutingMode().
Referenced by TraCIServerAPI_Vehicle::processSet().
|
static |
Definition at line 1545 of file Vehicle.cpp.
References MSVehicle::getInfluencer(), libsumo::Helper::getVehicle(), MSVehicle::Influencer::setSignals(), MSVehicle::switchOffSignal(), MSVehicle::switchOnSignal(), and WRITE_ERROR.
Referenced by TraCIServerAPI_Vehicle::processSet().
|
static |
Definition at line 1354 of file Vehicle.cpp.
References DELTA_T, MSVehicle::getInfluencer(), MSNet::getInstance(), libsumo::Helper::getVehicle(), MSVehicle::Influencer::setSpeedTimeLine(), SUMOTime_MAX, and WRITE_WARNING.
Referenced by TraCIServerAPI_Vehicle::processSet().
|
static |
Definition at line 1383 of file Vehicle.cpp.
References MSVehicle::getInfluencer(), libsumo::Helper::getVehicle(), MSVehicle::Influencer::setSpeedMode(), and WRITE_WARNING.
Referenced by TraCIServerAPI_Vehicle::processSet().
|
static |
Definition at line 893 of file Vehicle.cpp.
References MSVehicle::addTraciStop(), buildStopParameters(), libsumo::Helper::getVehicle(), and WRITE_WARNING.
Referenced by TraCIServerAPI_Vehicle::processSet().
|
static |
Definition at line 1412 of file Vehicle.cpp.
References MSNet::getInstance(), libsumo::Helper::getVehicle(), MSNet::getVehicleControl(), MSVehicleControl::getVType(), and MSBaseVehicle::replaceVehicleType().
Referenced by TraCIServerAPI_Vehicle::processSet().
|
static |
Definition at line 1713 of file Vehicle.cpp.
References PollutantsInterface::getClassByName(), MSBaseVehicle::getParameter(), MSBaseVehicle::getSingularType(), libsumo::Helper::getVehicle(), getVehicleClassID(), getVehicleShapeID(), SUMOXMLDefinitions::LateralAlignments, MSEdge::parseEdgesList(), MSVehicleType::setAccel(), MSVehicleType::setApparentDecel(), MSVehicleType::setEmissionClass(), MSVehicleType::setHeight(), MSVehicleType::setImperfection(), MSVehicleType::setLength(), MSVehicleType::setMaxSpeed(), MSVehicleType::setMaxSpeedLat(), MSVehicleType::setMinGap(), MSVehicleType::setMinGapLat(), MSVehicleType::setPreferredLateralAlignment(), MSVehicleType::setShape(), MSVehicleType::setTau(), MSVehicleType::setVClass(), MSVehicleType::setWidth(), and SUMOVehicleParameter::via.
Referenced by TraCIServerAPI_Vehicle::processSet().
|
static |
Definition at line 1296 of file Vehicle.cpp.
References MSVehicle::getInfluencer(), MSNet::getInstance(), MSVehicle::getSpeed(), libsumo::Helper::getVehicle(), MSVehicle::Influencer::setSpeedTimeLine(), TIME2STEPS, and WRITE_ERROR.
Referenced by TraCIServerAPI_Vehicle::processSet().
|
static |
Saves the shape of the requested object in the given container.
id | The id of the poi to retrieve |
shape | The container to fill |
Definition at line 2120 of file Vehicle.cpp.
References getPosition(), and libsumo::Helper::getVehicle().
|
static |
Definition at line 1972 of file Vehicle.cpp.
References libsumo::Helper::addSubscriptionParam(), and libsumo::VAR_LEADER.
|
static |
Definition at line 1463 of file Vehicle.cpp.
References libsumo::Helper::getVehicle(), MSVehicle::updateBestLanes(), and WRITE_ERROR.
Referenced by TraCIServerAPI_Vehicle::processSet().
|
staticprivate |
Definition at line 251 of file Vehicle.h.
Referenced by makeWrapper().
|
staticprivate |
Definition at line 250 of file Vehicle.h.
Referenced by makeWrapper().