SUMO - Simulation of Urban MObility
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
TraCIServerAPI_GUI Class Reference

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

#include <TraCIServerAPI_GUI.h>

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)
static bool processSet (TraCIServer &server, tcpip::Storage &inputStorage, tcpip::Storage &outputStorage)
 Processes a set value command (Command 0xcc: Change GUI State)

Static Protected Member Functions

static GUIMainWindowgetMainWindow ()
 Returns the main window.
static GUISUMOAbstractViewgetNamedView (const std::string &id)
 Returns the named view.

Private Member Functions

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

Detailed Description

APIs for getting/setting GUI values via TraCI.

Definition at line 55 of file TraCIServerAPI_GUI.h.

Constructor & Destructor Documentation

TraCIServerAPI_GUI::TraCIServerAPI_GUI ( const TraCIServerAPI_GUI s)
private

invalidated copy constructor

Member Function Documentation

GUIMainWindow * TraCIServerAPI_GUI::getMainWindow ( )
staticprotected

Returns the main window.

Returns
The main window (should exist)

Definition at line 210 of file TraCIServerAPI_GUI.cpp.

Referenced by getNamedView(), and processGet().

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 224 of file TraCIServerAPI_GUI.cpp.

References getMainWindow(), 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: