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

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

#include <TraCIServerAPI_Polygon.h>

Static Public Member Functions

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

Private Member Functions

TraCIServerAPI_Polygonoperator= (const TraCIServerAPI_Polygon &s)
 invalidated assignment operator
 TraCIServerAPI_Polygon (const TraCIServerAPI_Polygon &s)
 invalidated copy constructor

Detailed Description

APIs for getting/setting polygon values via TraCI.

Definition at line 35 of file TraCIServerAPI_Polygon.h.

Constructor & Destructor Documentation

◆ TraCIServerAPI_Polygon()

TraCIServerAPI_Polygon::TraCIServerAPI_Polygon ( const TraCIServerAPI_Polygon & s)
private

invalidated copy constructor

References TraCIServerAPI_Polygon().

Referenced by operator=(), and TraCIServerAPI_Polygon().

Here is the caller graph for this function:

Member Function Documentation

◆ operator=()

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

invalidated assignment operator

References TraCIServerAPI_Polygon().

◆ processGet()

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

Processes a get value command (Command 0xa8: Get Polygon 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 41 of file TraCIServerAPI_Polygon.cpp.

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


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