36 class VariableWrapper;
51 static double getPosition(
const std::string& detID);
52 static std::string
getLaneID(
const std::string& detID);
59 static std::vector<libsumo::TraCIVehicleData>
getVehicleData(
const std::string& detID);
77 static std::shared_ptr<VariableWrapper>
makeWrapper();
79 static bool handleVariable(
const std::string& objID,
const int variable, VariableWrapper* wrapper);
#define LIBSUMO_ID_PARAMETER_API
#define LIBSUMO_SUBSCRIPTION_API
static bool handleVariable(const std::string &objID, const int variable, VariableWrapper *wrapper)
static double getLastStepMeanSpeed(const std::string &detID)
static ContextSubscriptionResults myContextSubscriptionResults
static std::shared_ptr< VariableWrapper > makeWrapper()
static SubscriptionResults mySubscriptionResults
InductionLoop()=delete
invalidated standard constructor
static double getPosition(const std::string &detID)
static double getLastStepOccupancy(const std::string &detID)
static void storeShape(const std::string &id, PositionVector &shape)
Saves the shape of the requested object in the given container.
static MSInductLoop * getDetector(const std::string &detID)
static double getTimeSinceDetection(const std::string &detID)
static NamedRTree * myTree
static double getLastStepMeanLength(const std::string &detID)
static std::vector< libsumo::TraCIVehicleData > getVehicleData(const std::string &detID)
LIBSUMO_ID_PARAMETER_API static LIBSUMO_SUBSCRIPTION_API NamedRTree * getTree()
Returns a tree filled with inductive loop instances.
static int getLastStepVehicleNumber(const std::string &detID)
static std::string getLaneID(const std::string &detID)
static std::vector< std::string > getLastStepVehicleIDs(const std::string &detID)
An unextended detector measuring at a fixed position on a fixed lane.
A RT-tree for efficient storing of SUMO's Named objects.
std::map< std::string, TraCIResults > SubscriptionResults
{object->{variable->value}}
std::map< std::string, SubscriptionResults > ContextSubscriptionResults