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

#include <LaneArea.h>

Collaboration diagram for libsumo::LaneArea:
Collaboration graph

Static Public Member Functions

static int getIDCount ()
 
static std::vector< std::string > getIDList ()
 
static double getJamLengthMeters (const std::string &detID)
 
static int getJamLengthVehicle (const std::string &detID)
 
static std::string getLaneID (const std::string &detID)
 
static int getLastStepHaltingNumber (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 getLength (const std::string &detID)
 
static double getPosition (const std::string &detID)
 
static bool handleVariable (const std::string &objID, const int variable, VariableWrapper *wrapper)
 
static LIBSUMO_SUBSCRIPTION_API std::shared_ptr< VariableWrappermakeWrapper ()
 

Private Member Functions

 LaneArea ()=delete
 invalidated standard constructor More...
 

Static Private Member Functions

static MSE2CollectorgetDetector (const std::string &detID)
 

Static Private Attributes

static ContextSubscriptionResults myContextSubscriptionResults
 
static SubscriptionResults mySubscriptionResults
 

Detailed Description

Definition at line 43 of file LaneArea.h.

Constructor & Destructor Documentation

◆ LaneArea()

libsumo::LaneArea::LaneArea ( )
privatedelete

invalidated standard constructor

Member Function Documentation

◆ getDetector()

◆ getIDCount()

◆ getIDList()

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

◆ getJamLengthMeters()

double LaneArea::getJamLengthMeters ( const std::string &  detID)
static

Definition at line 67 of file LaneArea.cpp.

References MSE2Collector::getCurrentJamLengthInMeters(), and getDetector().

Referenced by handleVariable().

◆ getJamLengthVehicle()

int LaneArea::getJamLengthVehicle ( const std::string &  detID)
static

Definition at line 61 of file LaneArea.cpp.

References MSE2Collector::getCurrentJamLengthInVehicles(), and getDetector().

Referenced by handleVariable().

◆ getLaneID()

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

Definition at line 97 of file LaneArea.cpp.

References getDetector(), Named::getID(), and MSMoveReminder::getLane().

Referenced by handleVariable().

◆ getLastStepHaltingNumber()

int LaneArea::getLastStepHaltingNumber ( const std::string &  detID)
static

◆ getLastStepMeanSpeed()

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

Definition at line 73 of file LaneArea.cpp.

References MSE2Collector::getCurrentMeanSpeed(), and getDetector().

Referenced by handleVariable().

◆ getLastStepOccupancy()

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

Definition at line 85 of file LaneArea.cpp.

References MSE2Collector::getCurrentOccupancy(), and getDetector().

Referenced by handleVariable().

◆ getLastStepVehicleIDs()

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

Definition at line 79 of file LaneArea.cpp.

References MSE2Collector::getCurrentVehicleIDs(), and getDetector().

Referenced by handleVariable().

◆ getLastStepVehicleNumber()

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

Definition at line 110 of file LaneArea.cpp.

References MSE2Collector::getCurrentVehicleNumber(), and getDetector().

Referenced by handleVariable().

◆ getLength()

double LaneArea::getLength ( const std::string &  detID)
static

Definition at line 103 of file LaneArea.cpp.

References getDetector(), and MSE2Collector::getLength().

Referenced by handleVariable().

◆ getPosition()

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

Definition at line 91 of file LaneArea.cpp.

References getDetector(), and MSE2Collector::getStartPos().

Referenced by handleVariable().

◆ handleVariable()

◆ makeWrapper()

std::shared_ptr< VariableWrapper > LaneArea::makeWrapper ( )
static

Field Documentation

◆ myContextSubscriptionResults

ContextSubscriptionResults LaneArea::myContextSubscriptionResults
staticprivate

Definition at line 69 of file LaneArea.h.

Referenced by makeWrapper().

◆ mySubscriptionResults

SubscriptionResults LaneArea::mySubscriptionResults
staticprivate

Definition at line 68 of file LaneArea.h.

Referenced by makeWrapper().


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