Eclipse SUMO - Simulation of Urban MObility
TraCIServerAPI_Edge.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-2019 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 /****************************************************************************/
15 // APIs for getting/setting edge values via TraCI
16 /****************************************************************************/
17 #ifndef TraCIServerAPI_Edge_h
18 #define TraCIServerAPI_Edge_h
19 
20 // ===========================================================================
21 // included modules
22 // ===========================================================================
23 #include <config.h>
24 
25 #include "TraCIServer.h"
26 #include <foreign/tcpip/storage.h>
27 
28 
29 // ===========================================================================
30 // class definitions
31 // ===========================================================================
37 public:
44  static bool processGet(TraCIServer& server, tcpip::Storage& inputStorage,
45  tcpip::Storage& outputStorage);
46 
47 
54  static bool processSet(TraCIServer& server, tcpip::Storage& inputStorage,
55  tcpip::Storage& outputStorage);
56 
57 
58 private:
61 
64 
65 
66 };
67 
68 
69 #endif
70 
71 /****************************************************************************/
72 
TraCIServerAPI_Edge::operator=
TraCIServerAPI_Edge & operator=(const TraCIServerAPI_Edge &s)
invalidated assignment operator
TraCIServerAPI_Edge::processSet
static bool processSet(TraCIServer &server, tcpip::Storage &inputStorage, tcpip::Storage &outputStorage)
Processes a set value command (Command 0xca: Change Edge State)
Definition: TraCIServerAPI_Edge.cpp:102
storage.h
TraCIServer.h
config.h
TraCIServer
TraCI server used to control sumo by a remote TraCI client.
Definition: TraCIServer.h:61
TraCIServerAPI_Edge::processGet
static bool processGet(TraCIServer &server, tcpip::Storage &inputStorage, tcpip::Storage &outputStorage)
Processes a get value command (Command 0xaa: Get Edge Variable)
Definition: TraCIServerAPI_Edge.cpp:47
tcpip::Storage
Definition: storage.h:38
TraCIServerAPI_Edge::TraCIServerAPI_Edge
TraCIServerAPI_Edge(const TraCIServerAPI_Edge &s)
invalidated copy constructor
TraCIServerAPI_Edge
APIs for getting/setting edge values via TraCI.
Definition: TraCIServerAPI_Edge.h:36