Eclipse SUMO - Simulation of Urban MObility
Loading...
Searching...
No Matches
TraCIServerAPI_Lane Class Reference

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_Laneoperator= (const TraCIServerAPI_Lane &s)
 invalidated assignment operator
 
 TraCIServerAPI_Lane (const TraCIServerAPI_Lane &s)
 invalidated copy constructor
 

Detailed Description

APIs for getting/setting lane values via TraCI.

Definition at line 41 of file TraCIServerAPI_Lane.h.

Constructor & Destructor Documentation

◆ TraCIServerAPI_Lane()

TraCIServerAPI_Lane::TraCIServerAPI_Lane ( const TraCIServerAPI_Lane s)
private

invalidated copy constructor

Member Function Documentation

◆ operator=()

TraCIServerAPI_Lane & TraCIServerAPI_Lane::operator= ( const TraCIServerAPI_Lane s)
private

invalidated assignment operator

◆ processGet()

bool TraCIServerAPI_Lane::processGet ( TraCIServer server,
tcpip::Storage inputStorage,
tcpip::Storage outputStorage 
)
static

◆ processSet()

bool TraCIServerAPI_Lane::processSet ( TraCIServer server,
tcpip::Storage inputStorage,
tcpip::Storage outputStorage 
)
static

Processes a set value command (Command 0xc3: Change Lane State)

Parameters
[in]serverThe TraCI-server-instance which schedules this request
[in]inputStorageThe storage to read the command from
[out]outputStorageThe 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().

Here is the caller graph for this function:

The documentation for this class was generated from the following files: