SUMO - Simulation of Urban MObility
TraCIServerAPI_GUI Class Reference

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

#include <TraCIServerAPI_GUI.h>

Collaboration diagram for TraCIServerAPI_GUI:
Collaboration graph

Static Public Member Functions

static bool processGet (TraCIServer &server, tcpip::Storage &inputStorage, tcpip::Storage &outputStorage)
 Processes a get value command (Command 0xac: Get GUI Variable) More...
 
static bool processSet (TraCIServer &server, tcpip::Storage &inputStorage, tcpip::Storage &outputStorage)
 Processes a set value command (Command 0xcc: Change GUI State) More...
 

Static Protected Member Functions

static GUISUMOAbstractViewgetNamedView (const std::string &id)
 Returns the named view. More...
 

Private Member Functions

TraCIServerAPI_GUIoperator= (const TraCIServerAPI_GUI &s)
 invalidated assignment operator More...
 
 TraCIServerAPI_GUI (const TraCIServerAPI_GUI &s)
 invalidated copy constructor More...
 

Detailed Description

APIs for getting/setting GUI values via TraCI.

Definition at line 49 of file TraCIServerAPI_GUI.h.

Constructor & Destructor Documentation

TraCIServerAPI_GUI::TraCIServerAPI_GUI ( const TraCIServerAPI_GUI s)
private

invalidated copy constructor

Member Function Documentation

GUISUMOAbstractView * TraCIServerAPI_GUI::getNamedView ( const std::string &  id)
staticprotected

Returns the named view.

Parameters
[in]viewNameThe name of the view
Returns
The named view if existing, 0 otherwise

Definition at line 209 of file TraCIServerAPI_GUI.cpp.

References GUIMainWindow::getInstance(), GUIGlChildWindow::getView(), and GUIMainWindow::getViewByID().

Referenced by processGet(), and processSet().

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

invalidated assignment operator


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