Eclipse SUMO - Simulation of Urban MObility
|
APIs for getting/setting busstop values via TraCI. More...
#include <TraCIServerAPI_Rerouter.h>
Static Public Member Functions | |
static bool | processGet (TraCIServer &server, tcpip::Storage &inputStorage, tcpip::Storage &outputStorage) |
Processes a get value command (Command 0xa6: Get Rerouter Variable) | |
static bool | processSet (TraCIServer &server, tcpip::Storage &inputStorage, tcpip::Storage &outputStorage) |
Processes a set value command (Command 0xc6: Change Rerouter State) | |
Private Member Functions | |
TraCIServerAPI_Rerouter & | operator= (const TraCIServerAPI_Rerouter &s) |
invalidated assignment operator | |
TraCIServerAPI_Rerouter (const TraCIServerAPI_Rerouter &s) | |
invalidated copy constructor | |
APIs for getting/setting busstop values via TraCI.
Definition at line 34 of file TraCIServerAPI_Rerouter.h.
|
private |
invalidated copy constructor
|
private |
invalidated assignment operator
|
static |
Processes a get value command (Command 0xa6: Get Rerouter 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 34 of file TraCIServerAPI_Rerouter.cpp.
References libsumo::CMD_GET_REROUTER_VARIABLE, TraCIServer::getWrapperStorage(), TraCIServer::initWrapper(), tcpip::Storage::readString(), tcpip::Storage::readUnsignedByte(), libsumo::RESPONSE_GET_REROUTER_VARIABLE, libsumo::RTYPE_OK, toHex(), TraCIServer::writeErrorStatusCmd(), TraCIServer::writeResponseWithLength(), and TraCIServer::writeStatusCmd().
Referenced by TraCIServer::TraCIServer().
|
static |
Processes a set value command (Command 0xc6: Change Rerouter 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 53 of file TraCIServerAPI_Rerouter.cpp.
References libsumo::CMD_SET_REROUTER_VARIABLE, tcpip::Storage::readInt(), tcpip::Storage::readString(), TraCIServer::readTypeCheckingString(), tcpip::Storage::readUnsignedByte(), libsumo::RTYPE_OK, toHex(), libsumo::TYPE_COMPOUND, libsumo::VAR_PARAMETER, TraCIServer::writeErrorStatusCmd(), and TraCIServer::writeStatusCmd().
Referenced by TraCIServer::TraCIServer().