![]() |
SUMO - Simulation of Urban MObility
|
#include <MultiEntryExit.h>
Static Public Member Functions | |
static int | getIDCount () |
static std::vector< std::string > | getIDList () |
static int | getLastStepHaltingNumber (const std::string &detID) |
static double | getLastStepMeanSpeed (const std::string &detID) |
static std::vector< std::string > | getLastStepVehicleIDs (const std::string &detID) |
static int | getLastStepVehicleNumber (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 | |
MultiEntryExit ()=delete | |
invalidated standard constructor More... | |
Static Private Member Functions | |
static MSE3Collector * | getDetector (const std::string &detID) |
Static Private Attributes | |
static ContextSubscriptionResults | myContextSubscriptionResults |
static SubscriptionResults | mySubscriptionResults |
Definition at line 47 of file MultiEntryExit.h.
|
privatedelete |
invalidated standard constructor
|
staticprivate |
Definition at line 88 of file MultiEntryExit.cpp.
References NamedObjectCont< T >::get(), MSNet::getDetectorControl(), MSNet::getInstance(), MSDetectorControl::getTypedDetectors(), and SUMO_TAG_ENTRY_EXIT_DETECTOR.
Referenced by getLastStepHaltingNumber(), getLastStepMeanSpeed(), getLastStepVehicleIDs(), and getLastStepVehicleNumber().
|
static |
Definition at line 54 of file MultiEntryExit.cpp.
References MSNet::getDetectorControl(), MSNet::getInstance(), MSDetectorControl::getTypedDetectors(), NamedObjectCont< T >::size(), and SUMO_TAG_ENTRY_EXIT_DETECTOR.
Referenced by handleVariable().
|
static |
Definition at line 46 of file MultiEntryExit.cpp.
References MSNet::getDetectorControl(), MSNet::getInstance(), MSDetectorControl::getTypedDetectors(), NamedObjectCont< T >::insertIDs(), and SUMO_TAG_ENTRY_EXIT_DETECTOR.
Referenced by handleVariable().
|
static |
Definition at line 79 of file MultiEntryExit.cpp.
References MSE3Collector::getCurrentHaltingNumber(), getDetector(), and LIBSUMO_SUBSCRIPTION_IMPLEMENTATION.
Referenced by handleVariable().
|
static |
Definition at line 67 of file MultiEntryExit.cpp.
References MSE3Collector::getCurrentMeanSpeed(), and getDetector().
Referenced by handleVariable().
|
static |
Definition at line 73 of file MultiEntryExit.cpp.
References MSE3Collector::getCurrentVehicleIDs(), and getDetector().
Referenced by handleVariable().
|
static |
Definition at line 61 of file MultiEntryExit.cpp.
References getDetector(), and MSE3Collector::getVehiclesWithin().
Referenced by handleVariable().
|
static |
Definition at line 104 of file MultiEntryExit.cpp.
References getIDCount(), getIDList(), getLastStepHaltingNumber(), getLastStepMeanSpeed(), getLastStepVehicleIDs(), getLastStepVehicleNumber(), ID_COUNT, LAST_STEP_MEAN_SPEED, LAST_STEP_VEHICLE_HALTING_NUMBER, LAST_STEP_VEHICLE_ID_LIST, LAST_STEP_VEHICLE_NUMBER, TRACI_ID_LIST, libsumo::VariableWrapper::wrapDouble(), libsumo::VariableWrapper::wrapInt(), and libsumo::VariableWrapper::wrapStringList().
Referenced by makeWrapper(), and TraCIServerAPI_MultiEntryExit::processGet().
|
static |
Definition at line 98 of file MultiEntryExit.cpp.
References handleVariable(), myContextSubscriptionResults, and mySubscriptionResults.
|
staticprivate |
Definition at line 67 of file MultiEntryExit.h.
Referenced by makeWrapper().
|
staticprivate |
Definition at line 66 of file MultiEntryExit.h.
Referenced by makeWrapper().