![]() |
Eclipse SUMO - Simulation of Urban MObility
|
#include <InductionLoop.h>
Static Public Member Functions | |
static void | cleanup () |
static std::string | getLaneID (const std::string &detID) |
static double | getLastStepMeanLength (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 | getPosition (const std::string &detID) |
static double | getTimeSinceDetection (const std::string &detID) |
LIBSUMO_ID_PARAMETER_API static LIBSUMO_SUBSCRIPTION_API NamedRTree * | getTree () |
Returns a tree filled with inductive loop instances. More... | |
static std::vector< libsumo::TraCIVehicleData > | getVehicleData (const std::string &detID) |
static bool | handleVariable (const std::string &objID, const int variable, VariableWrapper *wrapper) |
static std::shared_ptr< VariableWrapper > | makeWrapper () |
static void | storeShape (const std::string &id, PositionVector &shape) |
Saves the shape of the requested object in the given container. More... | |
Private Member Functions | |
InductionLoop ()=delete | |
invalidated standard constructor More... | |
Static Private Member Functions | |
static MSInductLoop * | getDetector (const std::string &detID) |
Static Private Attributes | |
static ContextSubscriptionResults | myContextSubscriptionResults |
static SubscriptionResults | mySubscriptionResults |
static NamedRTree * | myTree |
Definition at line 49 of file InductionLoop.h.
|
privatedelete |
invalidated standard constructor
|
static |
Definition at line 168 of file libsumo/InductionLoop.cpp.
|
staticprivate |
Definition at line 125 of file libsumo/InductionLoop.cpp.
References NamedObjectCont< T >::get(), MSNet::getDetectorControl(), MSNet::getInstance(), MSDetectorControl::getTypedDetectors(), and SUMO_TAG_INDUCTION_LOOP.
|
static |
Definition at line 67 of file libsumo/InductionLoop.cpp.
|
static |
Definition at line 97 of file libsumo/InductionLoop.cpp.
References DELTA_T.
|
static |
Definition at line 79 of file libsumo/InductionLoop.cpp.
References DELTA_T.
|
static |
Definition at line 91 of file libsumo/InductionLoop.cpp.
|
static |
Definition at line 85 of file libsumo/InductionLoop.cpp.
References DELTA_T.
|
static |
Definition at line 73 of file libsumo/InductionLoop.cpp.
References DELTA_T.
|
static |
Definition at line 61 of file libsumo/InductionLoop.cpp.
|
static |
Definition at line 103 of file libsumo/InductionLoop.cpp.
|
static |
Returns a tree filled with inductive loop instances.
Definition at line 153 of file libsumo/InductionLoop.cpp.
References MSNet::getInstance(), MSMoveReminder::getLane(), MSInductLoop::getPosition(), MSLane::getShape(), PositionVector::positionAtOffset(), SUMO_TAG_INDUCTION_LOOP, Position::x(), and Position::y().
|
static |
Definition at line 109 of file libsumo/InductionLoop.cpp.
|
static |
Definition at line 187 of file libsumo/InductionLoop.cpp.
References libsumo::ID_COUNT, libsumo::LAST_STEP_LENGTH, libsumo::LAST_STEP_MEAN_SPEED, libsumo::LAST_STEP_OCCUPANCY, libsumo::LAST_STEP_TIME_SINCE_DETECTION, libsumo::LAST_STEP_VEHICLE_ID_LIST, libsumo::LAST_STEP_VEHICLE_NUMBER, libsumo::TRACI_ID_LIST, libsumo::VAR_LANE_ID, and libsumo::VAR_POSITION.
|
static |
Definition at line 181 of file libsumo/InductionLoop.cpp.
|
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 174 of file libsumo/InductionLoop.cpp.
References MSMoveReminder::getLane(), MSInductLoop::getPosition(), MSLane::getShape(), and PositionVector::positionAtOffset().
|
staticprivate |
Definition at line 86 of file InductionLoop.h.
|
staticprivate |
Definition at line 85 of file InductionLoop.h.
|
staticprivate |
Definition at line 87 of file InductionLoop.h.