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 NamedRTreegetTree ()
 Returns a tree filled with inductive loop instances. More...
 
static std::vector< libsumo::TraCIVehicleDatagetVehicleData (const std::string &detID)
 

Private Member Functions

 InductionLoop ()
 invalidated standard constructor More...
 
 InductionLoop (const InductionLoop &src)
 invalidated copy constructor More...
 
InductionLoopoperator= (const InductionLoop &src)
 invalidated assignment operator More...
 

Static Private Member Functions

static MSInductLoopgetDetector (const std::string &detID)
 

Detailed Description

Definition at line 52 of file InductionLoop.h.

Constructor & Destructor Documentation

◆ InductionLoop() [1/2]

libsumo::InductionLoop::InductionLoop ( )
private

invalidated standard constructor

◆ InductionLoop() [2/2]

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

invalidated copy constructor

Member Function Documentation

◆ getDetector()

◆ getIDCount()

◆ getIDList()

std::vector< std::string > InductionLoop::getIDList ( )
static

◆ getLaneID()

std::string InductionLoop::getLaneID ( const std::string &  detID)
static

◆ getLastStepMeanLength()

double InductionLoop::getLastStepMeanLength ( const std::string &  detID)
static

◆ getLastStepMeanSpeed()

double InductionLoop::getLastStepMeanSpeed ( const std::string &  detID)
static

◆ getLastStepOccupancy()

double InductionLoop::getLastStepOccupancy ( const std::string &  detID)
static

◆ getLastStepVehicleIDs()

std::vector< std::string > InductionLoop::getLastStepVehicleIDs ( const std::string &  detID)
static

◆ getLastStepVehicleNumber()

int InductionLoop::getLastStepVehicleNumber ( const std::string &  detID)
static

◆ getPosition()

double InductionLoop::getPosition ( const std::string &  detID)
static

◆ getTimeSinceDetection()

double InductionLoop::getTimeSinceDetection ( const std::string &  detID)
static

◆ getTree()

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

◆ getVehicleData()

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

◆ operator=()

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

invalidated assignment operator


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