Eclipse SUMO - Simulation of Urban MObility
TraCIServerAPI_LaneArea Class Reference

#include <TraCIServerAPI_LaneArea.h>

Static Public Member Functions

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

Private Member Functions

TraCIServerAPI_LaneAreaoperator= (const TraCIServerAPI_LaneArea &s)
 invalidated assignment operator More...
 
 TraCIServerAPI_LaneArea (const TraCIServerAPI_LaneArea &s)
 invalidated copy constructor More...
 

Detailed Description

Definition at line 40 of file TraCIServerAPI_LaneArea.h.

Constructor & Destructor Documentation

◆ TraCIServerAPI_LaneArea()

TraCIServerAPI_LaneArea::TraCIServerAPI_LaneArea ( const TraCIServerAPI_LaneArea s)
private

invalidated copy constructor

Member Function Documentation

◆ operator=()

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

invalidated assignment operator

◆ processGet()

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

Processes a get value command (Command 0xa1: Get AreaDetector 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 37 of file TraCIServerAPI_LaneArea.cpp.

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

Processes a set value command (Command 0xcd: Set AreaDetector 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 56 of file TraCIServerAPI_LaneArea.cpp.

References libsumo::CMD_SET_LANEAREA_VARIABLE, libsumo::StorageHelper::readCompound(), tcpip::Storage::readString(), TraCIServer::readTypeCheckingInt(), libsumo::StorageHelper::readTypedString(), tcpip::Storage::readUnsignedByte(), libsumo::RTYPE_OK, toHex(), libsumo::VAR_PARAMETER, libsumo::VAR_VIRTUAL_DETECTION, 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: