![]() |
Eclipse SUMO - Simulation of Urban MObility
|
#include <LaneArea.h>
Static Public Member Functions | |
static int | getIDCount () |
static std::vector< std::string > | getIDList () |
static double | getJamLengthMeters (const std::string &detID) |
static int | getJamLengthVehicle (const std::string &detID) |
static std::string | getLaneID (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) |
static bool | handleVariable (const std::string &objID, const int variable, VariableWrapper *wrapper) |
static LIBSUMO_SUBSCRIPTION_API std::shared_ptr< VariableWrapper > | makeWrapper () |
Private Member Functions | |
LaneArea ()=delete | |
invalidated standard constructor More... | |
Static Private Member Functions | |
static MSE2Collector * | getDetector (const std::string &detID) |
Static Private Attributes | |
static ContextSubscriptionResults | myContextSubscriptionResults |
static SubscriptionResults | mySubscriptionResults |
Definition at line 43 of file LaneArea.h.
|
privatedelete |
invalidated standard constructor
|
staticprivate |
Definition at line 125 of file LaneArea.cpp.
References NamedObjectCont< T >::get(), MSNet::getDetectorControl(), MSNet::getInstance(), MSDetectorControl::getTypedDetectors(), and SUMO_TAG_LANE_AREA_DETECTOR.
Referenced by getJamLengthMeters(), getJamLengthVehicle(), getLaneID(), getLastStepHaltingNumber(), getLastStepMeanSpeed(), getLastStepOccupancy(), getLastStepVehicleIDs(), getLastStepVehicleNumber(), getLength(), and getPosition().
|
static |
Definition at line 54 of file LaneArea.cpp.
References MSNet::getDetectorControl(), MSNet::getInstance(), MSDetectorControl::getTypedDetectors(), NamedObjectCont< T >::size(), and SUMO_TAG_LANE_AREA_DETECTOR.
Referenced by handleVariable().
|
static |
Definition at line 46 of file LaneArea.cpp.
References MSNet::getDetectorControl(), MSNet::getInstance(), MSDetectorControl::getTypedDetectors(), NamedObjectCont< T >::insertIDs(), and SUMO_TAG_LANE_AREA_DETECTOR.
Referenced by handleVariable().
|
static |
Definition at line 67 of file LaneArea.cpp.
References MSE2Collector::getCurrentJamLengthInMeters(), and getDetector().
Referenced by handleVariable().
|
static |
Definition at line 61 of file LaneArea.cpp.
References MSE2Collector::getCurrentJamLengthInVehicles(), and getDetector().
Referenced by handleVariable().
|
static |
Definition at line 97 of file LaneArea.cpp.
References getDetector(), Named::getID(), and MSMoveReminder::getLane().
Referenced by handleVariable().
|
static |
Definition at line 116 of file LaneArea.cpp.
References MSE2Collector::getCurrentHaltingNumber(), getDetector(), and LIBSUMO_SUBSCRIPTION_IMPLEMENTATION.
Referenced by handleVariable().
|
static |
Definition at line 73 of file LaneArea.cpp.
References MSE2Collector::getCurrentMeanSpeed(), and getDetector().
Referenced by handleVariable().
|
static |
Definition at line 85 of file LaneArea.cpp.
References MSE2Collector::getCurrentOccupancy(), and getDetector().
Referenced by handleVariable().
|
static |
Definition at line 79 of file LaneArea.cpp.
References MSE2Collector::getCurrentVehicleIDs(), and getDetector().
Referenced by handleVariable().
|
static |
Definition at line 110 of file LaneArea.cpp.
References MSE2Collector::getCurrentVehicleNumber(), and getDetector().
Referenced by handleVariable().
|
static |
Definition at line 103 of file LaneArea.cpp.
References getDetector(), and MSE2Collector::getLength().
Referenced by handleVariable().
|
static |
Definition at line 91 of file LaneArea.cpp.
References getDetector(), and MSE2Collector::getStartPos().
Referenced by handleVariable().
|
static |
Definition at line 141 of file LaneArea.cpp.
References getIDCount(), getIDList(), getJamLengthMeters(), getJamLengthVehicle(), getLaneID(), getLastStepHaltingNumber(), getLastStepMeanSpeed(), getLastStepOccupancy(), getLastStepVehicleIDs(), getLastStepVehicleNumber(), getLength(), getPosition(), 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, libsumo::TRACI_ID_LIST, libsumo::VAR_LANE_ID, libsumo::VAR_LENGTH, libsumo::VAR_POSITION, libsumo::VariableWrapper::wrapDouble(), libsumo::VariableWrapper::wrapInt(), libsumo::VariableWrapper::wrapString(), and libsumo::VariableWrapper::wrapStringList().
Referenced by makeWrapper(), and TraCIServerAPI_LaneArea::processGet().
|
static |
Definition at line 135 of file LaneArea.cpp.
References handleVariable(), myContextSubscriptionResults, and mySubscriptionResults.
|
staticprivate |
Definition at line 69 of file LaneArea.h.
Referenced by makeWrapper().
|
staticprivate |
Definition at line 68 of file LaneArea.h.
Referenced by makeWrapper().