Eclipse SUMO - Simulation of Urban MObility
|
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_Polygon & | operator= (const TraCIServerAPI_Polygon &s) |
invalidated assignment operator | |
TraCIServerAPI_Polygon (const TraCIServerAPI_Polygon &s) | |
invalidated copy constructor | |
APIs for getting/setting polygon values via TraCI.
Definition at line 35 of file TraCIServerAPI_Polygon.h.
|
private |
invalidated copy constructor
|
private |
invalidated assignment operator
|
static |
Processes a get value command (Command 0xa8: Get Polygon Variable)
[in] | server | The TraCI-server-instance which schedules this request |
[in] | inputStorage | The storage to read the command from |
[out] | outputStorage | The storage to write the result to |
Definition at line 40 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().
|
static |
Processes a set value command (Command 0xc8: Change Polygon State)
[in] | server | The TraCI-server-instance which schedules this request |
[in] | inputStorage | The storage to read the command from |
[out] | outputStorage | The storage to write the result to |
Definition at line 58 of file TraCIServerAPI_Polygon.cpp.
References libsumo::ADD, libsumo::CMD_SET_POLYGON_VARIABLE, libsumo::CMD_SET_VEHICLE_VARIABLE, libsumo::Helper::makeTraCIPositionVector(), tcpip::Storage::readInt(), tcpip::Storage::readString(), TraCIServer::readTypeCheckingColor(), TraCIServer::readTypeCheckingDouble(), TraCIServer::readTypeCheckingDoubleList(), TraCIServer::readTypeCheckingInt(), TraCIServer::readTypeCheckingPolygon(), TraCIServer::readTypeCheckingString(), TraCIServer::readTypeCheckingUnsignedByte(), tcpip::Storage::readUnsignedByte(), libsumo::REMOVE, libsumo::RTYPE_OK, toHex(), libsumo::TYPE_COMPOUND, libsumo::VAR_ADD_DYNAMICS, libsumo::VAR_COLOR, libsumo::VAR_FILL, libsumo::VAR_MOVE_TO, libsumo::VAR_PARAMETER, libsumo::VAR_SHAPE, libsumo::VAR_TYPE, libsumo::VAR_WIDTH, TraCIServer::writeErrorStatusCmd(), and TraCIServer::writeStatusCmd().
Referenced by TraCIServer::TraCIServer().