![]() |
SUMO - Simulation of Urban MObility
|
C++ TraCI client API implementation. More...
#include <TraCI_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 std::vector< TraCIVehicleData > | getVehicleData (const std::string &detID) |
Private Member Functions | |
| TraCI_InductionLoop & | operator= (const TraCI_InductionLoop &src) |
| invalidated assignment operator More... | |
| TraCI_InductionLoop () | |
| invalidated standard constructor More... | |
| TraCI_InductionLoop (const TraCI_InductionLoop &src) | |
| invalidated copy constructor More... | |
Static Private Member Functions | |
| static MSInductLoop * | getDetector (const std::string &detID) |
C++ TraCI client API implementation.
Definition at line 49 of file TraCI_InductionLoop.h.
|
private |
invalidated standard constructor
|
private |
invalidated copy constructor
|
staticprivate |
Definition at line 124 of file TraCI_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 52 of file TraCI_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 44 of file TraCI_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 65 of file TraCI_InductionLoop.cpp.
References getDetector(), Named::getID(), and MSMoveReminder::getLane().
Referenced by TraCIServerAPI_InductionLoop::processGet().
|
static |
Definition at line 95 of file TraCI_InductionLoop.cpp.
References MSInductLoop::getCurrentLength(), and getDetector().
Referenced by TraCIServerAPI_InductionLoop::processGet().
|
static |
Definition at line 77 of file TraCI_InductionLoop.cpp.
References MSInductLoop::getCurrentSpeed(), and getDetector().
Referenced by TraCIServerAPI_InductionLoop::processGet().
|
static |
Definition at line 89 of file TraCI_InductionLoop.cpp.
References MSInductLoop::getCurrentOccupancy(), and getDetector().
Referenced by TraCIServerAPI_InductionLoop::processGet().
|
static |
Definition at line 83 of file TraCI_InductionLoop.cpp.
References MSInductLoop::getCurrentVehicleIDs(), and getDetector().
Referenced by TraCIServerAPI_InductionLoop::processGet().
|
static |
Definition at line 71 of file TraCI_InductionLoop.cpp.
References MSInductLoop::getCurrentPassedNumber(), and getDetector().
Referenced by TraCIServerAPI_InductionLoop::processGet().
|
static |
Definition at line 59 of file TraCI_InductionLoop.cpp.
References getDetector(), and MSInductLoop::getPosition().
Referenced by TraCIServerAPI_InductionLoop::processGet().
|
static |
Definition at line 101 of file TraCI_InductionLoop.cpp.
References getDetector(), and MSInductLoop::getTimeSinceLastDetection().
Referenced by TraCIServerAPI_InductionLoop::processGet().
|
static |
Definition at line 107 of file TraCI_InductionLoop.cpp.
References MSInductLoop::collectVehiclesOnDet(), DELTA_T, getDetector(), and MSNet::getInstance().
Referenced by TraCIServerAPI_InductionLoop::processGet().
|
private |
invalidated assignment operator