Eclipse SUMO - Simulation of Urban MObility
TraCIServerAPI_InductionLoop Class Reference

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) More...
 

Private Member Functions

TraCIServerAPI_InductionLoopoperator= (const TraCIServerAPI_InductionLoop &s)
 invalidated assignment operator More...
 
 TraCIServerAPI_InductionLoop (const TraCIServerAPI_InductionLoop &s)
 invalidated copy constructor More...
 

Detailed Description

APIs for getting/setting induction loop values via TraCI.

Definition at line 35 of file TraCIServerAPI_InductionLoop.h.

Constructor & Destructor Documentation

◆ TraCIServerAPI_InductionLoop()

TraCIServerAPI_InductionLoop::TraCIServerAPI_InductionLoop ( const TraCIServerAPI_InductionLoop s)
private

invalidated copy constructor

Member Function Documentation

◆ operator=()

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

invalidated assignment operator

◆ processGet()

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

Processes a get value command (Command 0xa0: Get Induction Loop Variable)

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 36 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, toHex(), libsumo::TYPE_COMPOUND, libsumo::TYPE_DOUBLE, libsumo::TYPE_INTEGER, libsumo::TYPE_STRING, tcpip::Storage::writeDouble(), TraCIServer::writeErrorStatusCmd(), tcpip::Storage::writeInt(), TraCIServer::writeResponseWithLength(), TraCIServer::writeStatusCmd(), tcpip::Storage::writeStorage(), tcpip::Storage::writeString(), and tcpip::Storage::writeUnsignedByte().

Referenced by TraCIServer::TraCIServer().

Here is the caller graph for this function:

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