![]() |
SUMO - Simulation of Urban MObility
|
#include <InductionLoop.h>
Static Public Member Functions | |
static int | getIDCount () |
static std::vector< std::string > | getIDList () |
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) |
static NamedRTree * | getTree () |
Returns a tree filled with inductive loop instances. More... | |
static std::vector< libsumo::TraCIVehicleData > | getVehicleData (const std::string &detID) |
Private Member Functions | |
InductionLoop () | |
invalidated standard constructor More... | |
InductionLoop (const InductionLoop &src) | |
invalidated copy constructor More... | |
InductionLoop & | operator= (const InductionLoop &src) |
invalidated assignment operator More... | |
Static Private Member Functions | |
static MSInductLoop * | getDetector (const std::string &detID) |
Definition at line 52 of file InductionLoop.h.
|
private |
invalidated standard constructor
|
private |
invalidated copy constructor
|
staticprivate |
Definition at line 125 of file InductionLoop.cpp.
References NamedObjectCont< T >::get(), MSNet::getDetectorControl(), MSNet::getInstance(), MSDetectorControl::getTypedDetectors(), and SUMO_TAG_INDUCTION_LOOP.
Referenced by getLaneID(), getLastStepMeanLength(), getLastStepMeanSpeed(), getLastStepOccupancy(), getLastStepVehicleIDs(), getLastStepVehicleNumber(), getPosition(), getTimeSinceDetection(), and getVehicleData().
|
static |
Definition at line 53 of file InductionLoop.cpp.
References MSNet::getDetectorControl(), MSNet::getInstance(), MSDetectorControl::getTypedDetectors(), NamedObjectCont< T >::size(), and SUMO_TAG_INDUCTION_LOOP.
Referenced by TraCIServerAPI_InductionLoop::processGet().
|
static |
Definition at line 45 of file InductionLoop.cpp.
References MSNet::getDetectorControl(), MSNet::getInstance(), MSDetectorControl::getTypedDetectors(), NamedObjectCont< T >::insertIDs(), and SUMO_TAG_INDUCTION_LOOP.
Referenced by TraCIServerAPI_InductionLoop::processGet().
|
static |
Definition at line 66 of file InductionLoop.cpp.
References getDetector(), Named::getID(), and MSMoveReminder::getLane().
Referenced by TraCIServerAPI_InductionLoop::processGet().
|
static |
Definition at line 96 of file InductionLoop.cpp.
References MSInductLoop::getCurrentLength(), and getDetector().
Referenced by TraCIServerAPI_InductionLoop::processGet().
|
static |
Definition at line 78 of file InductionLoop.cpp.
References MSInductLoop::getCurrentSpeed(), and getDetector().
Referenced by TraCIServerAPI_InductionLoop::processGet().
|
static |
Definition at line 90 of file InductionLoop.cpp.
References MSInductLoop::getCurrentOccupancy(), and getDetector().
Referenced by TraCIServerAPI_InductionLoop::processGet().
|
static |
Definition at line 84 of file InductionLoop.cpp.
References MSInductLoop::getCurrentVehicleIDs(), and getDetector().
Referenced by TraCIServerAPI_InductionLoop::processGet().
|
static |
Definition at line 72 of file InductionLoop.cpp.
References MSInductLoop::getCurrentPassedNumber(), and getDetector().
Referenced by TraCIServerAPI_InductionLoop::processGet().
|
static |
Definition at line 60 of file InductionLoop.cpp.
References getDetector(), and MSInductLoop::getPosition().
Referenced by TraCIServerAPI_InductionLoop::processGet().
|
static |
Definition at line 102 of file InductionLoop.cpp.
References getDetector(), and MSInductLoop::getTimeSinceLastDetection().
Referenced by TraCIServerAPI_InductionLoop::processGet().
|
static |
Returns a tree filled with inductive loop instances.
Definition at line 134 of file InductionLoop.cpp.
References MSNet::getInstance(), MSMoveReminder::getLane(), MSInductLoop::getPosition(), MSLane::getShape(), NamedRTree::Insert(), PositionVector::positionAtOffset(), SUMO_TAG_INDUCTION_LOOP, Position::x(), and Position::y().
|
static |
Definition at line 108 of file InductionLoop.cpp.
References MSInductLoop::collectVehiclesOnDet(), DELTA_T, getDetector(), and MSNet::getInstance().
Referenced by TraCIServerAPI_InductionLoop::processGet().
|
private |
invalidated assignment operator