Eclipse SUMO - Simulation of Urban MObility
TraCIServerAPI_GUI Class Reference

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

#include <TraCIServerAPI_GUI.h>

Static Public Member Functions

static bool processGet (TraCIServer &server, tcpip::Storage &inputStorage, tcpip::Storage &outputStorage)
 Processes a get value command (Command 0xac: Get GUI Variable) More...
 
static bool processSet (TraCIServer &server, tcpip::Storage &inputStorage, tcpip::Storage &outputStorage)
 Processes a set value command (Command 0xcc: Change GUI State) More...
 

Private Member Functions

TraCIServerAPI_GUIoperator= (const TraCIServerAPI_GUI &s)
 invalidated assignment operator More...
 
 TraCIServerAPI_GUI (const TraCIServerAPI_GUI &s)
 invalidated copy constructor More...
 

Detailed Description

APIs for getting/setting GUI values via TraCI.

Definition at line 36 of file TraCIServerAPI_GUI.h.

Constructor & Destructor Documentation

◆ TraCIServerAPI_GUI()

TraCIServerAPI_GUI::TraCIServerAPI_GUI ( const TraCIServerAPI_GUI s)
private

invalidated copy constructor

Member Function Documentation

◆ operator=()

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

invalidated assignment operator

◆ processGet()

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

Processes a get value command (Command 0xac: Get GUI 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 36 of file TraCIServerAPI_GUI.cpp.

References libsumo::CMD_GET_GUI_VARIABLE, TraCIServer::getWrapperStorage(), TraCIServer::initWrapper(), tcpip::Storage::readString(), TraCIServer::readTypeCheckingString(), tcpip::Storage::readUnsignedByte(), libsumo::RESPONSE_GET_GUI_VARIABLE, libsumo::RTYPE_OK, toHex(), libsumo::VAR_SELECT, TraCIServer::writeErrorStatusCmd(), TraCIServer::writeResponseWithLength(), TraCIServer::writeStatusCmd(), and libsumo::StorageHelper::writeTypedInt().

Referenced by GUILoadThread::run().

Here is the caller graph for this function:

◆ processSet()

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

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