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

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 230 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: