SUMO - Simulation of Urban MObility

TraCIServerAPI_Junction Class Reference

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

#include <TraCIServerAPI_Junction.h>

Static Public Member Functions

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

Private Member Functions

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

Detailed Description

APIs for getting/setting junction values via TraCI.

Definition at line 46 of file TraCIServerAPI_Junction.h.


Constructor & Destructor Documentation

TraCIServerAPI_Junction::TraCIServerAPI_Junction ( const TraCIServerAPI_Junction &  s) [private]

invalidated copy constructor


Member Function Documentation

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

invalidated assignment operator

bool TraCIServerAPI_Junction::processGet ( traci::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 54 of file TraCIServerAPI_Junction.cpp.

References CMD_GET_JUNCTION_VARIABLE, NamedObjectCont< T >::get(), MSNet::getInstance(), MSNet::getJunctionControl(), MSJunction::getPosition(), ID_COUNT, ID_LIST, NamedObjectCont< T >::insertIDs(), POSITION_2D, RESPONSE_GET_JUNCTION_VARIABLE, RTYPE_ERR, RTYPE_OK, TYPE_INTEGER, TYPE_STRINGLIST, VAR_POSITION, traci::TraCIServer::writeResponseWithLength(), traci::TraCIServer::writeStatusCmd(), Position::x(), and Position::y().


The documentation for this class was generated from the following files:
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Friends Defines