Eclipse SUMO - Simulation of Urban MObility
Loading...
Searching...
No Matches
Vehicle.cpp File Reference
Include dependency graph for libsumo/Vehicle.cpp:

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())

Detailed Description

Author
Jakob Erdmann
Mirko Barthauer
Date
15.03.2017

Definition in file libsumo/Vehicle.cpp.

Macro Definition Documentation

◆ CALL_MESO_FUN

#define CALL_MESO_FUN ( veh,
fun,
microResult )
Value:
((dynamic_cast<MEVehicle*>(veh) == nullptr ? (microResult) : dynamic_cast<MEVehicle*>(veh)->fun))
A vehicle from the mesoscopic point of view.
Definition MEVehicle.h:42

Definition at line 58 of file libsumo/Vehicle.cpp.

Referenced by LIBSUMO_NAMESPACE::Vehicle::getSegmentID(), and LIBSUMO_NAMESPACE::Vehicle::getSegmentIndex().

◆ CALL_MICRO_FUN

◆ DEBUG_COND

#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().