Eclipse SUMO - Simulation of Urban MObility
Loading...
Searching...
No Matches
TraCIServerAPI_MeanData Class Reference

APIs for getting/setting busstop values via TraCI. More...

#include <TraCIServerAPI_MeanData.h>

Static Public Member Functions

static bool processGet (TraCIServer &server, tcpip::Storage &inputStorage, tcpip::Storage &outputStorage)
 Processes a get value command (Command 0xa6: Get MeanData Variable)
 
static bool processSet (TraCIServer &server, tcpip::Storage &inputStorage, tcpip::Storage &outputStorage)
 Processes a set value command (Command 0xc6: Change MeanData State)
 

Private Member Functions

TraCIServerAPI_MeanDataoperator= (const TraCIServerAPI_MeanData &s)
 invalidated assignment operator
 
 TraCIServerAPI_MeanData (const TraCIServerAPI_MeanData &s)
 invalidated copy constructor
 

Detailed Description

APIs for getting/setting busstop values via TraCI.

Definition at line 34 of file TraCIServerAPI_MeanData.h.

Constructor & Destructor Documentation

◆ TraCIServerAPI_MeanData()

TraCIServerAPI_MeanData::TraCIServerAPI_MeanData ( const TraCIServerAPI_MeanData s)
private

invalidated copy constructor

Member Function Documentation

◆ operator=()

TraCIServerAPI_MeanData & TraCIServerAPI_MeanData::operator= ( const TraCIServerAPI_MeanData s)
private

invalidated assignment operator

◆ processGet()

bool TraCIServerAPI_MeanData::processGet ( TraCIServer server,
tcpip::Storage inputStorage,
tcpip::Storage outputStorage 
)
static

Processes a get value command (Command 0xa6: Get MeanData Variable)

Parameters
[in]serverThe TraCI-server-instance which schedules this request
[in]inputStorageThe storage to read the command from
[out]outputStorageThe storage to write the result to

Definition at line 34 of file TraCIServerAPI_MeanData.cpp.

References libsumo::CMD_GET_MEANDATA_VARIABLE, TraCIServer::getWrapperStorage(), TraCIServer::initWrapper(), tcpip::Storage::readString(), tcpip::Storage::readUnsignedByte(), libsumo::RESPONSE_GET_MEANDATA_VARIABLE, libsumo::RTYPE_OK, toHex(), TraCIServer::writeErrorStatusCmd(), TraCIServer::writeResponseWithLength(), and TraCIServer::writeStatusCmd().

Referenced by TraCIServer::TraCIServer().

Here is the caller graph for this function:

◆ processSet()

static bool TraCIServerAPI_MeanData::processSet ( TraCIServer server,
tcpip::Storage inputStorage,
tcpip::Storage outputStorage 
)
static

Processes a set value command (Command 0xc6: Change MeanData State)

Parameters
[in]serverThe TraCI-server-instance which schedules this request
[in]inputStorageThe storage to read the command from
[out]outputStorageThe storage to write the result to

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