![]() |
Eclipse SUMO - Simulation of Urban MObility
|
#include <config.h>#include <foreign/tcpip/storage.h>#include <utils/geom/GeomHelper.h>#include <utils/common/MsgHandler.h>#include <utils/common/StringTokenizer.h>#include <utils/common/StringUtils.h>#include <utils/gui/globjects/GUIGlObjectTypes.h>#include <utils/emissions/PollutantsInterface.h>#include <utils/vehicle/SUMOVehicleParserHelper.h>#include <microsim/traffic_lights/MSTrafficLightLogic.h>#include <microsim/lcmodels/MSAbstractLaneChangeModel.h>#include <microsim/devices/MSDevice.h>#include <microsim/MSEdgeWeightsStorage.h>#include <microsim/MSStop.h>#include <microsim/MSVehicle.h>#include <microsim/MSVehicleControl.h>#include <microsim/MSVehicleTransfer.h>#include <microsim/MSVehicleType.h>#include <microsim/MSInsertionControl.h>#include <microsim/MSNet.h>#include <microsim/MSEdge.h>#include <microsim/MSLane.h>#include <microsim/MSParkingArea.h>#include <microsim/MSJunctionLogic.h>#include <microsim/devices/MSDevice_Taxi.h>#include <microsim/devices/MSDispatch_TraCI.h>#include <mesosim/MEVehicle.h>#include <libsumo/StorageHelper.h>#include <libsumo/TraCIDefs.h>#include <libsumo/TraCIConstants.h>#include "Helper.h"#include "Route.h"#include "Polygon.h"#include "Vehicle.h"Go to the source code of this file.
Namespaces | |
| namespace | libsumo |
Macros | |
| #define | CALL_MESO_FUN(veh, fun, microResult) |
| #define | CALL_MICRO_FUN(veh, fun, mesoResult) |
| #define | DEBUG_COND (veh->isSelected()) |
Definition in file libsumo/Vehicle.cpp.
| #define CALL_MESO_FUN | ( | veh, | |
| fun, | |||
| microResult ) |
Definition at line 58 of file libsumo/Vehicle.cpp.
Referenced by LIBSUMO_NAMESPACE::Vehicle::getSegmentID(), and LIBSUMO_NAMESPACE::Vehicle::getSegmentIndex().
| #define CALL_MICRO_FUN | ( | veh, | |
| fun, | |||
| mesoResult ) |
Definition at line 57 of file libsumo/Vehicle.cpp.
Referenced by LIBSUMO_NAMESPACE::Vehicle::getAcceleration(), LIBSUMO_NAMESPACE::Vehicle::getAccumulatedWaitingTime(), LIBSUMO_NAMESPACE::Vehicle::getAllowedSpeed(), LIBSUMO_NAMESPACE::Vehicle::getLaneChangeMode(), LIBSUMO_NAMESPACE::Vehicle::getLaneChangeState(), LIBSUMO_NAMESPACE::Vehicle::getLaneID(), LIBSUMO_NAMESPACE::Vehicle::getLateralLanePosition(), LIBSUMO_NAMESPACE::Vehicle::getLateralSpeed(), LIBSUMO_NAMESPACE::Vehicle::getRoadID(), LIBSUMO_NAMESPACE::Vehicle::getSignals(), LIBSUMO_NAMESPACE::Vehicle::getSpeedMode(), and LIBSUMO_NAMESPACE::Vehicle::getSpeedWithoutTraCI().
| #define DEBUG_COND (veh->isSelected()) |
Definition at line 66 of file libsumo/Vehicle.cpp.
Referenced by MSLCM_LC2013::_patchSpeed(), MSCFModel_ACC::_v(), MSCFModel_CACC::_v(), MSCFModel_IDM::_v(), MSLCM_LC2013::_wantsChange(), MSLCM_SL2015::_wantsChangeSublane(), MSLaneChangerSublane::abortLCManeuver(), MSCFModel_ACC::accelGapControl(), MSRoutingEngine::adaptEdgeEfforts(), MSDevice_GLOSA::adaptSpeed(), MSLCM_LC2013::adaptSpeedToPedestrians(), MSVehicle::adaptToJunctionLeader(), MSVehicle::adaptToLeader(), MSVehicle::adaptToLeaderDistance(), MSVehicle::adaptToLeaders(), MSVehicle::adaptToOncomingLeader(), MSE2Collector::addDetectorToLanes(), MSLane::addLeaders(), MSLaneChangerSublane::addOutsideLeaders(), MSBaseVehicle::addStop(), MSCFModel::applyHeadwayAndSpeedDifferencePerceptionErrors(), MSCFModel::applyHeadwayPerceptionError(), MSLaneChanger::avoidDeadlock(), MSVehicle::boardTransportables(), MSVehicle::brakeForOverlap(), MSE2Collector::buildJam(), MSE2Collector::calculateTimeLossAndTimeOnDetector(), MSDevice_Taxi::cancelCustomer(), MSLCHelper::canSaveBlockerLength(), MSLaneChanger::change(), MSLaneChangerSublane::change(), MSLCM_SL2015::changed(), MSLaneChanger::changeOpposite(), MSLaneChanger::checkChange(), MSLaneChanger::checkChangeOpposite(), MSLaneChangerSublane::checkChangeOpposite(), MSLaneChangerSublane::checkChangeSublane(), MSE2Collector::checkJam(), MSVehicle::checkLinkLeader(), MSLaneChanger::checkOppositeStop(), MSE2Collector::checkPositioning(), MSVehicle::checkReversal(), MSVehicle::checkRewindLinkLanes(), MSLaneChanger::checkTraCICommands(), MSDevice_SSM::closeEncounter(), MSVehicle::computeAngle(), MSDevice_SSM::computeDRAC(), MSVehicle::computeFurtherLanes(), MSLaneChanger::computeOvertakingTime(), MSLaneChanger::computeSafeOppositeLength(), MSLCM_LC2013::computeSpeedLat(), MSDevice_SSM::computeSSMs(), MSLaneChanger::computeSurplusGap(), MSDevice_SSM::computeTTC(), MSLaneChanger::continueChange(), MSLaneChangerSublane::continueChangeSublane(), MSDevice_SSM::createEncounters(), MSLCM_LC2013::debugVehicle(), MSLCM_SL2015::debugVehicle(), MSLCM_SL2015::decideDirection(), MSActuatedTrafficLightLogic::decideNextPhase(), MSActuatedTrafficLightLogic::decideNextPhaseCustom(), MSLane::detectCollisionBetween(), MSLane::detectCollisions(), MSE2Collector::detectorUpdate(), MSE3Collector::detectorUpdate(), MSLane::detectPedestrianJunctionCollision(), MSDevice_SSM::determineConflictPoint(), MSDevice_SSM::determinePET(), MSDevice_SSM::determineTTCandDRACandPPETandMDRAC(), MSDevice_Taxi::dispatchShared(), MSVehicle::enterLaneAtLaneChange(), MSDevice_SSM::estimateConflictTimes(), MSVehicle::executeFractionalMove(), MSVehicle::executeMove(), MSCFModel::finalizeSpeed(), MSDevice_SSM::findFoeConflictLane(), MSDevice_SSM::flushConflicts(), MSDevice_SSM::flushGlobalMeasures(), MSCFModel_CACC::followSpeed(), MSCFModel_W99::followSpeed(), MSLCM_SL2015::forecastAverageSpeed(), MSLaneChanger::foundHilltop(), MSActuatedTrafficLightLogic::gapControl(), MSVehicle::getBackPosition(), MSVehicle::getBackPositionOnLane(), MSLaneChanger::getBestLanesOpposite(), MSVehicle::getCenterOnEdge(), MSLaneChanger::getColumnleader(), MSActuatedTrafficLightLogic::getDetectorPriority(), MSSimpleTrafficLightLogic::getEarliest(), MSLane::getLastVehicleInformation(), MSSimpleTrafficLightLogic::getLatest(), MSVehicle::getLatOffset(), MSLaneChangerSublane::getLeaders(), LIBSUMO_NAMESPACE::Vehicle::getNeighbors(), MSSimpleDriverState::getPerceivedHeadway(), MSSimpleDriverState::getPerceivedSpeedDifference(), MSLaneChanger::getRealFollower(), MSLaneChanger::getRealLeader(), MSIdling_Stop::idle(), MSVehicle::ignoreRed(), MSLCM_LC2013::inform(), MSLCM_SL2015::inform(), MSLCM_LC2013::informFollower(), MSLCM_LC2013::informLeader(), MSActuatedTrafficLightLogic::init(), MSE2Collector::initAuxiliaries(), MSCFModel_CACC::insertionFollowSpeed(), MSE2Collector::integrateMoveNotification(), MSLane::integrateNewVehicles(), MSLane::isInsertionSuccess(), MSVehicle::isLeader(), MESegment::isOpen(), MESegment::jamThresholdForSpeed(), MSVehicle::lateralDistanceToLane(), MSVehicle::leaveLane(), MSVehicle::leaveLaneBack(), NIImporter_OpenDrive::loadNetwork(), MSE2Collector::makeMoveNotification(), MSE2Collector::makeVehicleInfo(), MSDevice_SSM::MSDevice_SSM(), MSE2Collector::MSE2Collector(), MSE2Collector::MSE2Collector(), MSLCM_LC2013::MSLCM_LC2013(), MSLCM_SL2015::mustOvertakeStopped(), NIImporter_OpenDrive::myStartElement(), MSDevice_GLOSA::notifyEnter(), MSDevice_SSM::notifyEnter(), MSE2Collector::notifyEnter(), MSE3Collector::MSE3EntryReminder::notifyEnter(), MSE3Collector::MSE3LeaveReminder::notifyEnter(), MSDevice_SSM::notifyLeave(), MSE2Collector::notifyLeave(), MSE3Collector::MSE3EntryReminder::notifyLeave(), MSE3Collector::MSE3LeaveReminder::notifyLeave(), MSDevice_GLOSA::notifyMove(), MSDevice_SSM::notifyMove(), MSE2Collector::notifyMove(), MSE3Collector::MSE3EntryReminder::notifyMove(), MSE3Collector::MSE3LeaveReminder::notifyMove(), MSInductLoop::notifyMove(), MSVehicle::onRemovalFromNet(), MSLaneChangerSublane::outputLCStarted(), MSLCM_LC2013::patchSpeed(), MSLCM_SL2015::patchSpeed(), MSRoutingEngine::patchSpeedForTurns(), MSVehicle::planMove(), MSVehicle::planMoveInternal(), MSLane::planMovements(), MSLCM_SL2015::prepareStep(), MSDevice_SSM::processEncounters(), MSE2Collector::processJams(), MSVehicle::processLaneAdvances(), MSVehicle::processLinkApproaches(), MSVehicle::processNextStop(), MSDevice_SSM::qualifiesAsConflict(), MSE2Collector::recalculateDetectorLength(), MSVehicle::removePassedDriveItems(), MSBaseVehicle::replaceRoute(), MSBaseVehicle::reroute(), MSLaneChanger::resolveDeadlock(), NIImporter_OpenDrive::revisitLaneSections(), NIImporter_OpenDrive::sanitizeWidths(), MSLCM_LC2013::saveBlockerLength(), MSE2Collector::selectLanes(), MSVehicle::setAngle(), MSVehicle::setApproachingForAllLinks(), MSSimpleDriverState::setAwareness(), NIImporter_OpenDrive::setEdgeLinks2(), MSAbstractLaneChangeModel::setManeuverDist(), MSLCM_SL2015::setOwnState(), MSLCM_LC2013::slowDownForBlocked(), MSVehicle::slowDownForSchedule(), MSLane::sortManeuverReservations(), MSCFModel_CACC::speedGapControl(), NIImporter_OpenDrive::splitMinWidths(), MSLaneChangerSublane::startChangeSublane(), MSActuatedTrafficLightLogic::trySwitch(), MSDevice_SSM::update(), MSSimpleDriverState::update(), MSDevice_SSM::updateAndWriteOutput(), MSVehicle::updateBestLanes(), MSLCHelper::updateBlockerLength(), MSRailSignal::updateCurrentPhase(), MSVehicle::updateDriveItems(), MSLCM_SL2015::updateExpectedSublaneSpeeds(), MSVehicle::updateFurtherLanes(), MSLane::updateLeaderInfo(), MSDevice_Taxi::updateMove(), MSVehicle::updateOccupancyAndCurrentBestLane(), MSDevice_SSM::updatePassedEncounter(), MSVehicle::updateState(), MSLCM_LC2013::wantsChange(), MSLCM_SL2015::wantsChange(), MSLCM_SL2015::wantsChangeSublane(), MSDevice_SSM::writeOutConflict(), MSE2Collector::writeXMLOutput(), MSLaneChanger::yieldToDeadlockOncoming(), and MSLaneChanger::yieldToOppositeWaiting().