SUMO - Simulation of Urban MObility
libsumo::InductionLoop Class Reference

#include <InductionLoop.h>

Collaboration diagram for libsumo::InductionLoop:
Collaboration graph

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)
 

Detailed Description

Definition at line 52 of file InductionLoop.h.

Constructor & Destructor Documentation

libsumo::InductionLoop::InductionLoop ( )
private

invalidated standard constructor

libsumo::InductionLoop::InductionLoop ( const InductionLoop &  src)
private

invalidated copy constructor

Member Function Documentation

std::vector< std::string > InductionLoop::getIDList ( )
static
std::string InductionLoop::getLaneID ( const std::string &  detID)
static
double InductionLoop::getLastStepMeanLength ( const std::string &  detID)
static
double InductionLoop::getLastStepMeanSpeed ( const std::string &  detID)
static
double InductionLoop::getLastStepOccupancy ( const std::string &  detID)
static
std::vector< std::string > InductionLoop::getLastStepVehicleIDs ( const std::string &  detID)
static
int InductionLoop::getLastStepVehicleNumber ( const std::string &  detID)
static
double InductionLoop::getPosition ( const std::string &  detID)
static
double InductionLoop::getTimeSinceDetection ( const std::string &  detID)
static
NamedRTree * InductionLoop::getTree ( )
static

Returns a tree filled with inductive loop instances.

Returns
The rtree of inductive loops

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().

std::vector< libsumo::TraCIVehicleData > InductionLoop::getVehicleData ( const std::string &  detID)
static
InductionLoop& libsumo::InductionLoop::operator= ( const InductionLoop &  src)
private

invalidated assignment operator


The documentation for this class was generated from the following files: