Eclipse SUMO - Simulation of Urban MObility
Loading...
Searching...
No Matches
LIBSUMO_NAMESPACE::MeanData Class Reference

#include <MeanData.h>

Static Public Member Functions

static bool handleVariable (const std::string &objID, const int variable, VariableWrapper *wrapper, tcpip::Storage *paramData)
LIBSUMO_ID_PARAMETER_API static LIBSUMO_SUBSCRIPTION_API std::shared_ptr< VariableWrapper > makeWrapper ()

Private Member Functions

 MeanData ()=delete
 invalidated standard constructor

Static Private Member Functions

static MSMeanDatagetMeanData (const std::string &id)

Static Private Attributes

static ContextSubscriptionResults myContextSubscriptionResults
static SubscriptionResults mySubscriptionResults

Detailed Description

Definition at line 41 of file MeanData.h.

Constructor & Destructor Documentation

◆ MeanData()

LIBSUMO_NAMESPACE::MeanData::MeanData ( )
privatedelete

invalidated standard constructor

Member Function Documentation

◆ getMeanData()

MSMeanData * MeanData::getMeanData ( const std::string & id)
staticprivate

Definition at line 76 of file libsumo/MeanData.cpp.

References MSNet::getDetectorControl(), MSNet::getInstance(), getMeanData(), MSDetectorControl::getMeanData(), TL, toString(), and WRITE_WARNINGF.

Referenced by getMeanData().

Here is the caller graph for this function:

◆ handleVariable()

bool MeanData::handleVariable ( const std::string & objID,
const int variable,
VariableWrapper * wrapper,
tcpip::Storage * paramData )
static

Definition at line 96 of file libsumo/MeanData.cpp.

References handleVariable(), libsumo::ID_COUNT, tcpip::Storage::readString(), tcpip::Storage::readUnsignedByte(), libsumo::TRACI_ID_LIST, libsumo::VAR_PARAMETER, and libsumo::VAR_PARAMETER_WITH_KEY.

Referenced by handleVariable(), and makeWrapper().

Here is the caller graph for this function:

◆ makeWrapper()

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

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

References handleVariable(), makeWrapper(), myContextSubscriptionResults, and mySubscriptionResults.

Referenced by makeWrapper().

Here is the caller graph for this function:

Field Documentation

◆ myContextSubscriptionResults

ContextSubscriptionResults MeanData::myContextSubscriptionResults
staticprivate

Definition at line 59 of file MeanData.h.

Referenced by makeWrapper().

◆ mySubscriptionResults

SubscriptionResults MeanData::mySubscriptionResults
staticprivate

Definition at line 58 of file MeanData.h.

Referenced by makeWrapper().


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