Eclipse SUMO - Simulation of Urban MObility
|
APIs for getting/setting lane values via TraCI. More...
#include <TraCIServerAPI_Lane.h>
Static Public Member Functions | |
static bool | processGet (TraCIServer &server, tcpip::Storage &inputStorage, tcpip::Storage &outputStorage) |
Processes a get value command (Command 0xa3: Get Lane Variable) | |
static bool | processSet (TraCIServer &server, tcpip::Storage &inputStorage, tcpip::Storage &outputStorage) |
Processes a set value command (Command 0xc3: Change Lane State) | |
Private Member Functions | |
TraCIServerAPI_Lane & | operator= (const TraCIServerAPI_Lane &s) |
invalidated assignment operator | |
TraCIServerAPI_Lane (const TraCIServerAPI_Lane &s) | |
invalidated copy constructor | |
APIs for getting/setting lane values via TraCI.
Definition at line 41 of file TraCIServerAPI_Lane.h.
|
private |
invalidated copy constructor
|
private |
invalidated assignment operator
|
static |
Processes a get value command (Command 0xa3: Get Lane 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 45 of file TraCIServerAPI_Lane.cpp.
References libsumo::CMD_GET_LANE_VARIABLE, TraCIServer::getWrapperStorage(), TraCIServer::initWrapper(), libsumo::LANE_LINKS, tcpip::Storage::readString(), libsumo::StorageHelper::readTypedString(), tcpip::Storage::readUnsignedByte(), libsumo::RESPONSE_GET_LANE_VARIABLE, libsumo::RTYPE_OK, toHex(), libsumo::TYPE_COMPOUND, libsumo::TYPE_DOUBLE, libsumo::TYPE_INTEGER, libsumo::TYPE_STRING, libsumo::TYPE_UBYTE, libsumo::VAR_FOES, tcpip::Storage::writeDouble(), TraCIServer::writeErrorStatusCmd(), tcpip::Storage::writeInt(), TraCIServer::writeResponseWithLength(), TraCIServer::writeStatusCmd(), tcpip::Storage::writeStorage(), tcpip::Storage::writeString(), libsumo::StorageHelper::writeTypedStringList(), and tcpip::Storage::writeUnsignedByte().
Referenced by TraCIServer::TraCIServer().
|
static |
Processes a set value command (Command 0xc3: Change Lane 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 118 of file TraCIServerAPI_Lane.cpp.
References libsumo::CMD_SET_LANE_VARIABLE, MSLane::dictionary(), libsumo::LANE_ALLOWED, libsumo::LANE_CHANGES, libsumo::LANE_DISALLOWED, libsumo::StorageHelper::readCompound(), tcpip::Storage::readString(), libsumo::StorageHelper::readTypedByte(), libsumo::StorageHelper::readTypedDouble(), libsumo::StorageHelper::readTypedString(), libsumo::StorageHelper::readTypedStringList(), tcpip::Storage::readUnsignedByte(), libsumo::RTYPE_OK, toHex(), libsumo::VAR_FRICTION, libsumo::VAR_LENGTH, libsumo::VAR_MAXSPEED, libsumo::VAR_PARAMETER, TraCIServer::writeErrorStatusCmd(), and TraCIServer::writeStatusCmd().
Referenced by TraCIServer::TraCIServer().