Eclipse SUMO - Simulation of Urban MObility
TraCIServerAPI_MultiEntryExit Class Reference

APIs for getting/setting multi-entry/multi-exit detector values via TraCI. More...

#include <TraCIServerAPI_MultiEntryExit.h>

Static Public Member Functions

static bool processGet (TraCIServer &server, tcpip::Storage &inputStorage, tcpip::Storage &outputStorage)
 Processes a get value command (Command 0xa1: Get MeMeDetector Variable) More...
 
static bool processSet (TraCIServer &server, tcpip::Storage &inputStorage, tcpip::Storage &outputStorage)
 Processes a set value command (Command 0xc1: Set MeMeDetector Variable) More...
 

Private Member Functions

TraCIServerAPI_MultiEntryExitoperator= (const TraCIServerAPI_MultiEntryExit &s)
 invalidated assignment operator More...
 
 TraCIServerAPI_MultiEntryExit (const TraCIServerAPI_MultiEntryExit &s)
 invalidated copy constructor More...
 

Detailed Description

APIs for getting/setting multi-entry/multi-exit detector values via TraCI.

Definition at line 35 of file TraCIServerAPI_MultiEntryExit.h.

Constructor & Destructor Documentation

◆ TraCIServerAPI_MultiEntryExit()

TraCIServerAPI_MultiEntryExit::TraCIServerAPI_MultiEntryExit ( const TraCIServerAPI_MultiEntryExit s)
private

invalidated copy constructor

Member Function Documentation

◆ operator=()

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

invalidated assignment operator

◆ processGet()

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

Processes a get value command (Command 0xa1: Get MeMeDetector 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_MultiEntryExit.cpp.

References libsumo::CMD_GET_MULTIENTRYEXIT_VARIABLE, TraCIServer::getWrapperStorage(), TraCIServer::initWrapper(), tcpip::Storage::readString(), tcpip::Storage::readUnsignedByte(), libsumo::RESPONSE_GET_MULTIENTRYEXIT_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_MultiEntryExit::processSet ( TraCIServer server,
tcpip::Storage inputStorage,
tcpip::Storage outputStorage 
)
static

Processes a set value command (Command 0xc1: Set MeMeDetector 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 53 of file TraCIServerAPI_MultiEntryExit.cpp.

References libsumo::CMD_SET_MULTIENTRYEXIT_VARIABLE, libsumo::StorageHelper::readCompound(), tcpip::Storage::readString(), libsumo::StorageHelper::readTypedString(), tcpip::Storage::readUnsignedByte(), libsumo::RTYPE_OK, toHex(), 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: