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 getPosition (const std::string &id, Position &p)
 Returns the named junction's position. More...
 
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 53 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

◆ getPosition()

bool TraCIServerAPI_Junction::getPosition ( const std::string &  id,
Position p 
)
static

Returns the named junction's position.

Parameters
[in]idThe id of the searched junction
[out]pThe position, if the junction is known
Returns
Whether the junction is known (and on road)

Definition at line 103 of file TraCIServerAPI_Junction.cpp.

References libsumo::Junction::getJunction(), and MSJunction::getPosition().

Referenced by TraCIServer::findObjectShape().

◆ operator=()

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

invalidated assignment operator

◆ processGet()


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