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

#include <Calibrator.h>

Static Public Member Functions

static double getBegin (const std::string &calibratorID)
 
static MSCalibratorgetCalibrator (const std::string &id)
 
static std::string getEdgeID (const std::string &calibratorID)
 
static double getEnd (const std::string &calibratorID)
 
static int getInserted (const std::string &calibratorID)
 
static std::string getLaneID (const std::string &calibratorID)
 
static int getPassed (const std::string &calibratorID)
 
static int getRemoved (const std::string &calibratorID)
 
static std::string getRouteID (const std::string &calibratorID)
 
static std::string getRouteProbeID (const std::string &calibratorID)
 
static double getSpeed (const std::string &calibratorID)
 
static std::string getTypeID (const std::string &calibratorID)
 
static double getVehsPerHour (const std::string &calibratorID)
 
static std::vector< std::string > getVTypes (const std::string &calibratorID)
 
static bool handleVariable (const std::string &objID, const int variable, VariableWrapper *wrapper, tcpip::Storage *paramData)
 
static std::shared_ptr< VariableWrapper > makeWrapper ()
 
LIBSUMO_ID_PARAMETER_API static LIBSUMO_SUBSCRIPTION_API void setFlow (const std::string &calibratorID, double begin, double end, double vehsPerHour, double speed, const std::string &typeID, const std::string &routeID, const std::string &departLane="first", const std::string &departSpeed="max")
 

Private Member Functions

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

Static Private Attributes

static ContextSubscriptionResults myContextSubscriptionResults
 
static SubscriptionResults mySubscriptionResults
 

Detailed Description

Definition at line 42 of file Calibrator.h.

Constructor & Destructor Documentation

◆ Calibrator()

LIBSUMO_NAMESPACE::Calibrator::Calibrator ( )
privatedelete

invalidated standard constructor

Member Function Documentation

◆ getBegin()

double Calibrator::getBegin ( const std::string &  calibratorID)
static

Definition at line 90 of file libsumo/Calibrator.cpp.

References libsumo::Helper::getCalibratorState(), and STEPS2TIME.

◆ getCalibrator()

MSCalibrator * Calibrator::getCalibrator ( const std::string &  id)
static

Definition at line 180 of file libsumo/Calibrator.cpp.

References MSCalibrator::getInstances().

◆ getEdgeID()

std::string Calibrator::getEdgeID ( const std::string &  calibratorID)
static

Definition at line 60 of file libsumo/Calibrator.cpp.

◆ getEnd()

double Calibrator::getEnd ( const std::string &  calibratorID)
static

Definition at line 95 of file libsumo/Calibrator.cpp.

References libsumo::Helper::getCalibratorState(), and STEPS2TIME.

◆ getInserted()

int Calibrator::getInserted ( const std::string &  calibratorID)
static

Definition at line 130 of file libsumo/Calibrator.cpp.

◆ getLaneID()

std::string Calibrator::getLaneID ( const std::string &  calibratorID)
static

Definition at line 65 of file libsumo/Calibrator.cpp.

References Named::getID().

◆ getPassed()

int Calibrator::getPassed ( const std::string &  calibratorID)
static

Definition at line 125 of file libsumo/Calibrator.cpp.

◆ getRemoved()

int Calibrator::getRemoved ( const std::string &  calibratorID)
static

Definition at line 135 of file libsumo/Calibrator.cpp.

◆ getRouteID()

std::string Calibrator::getRouteID ( const std::string &  calibratorID)
static

◆ getRouteProbeID()

std::string Calibrator::getRouteProbeID ( const std::string &  calibratorID)
static

Definition at line 105 of file libsumo/Calibrator.cpp.

References Named::getID().

◆ getSpeed()

double Calibrator::getSpeed ( const std::string &  calibratorID)
static

◆ getTypeID()

std::string Calibrator::getTypeID ( const std::string &  calibratorID)
static

◆ getVehsPerHour()

double Calibrator::getVehsPerHour ( const std::string &  calibratorID)
static

◆ getVTypes()

std::vector< std::string > Calibrator::getVTypes ( const std::string &  calibratorID)
static

Definition at line 115 of file libsumo/Calibrator.cpp.

◆ handleVariable()

◆ makeWrapper()

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

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

◆ setFlow()

void Calibrator::setFlow ( const std::string &  calibratorID,
double  begin,
double  end,
double  vehsPerHour,
double  speed,
const std::string &  typeID,
const std::string &  routeID,
const std::string &  departLane = "first",
const std::string &  departSpeed = "max" 
)
static

Field Documentation

◆ myContextSubscriptionResults

ContextSubscriptionResults Calibrator::myContextSubscriptionResults
staticprivate

Definition at line 76 of file Calibrator.h.

◆ mySubscriptionResults

SubscriptionResults Calibrator::mySubscriptionResults
staticprivate

Definition at line 75 of file Calibrator.h.


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