![]() |
Eclipse SUMO - Simulation of Urban MObility
|
#include <Lane.h>
Static Public Member Functions | |
static std::vector< std::string > | getAllowed (std::string laneID) |
static double | getCO2Emission (std::string laneID) |
static double | getCOEmission (std::string laneID) |
static std::vector< std::string > | getDisallowed (std::string laneID) |
static std::string | getEdgeID (std::string laneID) |
static double | getElectricityConsumption (std::string laneID) |
static std::vector< std::string > | getFoes (const std::string &laneID, const std::string &toLaneID) |
static double | getFriction (std::string laneID) |
static double | getFuelConsumption (std::string laneID) |
static double | getHCEmission (std::string laneID) |
static std::vector< std::string > | getInternalFoes (const std::string &laneID) |
static int | getLastStepHaltingNumber (std::string laneID) |
static double | getLastStepLength (std::string laneID) |
static double | getLastStepMeanSpeed (std::string laneID) |
static double | getLastStepOccupancy (std::string laneID) |
static std::vector< std::string > | getLastStepVehicleIDs (std::string laneID) |
static int | getLastStepVehicleNumber (std::string laneID) |
static double | getLength (std::string laneID) |
static int | getLinkNumber (std::string laneID) |
static std::vector< libsumo::TraCIConnection > | getLinks (std::string laneID) |
static double | getMaxSpeed (std::string laneID) |
static double | getNoiseEmission (std::string laneID) |
static double | getNOxEmission (std::string laneID) |
static const std::vector< std::string > | getPendingVehicles (const std::string &laneID) |
static double | getPMxEmission (std::string laneID) |
static libsumo::TraCIPositionVector | getShape (std::string laneID) |
static double | getTraveltime (std::string laneID) |
static double | getWaitingTime (std::string laneID) |
static double | getWidth (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 (std::string laneID, std::string allowedClass) |
static void | setAllowed (std::string laneID, std::vector< std::string > allowedClasses) |
static void | setDisallowed (std::string laneID, std::vector< std::string > disallowedClasses) |
static void | setFriction (std::string laneID, double friction) |
static void | setLength (std::string laneID, double length) |
static void | setMaxSpeed (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 114 of file libsumo/Lane.cpp.
References getVehicleClassNamesList(), and SVCAll.
|
static |
Definition at line 151 of file libsumo/Lane.cpp.
References PollutantsInterface::CO2.
|
static |
Definition at line 157 of file libsumo/Lane.cpp.
References PollutantsInterface::CO.
|
static |
Definition at line 124 of file libsumo/Lane.cpp.
References getVehicleClassNamesList(), and invertPermissions().
|
static |
Definition at line 64 of file libsumo/Lane.cpp.
|
static |
Definition at line 192 of file libsumo/Lane.cpp.
References PollutantsInterface::ELEC.
|
static |
Definition at line 278 of file libsumo/Lane.cpp.
References MSLink::getFoeLinks().
|
static |
Definition at line 81 of file libsumo/Lane.cpp.
|
static |
Definition at line 180 of file libsumo/Lane.cpp.
References PollutantsInterface::FUEL.
|
static |
Definition at line 163 of file libsumo/Lane.cpp.
References PollutantsInterface::HC.
|
static |
Definition at line 292 of file libsumo/Lane.cpp.
References MSLink::getFoeLanes(), MSLane::getLinkCont(), and MSLane::isInternal().
|
staticprivate |
Definition at line 382 of file libsumo/Lane.cpp.
References MSLane::dictionary().
|
static |
Definition at line 250 of file libsumo/Lane.cpp.
References MSLane::getVehiclesSecure(), MSLane::releaseVehicles(), and SUMO_const_haltingSpeed.
|
static |
Definition at line 210 of file libsumo/Lane.cpp.
References MSLane::getVehiclesSecure(), and MSLane::releaseVehicles().
|
static |
Definition at line 198 of file libsumo/Lane.cpp.
|
static |
Definition at line 204 of file libsumo/Lane.cpp.
|
static |
Definition at line 265 of file libsumo/Lane.cpp.
References MSLane::getVehiclesSecure(), and MSLane::releaseVehicles().
|
static |
Definition at line 244 of file libsumo/Lane.cpp.
|
static |
Definition at line 70 of file libsumo/Lane.cpp.
|
static |
Definition at line 86 of file libsumo/Lane.cpp.
|
static |
Definition at line 92 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 76 of file libsumo/Lane.cpp.
|
static |
Definition at line 186 of file libsumo/Lane.cpp.
|
static |
Definition at line 175 of file libsumo/Lane.cpp.
References PollutantsInterface::NO_X.
|
static |
Definition at line 311 of file libsumo/Lane.cpp.
References MSNet::getInstance().
|
static |
Definition at line 169 of file libsumo/Lane.cpp.
References PollutantsInterface::PM_X.
|
static |
Definition at line 130 of file libsumo/Lane.cpp.
|
static |
Definition at line 232 of file libsumo/Lane.cpp.
References MSLane::getLength(), and MSLane::getMeanSpeed().
|
static |
Definition at line 226 of file libsumo/Lane.cpp.
|
static |
Definition at line 145 of file libsumo/Lane.cpp.
|
static |
Definition at line 404 of file libsumo/Lane.cpp.
References libsumo::ID_COUNT, libsumo::LANE_ALLOWED, 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::readString(), tcpip::Storage::readUnsignedByte(), libsumo::TRACI_ID_LIST, 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 398 of file libsumo/Lane.cpp.
|
static |
Definition at line 324 of file libsumo/Lane.cpp.
|
static |
Definition at line 330 of file libsumo/Lane.cpp.
References MSLane::CHANGE_PERMISSIONS_PERMANENT, MSLane::getEdge(), parseVehicleClasses(), MSEdge::rebuildAllowedLanes(), and MSLane::setPermissions().
|
static |
Definition at line 338 of file libsumo/Lane.cpp.
References MSLane::CHANGE_PERMISSIONS_PERMANENT, MSLane::getEdge(), invertPermissions(), parseVehicleClasses(), MSEdge::rebuildAllowedLanes(), and MSLane::setPermissions().
|
static |
Definition at line 358 of file libsumo/Lane.cpp.
|
static |
Definition at line 352 of file libsumo/Lane.cpp.
|
static |
Definition at line 346 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 392 of file libsumo/Lane.cpp.
|
staticprivate |
|
staticprivate |