![]() |
Eclipse SUMO - Simulation of Urban MObility
|
#include <Edge.h>
Static Public Member Functions | |
static void | adaptTraveltime (const std::string &edgeID, double time, double beginSeconds=0., double endSeconds=std::numeric_limits< double >::max()) |
static double | getAdaptedTraveltime (const std::string &edgeID, double time) |
static double | getAngle (const std::string &edgeID, double relativePosition=libsumo::INVALID_DOUBLE_VALUE) |
static double | getCO2Emission (const std::string &edgeID) |
static double | getCOEmission (const std::string &edgeID) |
static double | getEffort (const std::string &edgeID, double time) |
static double | getElectricityConsumption (const std::string &edgeID) |
static double | getFuelConsumption (const std::string &edgeID) |
static double | getHCEmission (const std::string &edgeID) |
static int | getLaneNumber (const std::string &edgeID) |
static int | getLastStepHaltingNumber (const std::string &edgeID) |
static double | getLastStepLength (const std::string &edgeID) |
static double | getLastStepMeanSpeed (const std::string &edgeID) |
static double | getLastStepOccupancy (const std::string &edgeID) |
static const std::vector< std::string > | getLastStepPersonIDs (const std::string &edgeID) |
static const std::vector< std::string > | getLastStepVehicleIDs (const std::string &edgeID) |
static int | getLastStepVehicleNumber (const std::string &edgeID) |
static double | getMeanFriction (const std::string &edgeID) |
static double | getNoiseEmission (const std::string &edgeID) |
static double | getNOxEmission (const std::string &edgeID) |
static const std::vector< std::string > | getPendingVehicles (const std::string &edgeID) |
static double | getPMxEmission (const std::string &edgeID) |
static std::string | getStreetName (const std::string &edgeID) |
static double | getTraveltime (const std::string &edgeID) |
static double | getWaitingTime (const std::string &edgeID) |
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 &edgeID, std::string allowedClasses) |
static void | setAllowed (const std::string &edgeID, std::vector< std::string > allowedClasses) |
static void | setDisallowed (const std::string &edgeID, std::string disallowedClasses) |
static void | setDisallowed (const std::string &edgeID, std::vector< std::string > disallowedClasses) |
static void | setEffort (const std::string &edgeID, double effort, double beginSeconds=0., double endSeconds=std::numeric_limits< double >::max()) |
static void | setFriction (const std::string &edgeID, double value) |
static void | setMaxSpeed (const std::string &edgeID, double speed) |
static void | storeShape (const std::string &edgeID, PositionVector &shape) |
Saves the shape of the requested object in the given container. | |
Private Member Functions | |
Edge ()=delete | |
invalidated standard constructor | |
Static Private Member Functions | |
static MSEdge * | getEdge (const std::string &edgeID) |
static void | setAllowedSVCPermissions (const std::string &edgeID, int permissions) |
Static Private Attributes | |
static ContextSubscriptionResults | myContextSubscriptionResults |
static SubscriptionResults | mySubscriptionResults |
|
privatedelete |
invalidated standard constructor
|
static |
Definition at line 337 of file libsumo/Edge.cpp.
References MSEdgeWeightsStorage::addTravelTime(), MSNet::getInstance(), and MSNet::getWeightsStorage().
|
static |
Definition at line 63 of file libsumo/Edge.cpp.
References MSNet::getInstance().
|
static |
Definition at line 287 of file libsumo/Edge.cpp.
References libsumo::INVALID_DOUBLE_VALUE.
|
static |
Definition at line 129 of file libsumo/Edge.cpp.
References PollutantsInterface::CO2.
|
static |
Definition at line 139 of file libsumo/Edge.cpp.
References PollutantsInterface::CO.
|
staticprivate |
Definition at line 91 of file libsumo/Edge.cpp.
References MSEdge::dictionary().
|
static |
Definition at line 74 of file libsumo/Edge.cpp.
References MSNet::getInstance().
|
static |
Definition at line 202 of file libsumo/Edge.cpp.
References PollutantsInterface::ELEC.
|
static |
Definition at line 179 of file libsumo/Edge.cpp.
References PollutantsInterface::FUEL.
|
static |
Definition at line 149 of file libsumo/Edge.cpp.
References PollutantsInterface::HC.
|
static |
Definition at line 262 of file libsumo/Edge.cpp.
|
static |
Definition at line 235 of file libsumo/Edge.cpp.
References SUMO_const_haltingSpeed.
|
static |
Definition at line 247 of file libsumo/Edge.cpp.
References MSBaseVehicle::getLength().
|
static |
Definition at line 218 of file libsumo/Edge.cpp.
|
static |
Definition at line 229 of file libsumo/Edge.cpp.
|
static |
Definition at line 107 of file libsumo/Edge.cpp.
References MSNet::getInstance().
|
static |
Definition at line 119 of file libsumo/Edge.cpp.
|
static |
Definition at line 212 of file libsumo/Edge.cpp.
|
static |
Definition at line 223 of file libsumo/Edge.cpp.
|
static |
Definition at line 189 of file libsumo/Edge.cpp.
References HelpersHarmonoise::sum().
|
static |
Definition at line 169 of file libsumo/Edge.cpp.
References PollutantsInterface::NO_X.
|
static |
Definition at line 274 of file libsumo/Edge.cpp.
References MSNet::getInsertionControl(), MSNet::getInstance(), and MSInsertionControl::getPendingVehicles().
|
static |
Definition at line 159 of file libsumo/Edge.cpp.
References PollutantsInterface::PM_X.
|
static |
Definition at line 268 of file libsumo/Edge.cpp.
|
static |
Definition at line 85 of file libsumo/Edge.cpp.
|
static |
Definition at line 101 of file libsumo/Edge.cpp.
References MSEdge::getWaitingSeconds().
|
static |
Definition at line 389 of file libsumo/Edge.cpp.
References libsumo::ID_COUNT, libsumo::LAST_STEP_LENGTH, libsumo::LAST_STEP_MEAN_SPEED, libsumo::LAST_STEP_OCCUPANCY, libsumo::LAST_STEP_PERSON_ID_LIST, libsumo::LAST_STEP_VEHICLE_HALTING_NUMBER, libsumo::LAST_STEP_VEHICLE_ID_LIST, libsumo::LAST_STEP_VEHICLE_NUMBER, 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_LANE_INDEX, libsumo::VAR_NAME, libsumo::VAR_NOISEEMISSION, libsumo::VAR_NOXEMISSION, libsumo::VAR_PARAMETER, libsumo::VAR_PARAMETER_WITH_KEY, libsumo::VAR_PENDING_VEHICLES, libsumo::VAR_PMXEMISSION, and libsumo::VAR_WAITING_TIME.
|
static |
Definition at line 383 of file libsumo/Edge.cpp.
|
static |
Definition at line 303 of file libsumo/Edge.cpp.
References parseVehicleClasses().
|
static |
Definition at line 309 of file libsumo/Edge.cpp.
References parseVehicleClasses().
|
staticprivate |
Definition at line 327 of file libsumo/Edge.cpp.
References MSLane::CHANGE_PERMISSIONS_PERMANENT, MSEdge::getLanes(), and MSEdge::rebuildAllowedLanes().
|
static |
Definition at line 315 of file libsumo/Edge.cpp.
References invertPermissions(), and parseVehicleClasses().
|
static |
Definition at line 321 of file libsumo/Edge.cpp.
References invertPermissions(), and parseVehicleClasses().
|
static |
Definition at line 343 of file libsumo/Edge.cpp.
References MSEdgeWeightsStorage::addEffort(), MSNet::getInstance(), and MSNet::getWeightsStorage().
|
static |
Definition at line 356 of file libsumo/Edge.cpp.
|
static |
Definition at line 349 of file libsumo/Edge.cpp.
|
static |
Saves the shape of the requested object in the given container.
id | The id of the edge to retrieve |
shape | The container to fill |
Definition at line 372 of file libsumo/Edge.cpp.
References MSEdge::getLanes().
|
staticprivate |
|
staticprivate |