SUMO - Simulation of Urban MObility
TraCIServerAPI_GUI Class Reference

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

#include <TraCIServerAPI_GUI.h>

Static Public Member Functions

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

Static Protected Member Functions

static GUIMainWindowgetMainWindow ()
 Returns the main window.
static GUISUMOAbstractView *const getNamedView (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

invalidated copy constructor


Member Function Documentation

Returns the main window.

Returns:
The main window (should exist)

Definition at line 228 of file TraCIServerAPI_GUI.cpp.

GUISUMOAbstractView *const TraCIServerAPI_GUI::getNamedView ( const std::string &  id) [static, protected]

Returns the named view.

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

Definition at line 242 of file TraCIServerAPI_GUI.cpp.

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

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

invalidated assignment operator


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