SUMO - Simulation of Urban MObility
TraCIServerAPI_Junction Class Reference

APIs for getting/setting junction values via TraCI. More...

#include <TraCIServerAPI_Junction.h>

Collaboration diagram for TraCIServerAPI_Junction:
Collaboration graph

Static Public Member Functions

static bool processGet (TraCIServer &server, tcpip::Storage &inputStorage, tcpip::Storage &outputStorage)
 Processes a get value command (Command 0xa9: Get Junction Variable) More...
 

Private Member Functions

TraCIServerAPI_Junctionoperator= (const TraCIServerAPI_Junction &s)
 invalidated assignment operator More...
 
 TraCIServerAPI_Junction (const TraCIServerAPI_Junction &s)
 invalidated copy constructor More...
 

Detailed Description

APIs for getting/setting junction values via TraCI.

Definition at line 45 of file TraCIServerAPI_Junction.h.

Constructor & Destructor Documentation

◆ TraCIServerAPI_Junction()

TraCIServerAPI_Junction::TraCIServerAPI_Junction ( const TraCIServerAPI_Junction s)
private

invalidated copy constructor

Member Function Documentation

◆ operator=()

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

invalidated assignment operator

◆ processGet()

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

Processes a get value command (Command 0xa9: Get Junction 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 38 of file TraCIServerAPI_Junction.cpp.

References CMD_GET_JUNCTION_VARIABLE, libsumo::Junction::getShape(), TraCIServer::getWrapperStorage(), libsumo::Junction::handleVariable(), TraCIServer::initWrapper(), tcpip::Storage::readString(), tcpip::Storage::readUnsignedByte(), RESPONSE_GET_JUNCTION_VARIABLE, RTYPE_OK, toHex(), VAR_SHAPE, TraCIServer::writeErrorStatusCmd(), TraCIServer::writePositionVector(), TraCIServer::writeResponseWithLength(), and TraCIServer::writeStatusCmd().

Referenced by TraCIServer::TraCIServer().


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