Eclipse SUMO - Simulation of Urban MObility
|
APIs for getting/setting GUI values via TraCI. More...
#include <TraCIServerAPI_GUI.h>
Static Public Member Functions | |
static bool | processGet (TraCIServer &server, tcpip::Storage &inputStorage, tcpip::Storage &outputStorage) |
Processes a get value command (Command 0xac: Get GUI Variable) | |
static bool | processSet (TraCIServer &server, tcpip::Storage &inputStorage, tcpip::Storage &outputStorage) |
Processes a set value command (Command 0xcc: Change GUI State) | |
Private Member Functions | |
TraCIServerAPI_GUI & | operator= (const TraCIServerAPI_GUI &s) |
invalidated assignment operator | |
TraCIServerAPI_GUI (const TraCIServerAPI_GUI &s) | |
invalidated copy constructor | |
APIs for getting/setting GUI values via TraCI.
Definition at line 36 of file TraCIServerAPI_GUI.h.
|
private |
invalidated copy constructor
|
private |
invalidated assignment operator
|
static |
Processes a get value command (Command 0xac: Get GUI 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 36 of file TraCIServerAPI_GUI.cpp.
References libsumo::CMD_GET_GUI_VARIABLE, TraCIServer::getWrapperStorage(), TraCIServer::initWrapper(), tcpip::Storage::readString(), TraCIServer::readTypeCheckingString(), tcpip::Storage::readUnsignedByte(), libsumo::RESPONSE_GET_GUI_VARIABLE, libsumo::RTYPE_OK, toHex(), libsumo::VAR_SELECT, TraCIServer::writeErrorStatusCmd(), TraCIServer::writeResponseWithLength(), TraCIServer::writeStatusCmd(), and libsumo::StorageHelper::writeTypedInt().
Referenced by GUILoadThread::run().
|
static |
Processes a set value command (Command 0xcc: Change GUI 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 66 of file TraCIServerAPI_GUI.cpp.
References libsumo::ADD, libsumo::CMD_SET_GUI_VARIABLE, tcpip::Storage::readInt(), tcpip::Storage::readString(), TraCIServer::readTypeCheckingDouble(), TraCIServer::readTypeCheckingInt(), TraCIServer::readTypeCheckingPolygon(), TraCIServer::readTypeCheckingPosition2D(), TraCIServer::readTypeCheckingString(), tcpip::Storage::readUnsignedByte(), libsumo::REMOVE, libsumo::RTYPE_OK, toHex(), libsumo::TYPE_COMPOUND, libsumo::VAR_ANGLE, libsumo::VAR_SCREENSHOT, libsumo::VAR_SELECT, libsumo::VAR_TRACK_VEHICLE, libsumo::VAR_VIEW_BOUNDARY, libsumo::VAR_VIEW_OFFSET, libsumo::VAR_VIEW_SCHEMA, libsumo::VAR_VIEW_ZOOM, GUISUMOViewParent::VIEW_2D_OPENGL, GUISUMOViewParent::VIEW_3D_OSG, TraCIServer::writeErrorStatusCmd(), TraCIServer::writeStatusCmd(), libsumo::TraCIPosition::x, and libsumo::TraCIPosition::y.
Referenced by GUILoadThread::run().