SUMO - Simulation of Urban MObility
TraCIServerAPI_GUI.h
Go to the documentation of this file.
1 /****************************************************************************/
2 // Eclipse SUMO, Simulation of Urban MObility; see https://eclipse.org/sumo
3 // Copyright (C) 2001-2018 German Aerospace Center (DLR) and others.
4 // This program and the accompanying materials
5 // are made available under the terms of the Eclipse Public License v2.0
6 // which accompanies this distribution, and is available at
7 // http://www.eclipse.org/legal/epl-v20.html
8 // SPDX-License-Identifier: EPL-2.0
9 /****************************************************************************/
16 // APIs for getting/setting GUI values via TraCI
17 /****************************************************************************/
18 #ifndef TraCIServerAPI_GUI_h
19 #define TraCIServerAPI_GUI_h
20 
21 
22 // ===========================================================================
23 // included modules
24 // ===========================================================================
25 #include <config.h>
26 
27 #include <string>
29 #include <foreign/tcpip/storage.h>
30 
31 
32 // ===========================================================================
33 // class definitions
34 // ===========================================================================
40 public:
47  static bool processGet(TraCIServer& server, tcpip::Storage& inputStorage,
48  tcpip::Storage& outputStorage);
49 
50 
57  static bool processSet(TraCIServer& server, tcpip::Storage& inputStorage,
58  tcpip::Storage& outputStorage);
59 
60 
61 protected:
66  static GUISUMOAbstractView* getNamedView(const std::string& id);
67 
68 
69 private:
72 
75 
76 
77 };
78 
79 
80 #endif
81 
82 /****************************************************************************/
83 
TraCIServerAPI_GUI & operator=(const TraCIServerAPI_GUI &s)
invalidated assignment operator
static bool processSet(TraCIServer &server, tcpip::Storage &inputStorage, tcpip::Storage &outputStorage)
Processes a set value command (Command 0xcc: Change GUI State)
TraCIServerAPI_GUI(const TraCIServerAPI_GUI &s)
invalidated copy constructor
static GUISUMOAbstractView * getNamedView(const std::string &id)
Returns the named view.
TraCI server used to control sumo by a remote TraCI client.
Definition: TraCIServer.h:62
APIs for getting/setting GUI values via TraCI.
static bool processGet(TraCIServer &server, tcpip::Storage &inputStorage, tcpip::Storage &outputStorage)
Processes a get value command (Command 0xac: Get GUI Variable)