Eclipse SUMO - Simulation of Urban MObility
|
APIs for getting/setting induction loop values via TraCI. More...
#include <TraCIServerAPI_InductionLoop.h>
Static Public Member Functions | |
static bool | processGet (TraCIServer &server, tcpip::Storage &inputStorage, tcpip::Storage &outputStorage) |
Processes a get value command (Command 0xa0: Get Induction Loop Variable) | |
static bool | processSet (TraCIServer &server, tcpip::Storage &inputStorage, tcpip::Storage &outputStorage) |
Processes a set value command (Command 0xc0: Set Induction Loop Variable) | |
Private Member Functions | |
TraCIServerAPI_InductionLoop & | operator= (const TraCIServerAPI_InductionLoop &s) |
invalidated assignment operator | |
TraCIServerAPI_InductionLoop (const TraCIServerAPI_InductionLoop &s) | |
invalidated copy constructor | |
APIs for getting/setting induction loop values via TraCI.
Definition at line 35 of file TraCIServerAPI_InductionLoop.h.
|
private |
invalidated copy constructor
|
private |
invalidated assignment operator
|
static |
Processes a get value command (Command 0xa0: Get Induction Loop 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 37 of file TraCIServerAPI_InductionLoop.cpp.
References libsumo::CMD_GET_INDUCTIONLOOP_VARIABLE, TraCIServer::getWrapperStorage(), TraCIServer::initWrapper(), libsumo::LAST_STEP_VEHICLE_DATA, tcpip::Storage::readString(), tcpip::Storage::readUnsignedByte(), libsumo::RESPONSE_GET_INDUCTIONLOOP_VARIABLE, libsumo::RTYPE_OK, tcpip::Storage::size(), toHex(), libsumo::StorageHelper::writeCompound(), TraCIServer::writeErrorStatusCmd(), TraCIServer::writeResponseWithLength(), TraCIServer::writeStatusCmd(), tcpip::Storage::writeStorage(), libsumo::StorageHelper::writeTypedDouble(), libsumo::StorageHelper::writeTypedInt(), and libsumo::StorageHelper::writeTypedString().
Referenced by TraCIServer::TraCIServer().
|
static |
Processes a set value command (Command 0xc0: Set Induction Loop 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 83 of file TraCIServerAPI_InductionLoop.cpp.
References libsumo::CMD_SET_INDUCTIONLOOP_VARIABLE, libsumo::StorageHelper::readCompound(), tcpip::Storage::readString(), TraCIServer::readTypeCheckingDouble(), 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().