![]() |
Eclipse SUMO - Simulation of Urban MObility
|
#include <LaneArea.h>
Static Public Member Functions | |
| static void | cleanup () |
| static double | getIntervalMaxJamLengthInMeters (const std::string &detID) |
| static double | getIntervalMeanSpeed (const std::string &detID) |
| static double | getIntervalMeanTimeLoss (const std::string &detID) |
| static double | getIntervalOccupancy (const std::string &detID) |
| static int | getIntervalVehicleNumber (const std::string &detID) |
| static double | getJamLengthMeters (const std::string &detID) |
| static int | getJamLengthVehicle (const std::string &detID) |
| static std::string | getLaneID (const std::string &detID) |
| static double | getLastIntervalMaxJamLengthInMeters (const std::string &detID) |
| static double | getLastIntervalMeanSpeed (const std::string &detID) |
| static double | getLastIntervalMeanTimeLoss (const std::string &detID) |
| static double | getLastIntervalOccupancy (const std::string &detID) |
| static int | getLastIntervalVehicleNumber (const std::string &detID) |
| static int | getLastStepHaltingNumber (const std::string &detID) |
| static double | getLastStepMeanSpeed (const std::string &detID) |
| static double | getLastStepOccupancy (const std::string &detID) |
| static std::vector< std::string > | getLastStepVehicleIDs (const std::string &detID) |
| static int | getLastStepVehicleNumber (const std::string &detID) |
| static double | getLength (const std::string &detID) |
| static double | getPosition (const std::string &detID) |
| LIBSUMO_ID_PARAMETER_API static LIBSUMO_SUBSCRIPTION_API NamedRTree * | getTree () |
| Returns a tree filled with inductive loop instances. | |
| static bool | handleVariable (const std::string &objID, const int variable, VariableWrapper *wrapper, tcpip::Storage *paramData) |
| static std::shared_ptr< VariableWrapper > | makeWrapper () |
| static void | overrideVehicleNumber (const std::string &detID, int vehNum) |
| static void | storeShape (const std::string &id, PositionVector &shape) |
| Saves the shape of the requested object in the given container. | |
Private Member Functions | |
| LaneArea ()=delete | |
| invalidated standard constructor | |
Static Private Member Functions | |
| static MSE2Collector * | getDetector (const std::string &detID) |
Static Private Attributes | |
| static ContextSubscriptionResults | myContextSubscriptionResults |
| static SubscriptionResults | mySubscriptionResults |
| static NamedRTree * | myTree |
Definition at line 44 of file LaneArea.h.
|
privatedelete |
invalidated standard constructor
|
static |
Definition at line 218 of file libsumo/LaneArea.cpp.
References cleanup(), and myTree.
Referenced by cleanup().
|
staticprivate |
Definition at line 191 of file libsumo/LaneArea.cpp.
References NamedObjectCont< T >::get(), getDetector(), MSNet::getDetectorControl(), MSNet::getInstance(), MSDetectorControl::getTypedDetectors(), and SUMO_TAG_LANE_AREA_DETECTOR.
Referenced by getDetector(), getIntervalMaxJamLengthInMeters(), getIntervalMeanSpeed(), getIntervalMeanTimeLoss(), getIntervalOccupancy(), getIntervalVehicleNumber(), getJamLengthMeters(), getJamLengthVehicle(), getLaneID(), getLastIntervalMaxJamLengthInMeters(), getLastIntervalMeanSpeed(), getLastIntervalMeanTimeLoss(), getLastIntervalOccupancy(), getLastIntervalVehicleNumber(), getLastStepHaltingNumber(), getLastStepMeanSpeed(), getLastStepOccupancy(), getLastStepVehicleIDs(), getLastStepVehicleNumber(), getLength(), getPosition(), getTree(), overrideVehicleNumber(), and storeShape().
|
static |
Definition at line 137 of file libsumo/LaneArea.cpp.
References getDetector(), and getIntervalMaxJamLengthInMeters().
Referenced by getIntervalMaxJamLengthInMeters(), and handleVariable().
|
static |
Definition at line 127 of file libsumo/LaneArea.cpp.
References getDetector(), and getIntervalMeanSpeed().
Referenced by getIntervalMeanSpeed(), and handleVariable().
|
static |
Definition at line 132 of file libsumo/LaneArea.cpp.
References getDetector(), and getIntervalMeanTimeLoss().
Referenced by getIntervalMeanTimeLoss(), and handleVariable().
|
static |
Definition at line 122 of file libsumo/LaneArea.cpp.
References getDetector(), and getIntervalOccupancy().
Referenced by getIntervalOccupancy(), and handleVariable().
|
static |
Definition at line 142 of file libsumo/LaneArea.cpp.
References getDetector(), and getIntervalVehicleNumber().
Referenced by getIntervalVehicleNumber(), and handleVariable().
|
static |
Definition at line 67 of file libsumo/LaneArea.cpp.
References getDetector(), and getJamLengthMeters().
Referenced by getJamLengthMeters(), and handleVariable().
|
static |
Definition at line 61 of file libsumo/LaneArea.cpp.
References getDetector(), and getJamLengthVehicle().
Referenced by getJamLengthVehicle(), and handleVariable().
|
static |
Definition at line 97 of file libsumo/LaneArea.cpp.
References getDetector(), and getLaneID().
Referenced by getLaneID(), and handleVariable().
|
static |
Definition at line 162 of file libsumo/LaneArea.cpp.
References getDetector(), and getLastIntervalMaxJamLengthInMeters().
Referenced by getLastIntervalMaxJamLengthInMeters(), and handleVariable().
|
static |
Definition at line 152 of file libsumo/LaneArea.cpp.
References getDetector(), and getLastIntervalMeanSpeed().
Referenced by getLastIntervalMeanSpeed(), and handleVariable().
|
static |
Definition at line 157 of file libsumo/LaneArea.cpp.
References getDetector(), and getLastIntervalMeanTimeLoss().
Referenced by getLastIntervalMeanTimeLoss(), and handleVariable().
|
static |
Definition at line 147 of file libsumo/LaneArea.cpp.
References getDetector(), and getLastIntervalOccupancy().
Referenced by getLastIntervalOccupancy(), and handleVariable().
|
static |
Definition at line 167 of file libsumo/LaneArea.cpp.
References getDetector(), and getLastIntervalVehicleNumber().
Referenced by getLastIntervalVehicleNumber(), and handleVariable().
|
static |
Definition at line 116 of file libsumo/LaneArea.cpp.
References getDetector(), and getLastStepHaltingNumber().
Referenced by getLastStepHaltingNumber(), and handleVariable().
|
static |
Definition at line 73 of file libsumo/LaneArea.cpp.
References getDetector(), and getLastStepMeanSpeed().
Referenced by getLastStepMeanSpeed(), and handleVariable().
|
static |
Definition at line 85 of file libsumo/LaneArea.cpp.
References getDetector(), and getLastStepOccupancy().
Referenced by getLastStepOccupancy(), and handleVariable().
|
static |
Definition at line 79 of file libsumo/LaneArea.cpp.
References getDetector(), and getLastStepVehicleIDs().
Referenced by getLastStepVehicleIDs(), and handleVariable().
|
static |
Definition at line 110 of file libsumo/LaneArea.cpp.
References getDetector(), and getLastStepVehicleNumber().
Referenced by getLastStepVehicleNumber(), and handleVariable().
|
static |
Definition at line 103 of file libsumo/LaneArea.cpp.
References getDetector(), getLength(), and MSE2Collector::getLength().
Referenced by getLength(), and handleVariable().
|
static |
Definition at line 91 of file libsumo/LaneArea.cpp.
References getDetector(), and getPosition().
Referenced by getPosition(), and handleVariable().
|
static |
Returns a tree filled with inductive loop instances.
Definition at line 201 of file libsumo/LaneArea.cpp.
References PositionVector::getBoxBoundary(), getDetector(), getTree(), myTree, and storeShape().
Referenced by getTree().
|
static |
Definition at line 245 of file libsumo/LaneArea.cpp.
References getIntervalMaxJamLengthInMeters(), getIntervalMeanSpeed(), getIntervalMeanTimeLoss(), getIntervalOccupancy(), getIntervalVehicleNumber(), getJamLengthMeters(), getJamLengthVehicle(), getLaneID(), getLastIntervalMaxJamLengthInMeters(), getLastIntervalMeanSpeed(), getLastIntervalMeanTimeLoss(), getLastIntervalOccupancy(), getLastIntervalVehicleNumber(), getLastStepHaltingNumber(), getLastStepMeanSpeed(), getLastStepOccupancy(), getLastStepVehicleIDs(), getLastStepVehicleNumber(), getLength(), getPosition(), handleVariable(), libsumo::ID_COUNT, libsumo::JAM_LENGTH_METERS, libsumo::JAM_LENGTH_VEHICLE, 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_INTERVAL_MAX_JAM_LENGTH_METERS, libsumo::VAR_INTERVAL_NUMBER, libsumo::VAR_INTERVAL_OCCUPANCY, libsumo::VAR_INTERVAL_SPEED, libsumo::VAR_INTERVAL_TIMELOSS, libsumo::VAR_LANE_ID, libsumo::VAR_LAST_INTERVAL_MAX_JAM_LENGTH_METERS, libsumo::VAR_LAST_INTERVAL_NUMBER, libsumo::VAR_LAST_INTERVAL_OCCUPANCY, libsumo::VAR_LAST_INTERVAL_SPEED, libsumo::VAR_LAST_INTERVAL_TIMELOSS, libsumo::VAR_LENGTH, libsumo::VAR_PARAMETER, libsumo::VAR_PARAMETER_WITH_KEY, and libsumo::VAR_POSITION.
Referenced by handleVariable(), and makeWrapper().
|
static |
Definition at line 233 of file libsumo/LaneArea.cpp.
References handleVariable(), makeWrapper(), myContextSubscriptionResults, and mySubscriptionResults.
Referenced by makeWrapper().
|
static |
Definition at line 239 of file libsumo/LaneArea.cpp.
References getDetector(), and overrideVehicleNumber().
Referenced by overrideVehicleNumber().
|
static |
Saves the shape of the requested object in the given container.
| id | The id of the loop to retrieve |
| shape | The container to fill |
Definition at line 225 of file libsumo/LaneArea.cpp.
References getDetector(), MSE2Collector::getEndPos(), MSE2Collector::getLanes(), MSE2Collector::getStartPos(), and storeShape().
Referenced by getTree(), and storeShape().
|
staticprivate |
Definition at line 99 of file LaneArea.h.
Referenced by makeWrapper().
|
staticprivate |
Definition at line 98 of file LaneArea.h.
Referenced by makeWrapper().
|
staticprivate |
Definition at line 97 of file LaneArea.h.