|
SUMO - Simulation of Urban MObility
|
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 | |
APIs for getting/setting junction values via TraCI.
Definition at line 48 of file TraCIServerAPI_Junction.h.
| TraCIServerAPI_Junction::TraCIServerAPI_Junction | ( | const TraCIServerAPI_Junction & | s | ) | [private] |
invalidated copy constructor
| 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)
| [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 56 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().