Eclipse SUMO - Simulation of Urban MObility
|
#include <Lane.h>
Static Public Member Functions | |
static std::vector< std::string > | getAllowed (const std::string &laneID) |
static double | getAngle (const std::string &laneID, double relativePosition=libsumo::INVALID_DOUBLE_VALUE) |
static std::vector< std::string > | getChangePermissions (const std::string &laneID, const int direction) |
static double | getCO2Emission (const std::string &laneID) |
static double | getCOEmission (const std::string &laneID) |
static std::vector< std::string > | getDisallowed (const std::string &laneID) |
static std::string | getEdgeID (const std::string &laneID) |
static double | getElectricityConsumption (const std::string &laneID) |
static std::vector< std::string > | getFoes (const std::string &laneID, const std::string &toLaneID) |
static double | getFriction (const std::string &laneID) |
static double | getFuelConsumption (const std::string &laneID) |
static double | getHCEmission (const std::string &laneID) |
static std::vector< std::string > | getInternalFoes (const std::string &laneID) |
static int | getLastStepHaltingNumber (const std::string &laneID) |
static double | getLastStepLength (const std::string &laneID) |
static double | getLastStepMeanSpeed (const std::string &laneID) |
static double | getLastStepOccupancy (const std::string &laneID) |
static std::vector< std::string > | getLastStepVehicleIDs (const std::string &laneID) |
static int | getLastStepVehicleNumber (const std::string &laneID) |
static double | getLength (const std::string &laneID) |
static int | getLinkNumber (const std::string &laneID) |
static std::vector< libsumo::TraCIConnection > | getLinks (const std::string &laneID) |
static double | getMaxSpeed (const std::string &laneID) |
static double | getNoiseEmission (const std::string &laneID) |
static double | getNOxEmission (const std::string &laneID) |
static const std::vector< std::string > | getPendingVehicles (const std::string &laneID) |
static double | getPMxEmission (const std::string &laneID) |
static libsumo::TraCIPositionVector | getShape (const std::string &laneID) |
static double | getTraveltime (const std::string &laneID) |
static double | getWaitingTime (const std::string &laneID) |
static double | getWidth (const std::string &laneID) |
static bool | handleVariable (const std::string &objID, const int variable, VariableWrapper *wrapper, tcpip::Storage *paramData) |
static std::shared_ptr< VariableWrapper > | makeWrapper () |
LIBSUMO_ID_PARAMETER_API static LIBSUMO_SUBSCRIPTION_API void | setAllowed (const std::string &laneID, std::string allowedClasses) |
static void | setAllowed (const std::string &laneID, std::vector< std::string > allowedClasses) |
static void | setChangePermissions (const std::string &laneID, std::vector< std::string > allowedClasses, const int direction) |
static void | setDisallowed (const std::string &laneID, std::string disallowedClasses) |
static void | setDisallowed (const std::string &laneID, std::vector< std::string > disallowedClasses) |
static void | setFriction (const std::string &laneID, double friction) |
static void | setLength (const std::string &laneID, double length) |
static void | setMaxSpeed (const std::string &laneID, double speed) |
static void | storeShape (const std::string &id, PositionVector &shape) |
Saves the shape of the requested object in the given container. More... | |
Private Member Functions | |
Lane ()=delete | |
invalidated standard constructor More... | |
Static Private Member Functions | |
static MSLane * | getLane (const std::string &id) |
Static Private Attributes | |
static ContextSubscriptionResults | myContextSubscriptionResults |
static SubscriptionResults | mySubscriptionResults |
|
privatedelete |
invalidated standard constructor
|
static |
Definition at line 116 of file libsumo/Lane.cpp.
References getVehicleClassNamesList(), and SVCAll.
|
static |
Definition at line 338 of file libsumo/Lane.cpp.
References Position::angleTo2D(), MSLane::getShape(), MSLane::interpolateLanePosToGeometryPos(), libsumo::INVALID_DOUBLE_VALUE, GeomHelper::naviDegree(), and PositionVector::rotationAtOffset().
|
static |
Definition at line 132 of file libsumo/Lane.cpp.
References getVehicleClassNamesList(), libsumo::LANECHANGE_LEFT, libsumo::LANECHANGE_RIGHT, and toString().
|
static |
Definition at line 165 of file libsumo/Lane.cpp.
References PollutantsInterface::CO2.
|
static |
Definition at line 171 of file libsumo/Lane.cpp.
References PollutantsInterface::CO.
|
static |
Definition at line 126 of file libsumo/Lane.cpp.
References getVehicleClassNamesList(), and invertPermissions().
|
static |
Definition at line 66 of file libsumo/Lane.cpp.
|
static |
Definition at line 206 of file libsumo/Lane.cpp.
References PollutantsInterface::ELEC.
|
static |
Definition at line 292 of file libsumo/Lane.cpp.
References MSLink::getFoeLinks().
|
static |
Definition at line 83 of file libsumo/Lane.cpp.
|
static |
Definition at line 194 of file libsumo/Lane.cpp.
References PollutantsInterface::FUEL.
|
static |
Definition at line 177 of file libsumo/Lane.cpp.
References PollutantsInterface::HC.
|
static |
Definition at line 306 of file libsumo/Lane.cpp.
References MSLink::getFoeLanes(), MSLane::getLinkCont(), MSLane::isCrossing(), and MSLane::isInternal().
|
staticprivate |
Definition at line 431 of file libsumo/Lane.cpp.
References MSLane::dictionary().
|
static |
Definition at line 264 of file libsumo/Lane.cpp.
References MSLane::getVehiclesSecure(), MSLane::releaseVehicles(), and SUMO_const_haltingSpeed.
|
static |
Definition at line 224 of file libsumo/Lane.cpp.
References MSLane::getVehiclesSecure(), and MSLane::releaseVehicles().
|
static |
Definition at line 212 of file libsumo/Lane.cpp.
|
static |
Definition at line 218 of file libsumo/Lane.cpp.
|
static |
Definition at line 279 of file libsumo/Lane.cpp.
References MSLane::getVehiclesSecure(), and MSLane::releaseVehicles().
|
static |
Definition at line 258 of file libsumo/Lane.cpp.
|
static |
Definition at line 72 of file libsumo/Lane.cpp.
|
static |
Definition at line 88 of file libsumo/Lane.cpp.
|
static |
Definition at line 94 of file libsumo/Lane.cpp.
References MSNet::getCurrentTimeStep(), SUMOVTypeParameter::getDefault(), SUMOVTypeParameter::getDefaultDecel(), MSNet::getInstance(), MSLane::getLinkCont(), MSLane::getSpeedLimit(), StringBijection< T >::getString(), SUMOXMLDefinitions::LinkDirections, SUMOXMLDefinitions::LinkStates, and MIN2().
|
static |
Definition at line 78 of file libsumo/Lane.cpp.
|
static |
Definition at line 200 of file libsumo/Lane.cpp.
|
static |
Definition at line 189 of file libsumo/Lane.cpp.
References PollutantsInterface::NO_X.
|
static |
Definition at line 325 of file libsumo/Lane.cpp.
References MSNet::getInstance().
|
static |
Definition at line 183 of file libsumo/Lane.cpp.
References PollutantsInterface::PM_X.
|
static |
Definition at line 144 of file libsumo/Lane.cpp.
|
static |
Definition at line 246 of file libsumo/Lane.cpp.
References MSLane::getLength(), and MSLane::getMeanSpeed().
|
static |
Definition at line 240 of file libsumo/Lane.cpp.
|
static |
Definition at line 159 of file libsumo/Lane.cpp.
|
static |
Definition at line 453 of file libsumo/Lane.cpp.
References libsumo::ID_COUNT, libsumo::LANE_ALLOWED, libsumo::LANE_CHANGES, libsumo::LANE_DISALLOWED, libsumo::LANE_EDGE_ID, libsumo::LANE_LINK_NUMBER, libsumo::LAST_STEP_LENGTH, libsumo::LAST_STEP_MEAN_SPEED, libsumo::LAST_STEP_OCCUPANCY, libsumo::LAST_STEP_VEHICLE_HALTING_NUMBER, libsumo::LAST_STEP_VEHICLE_ID_LIST, libsumo::LAST_STEP_VEHICLE_NUMBER, tcpip::Storage::readByte(), tcpip::Storage::readDouble(), tcpip::Storage::readString(), tcpip::Storage::readUnsignedByte(), libsumo::TRACI_ID_LIST, libsumo::VAR_ANGLE, libsumo::VAR_CO2EMISSION, libsumo::VAR_COEMISSION, libsumo::VAR_CURRENT_TRAVELTIME, libsumo::VAR_ELECTRICITYCONSUMPTION, libsumo::VAR_FRICTION, libsumo::VAR_FUELCONSUMPTION, libsumo::VAR_HCEMISSION, libsumo::VAR_LENGTH, libsumo::VAR_MAXSPEED, libsumo::VAR_NOISEEMISSION, libsumo::VAR_NOXEMISSION, libsumo::VAR_PARAMETER, libsumo::VAR_PARAMETER_WITH_KEY, libsumo::VAR_PENDING_VEHICLES, libsumo::VAR_PMXEMISSION, libsumo::VAR_SHAPE, libsumo::VAR_WAITING_TIME, and libsumo::VAR_WIDTH.
|
static |
Definition at line 447 of file libsumo/Lane.cpp.
|
static |
|
static |
Definition at line 360 of file libsumo/Lane.cpp.
References MSLane::CHANGE_PERMISSIONS_PERMANENT, MSLane::getEdge(), parseVehicleClasses(), MSEdge::rebuildAllowedLanes(), and MSLane::setPermissions().
|
static |
Definition at line 382 of file libsumo/Lane.cpp.
References libsumo::LANECHANGE_LEFT, libsumo::LANECHANGE_RIGHT, parseVehicleClasses(), MSLane::setChangeLeft(), MSLane::setChangeRight(), and toString().
|
static |
Definition at line 368 of file libsumo/Lane.cpp.
|
static |
Definition at line 374 of file libsumo/Lane.cpp.
References MSLane::CHANGE_PERMISSIONS_PERMANENT, MSLane::getEdge(), invertPermissions(), parseVehicleClasses(), MSEdge::rebuildAllowedLanes(), and MSLane::setPermissions().
|
static |
Definition at line 407 of file libsumo/Lane.cpp.
|
static |
Definition at line 401 of file libsumo/Lane.cpp.
|
static |
Definition at line 395 of file libsumo/Lane.cpp.
|
static |
Saves the shape of the requested object in the given container.
id | The id of the lane to retrieve |
shape | The container to fill |
Definition at line 441 of file libsumo/Lane.cpp.
|
staticprivate |
|
staticprivate |