Eclipse SUMO - Simulation of Urban MObility
LIBSUMO_NAMESPACE::LaneArea Class Reference

#include <LaneArea.h>

Collaboration diagram for LIBSUMO_NAMESPACE::LaneArea:
[legend]

Static Public Member Functions

static void cleanup ()
 
static double getIntervalMaxJamLengthInMeters (const std::string &detID)
 
static double getIntervalMeanSpeed (const std::string &detID)
 
static double getIntervalOccupancy (const std::string &detID)
 
static int getIntervalVehicleNumber (const std::string &detID)
 
static double getJamLengthMeters (const std::string &detID)
 
static int getJamLengthVehicle (const std::string &detID)
 
static std::string getLaneID (const std::string &detID)
 
static double getLastIntervalMaxJamLengthInMeters (const std::string &detID)
 
static double getLastIntervalMeanSpeed (const std::string &detID)
 
static double getLastIntervalOccupancy (const std::string &detID)
 
static int getLastIntervalVehicleNumber (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)
 
LIBSUMO_ID_PARAMETER_API static LIBSUMO_SUBSCRIPTION_API NamedRTreegetTree ()
 Returns a tree filled with inductive loop instances. More...
 
static bool handleVariable (const std::string &objID, const int variable, VariableWrapper *wrapper, tcpip::Storage *paramData)
 
static std::shared_ptr< VariableWrapper > makeWrapper ()
 
static void overrideVehicleNumber (const std::string &detID, int vehNum)
 
static void storeShape (const std::string &id, PositionVector &shape)
 Saves the shape of the requested object in the given container. More...
 

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
 
static NamedRTreemyTree
 

Detailed Description

Definition at line 44 of file LaneArea.h.

Constructor & Destructor Documentation

◆ LaneArea()

LIBSUMO_NAMESPACE::LaneArea::LaneArea ( )
privatedelete

invalidated standard constructor

Member Function Documentation

◆ cleanup()

void LaneArea::cleanup ( )
static

Definition at line 208 of file libsumo/LaneArea.cpp.

◆ getDetector()

MSE2Collector * LaneArea::getDetector ( const std::string &  detID)
staticprivate

◆ getIntervalMaxJamLengthInMeters()

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

Definition at line 132 of file libsumo/LaneArea.cpp.

◆ getIntervalMeanSpeed()

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

Definition at line 127 of file libsumo/LaneArea.cpp.

◆ getIntervalOccupancy()

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

Definition at line 122 of file libsumo/LaneArea.cpp.

◆ getIntervalVehicleNumber()

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

Definition at line 137 of file libsumo/LaneArea.cpp.

◆ getJamLengthMeters()

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

Definition at line 67 of file libsumo/LaneArea.cpp.

◆ getJamLengthVehicle()

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

Definition at line 61 of file libsumo/LaneArea.cpp.

◆ getLaneID()

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

Definition at line 97 of file libsumo/LaneArea.cpp.

◆ getLastIntervalMaxJamLengthInMeters()

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

Definition at line 152 of file libsumo/LaneArea.cpp.

◆ getLastIntervalMeanSpeed()

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

Definition at line 147 of file libsumo/LaneArea.cpp.

◆ getLastIntervalOccupancy()

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

Definition at line 142 of file libsumo/LaneArea.cpp.

◆ getLastIntervalVehicleNumber()

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

Definition at line 157 of file libsumo/LaneArea.cpp.

◆ getLastStepHaltingNumber()

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

Definition at line 116 of file libsumo/LaneArea.cpp.

◆ getLastStepMeanSpeed()

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

Definition at line 73 of file libsumo/LaneArea.cpp.

◆ getLastStepOccupancy()

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

Definition at line 85 of file libsumo/LaneArea.cpp.

◆ getLastStepVehicleIDs()

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

Definition at line 79 of file libsumo/LaneArea.cpp.

◆ getLastStepVehicleNumber()

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

Definition at line 110 of file libsumo/LaneArea.cpp.

◆ getLength()

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

Definition at line 103 of file libsumo/LaneArea.cpp.

References MSE2Collector::getLength().

◆ getPosition()

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

Definition at line 91 of file libsumo/LaneArea.cpp.

◆ getTree()

NamedRTree * LaneArea::getTree ( )
static

Returns a tree filled with inductive loop instances.

Returns
The rtree of inductive loops

Definition at line 191 of file libsumo/LaneArea.cpp.

References PositionVector::getBoxBoundary(), Boundary::xmax(), Boundary::xmin(), Boundary::ymax(), and Boundary::ymin().

◆ handleVariable()

◆ makeWrapper()

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

Definition at line 223 of file libsumo/LaneArea.cpp.

◆ overrideVehicleNumber()

void LaneArea::overrideVehicleNumber ( const std::string &  detID,
int  vehNum 
)
static

Definition at line 229 of file libsumo/LaneArea.cpp.

◆ storeShape()

void LaneArea::storeShape ( const std::string &  id,
PositionVector shape 
)
static

Saves the shape of the requested object in the given container.

Parameters
idThe id of the loop to retrieve
shapeThe container to fill

Definition at line 215 of file libsumo/LaneArea.cpp.

References MSE2Collector::getEndPos(), MSE2Collector::getLanes(), and MSE2Collector::getStartPos().

Field Documentation

◆ myContextSubscriptionResults

ContextSubscriptionResults LaneArea::myContextSubscriptionResults
staticprivate

Definition at line 97 of file LaneArea.h.

◆ mySubscriptionResults

SubscriptionResults LaneArea::mySubscriptionResults
staticprivate

Definition at line 96 of file LaneArea.h.

◆ myTree

NamedRTree * LaneArea::myTree
staticprivate

Definition at line 95 of file LaneArea.h.


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