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

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

#include <TraCIServerAPI_VariableSpeedSign.h>

Static Public Member Functions

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

Private Member Functions

TraCIServerAPI_VariableSpeedSignoperator= (const TraCIServerAPI_VariableSpeedSign &s)
 invalidated assignment operator
 
 TraCIServerAPI_VariableSpeedSign (const TraCIServerAPI_VariableSpeedSign &s)
 invalidated copy constructor
 

Detailed Description

APIs for getting/setting busstop values via TraCI.

Definition at line 34 of file TraCIServerAPI_VariableSpeedSign.h.

Constructor & Destructor Documentation

◆ TraCIServerAPI_VariableSpeedSign()

TraCIServerAPI_VariableSpeedSign::TraCIServerAPI_VariableSpeedSign ( const TraCIServerAPI_VariableSpeedSign s)
private

invalidated copy constructor

Member Function Documentation

◆ operator=()

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

invalidated assignment operator

◆ processGet()

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

Processes a get value command (Command 0xa6: Get VariableSpeedSign 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_VariableSpeedSign.cpp.

References libsumo::CMD_GET_VARIABLESPEEDSIGN_VARIABLE, TraCIServer::getWrapperStorage(), TraCIServer::initWrapper(), tcpip::Storage::readString(), tcpip::Storage::readUnsignedByte(), libsumo::RESPONSE_GET_VARIABLESPEEDSIGN_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()

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

Processes a set value command (Command 0xc6: Change VariableSpeedSign 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

Definition at line 53 of file TraCIServerAPI_VariableSpeedSign.cpp.

References libsumo::CMD_SET_VARIABLESPEEDSIGN_VARIABLE, tcpip::Storage::readInt(), tcpip::Storage::readString(), TraCIServer::readTypeCheckingString(), tcpip::Storage::readUnsignedByte(), libsumo::RTYPE_OK, toHex(), libsumo::TYPE_COMPOUND, libsumo::VAR_PARAMETER, TraCIServer::writeErrorStatusCmd(), and TraCIServer::writeStatusCmd().

Referenced by TraCIServer::TraCIServer().

Here is the caller graph for this function:

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