Eclipse SUMO - Simulation of Urban MObility
TraCIServerAPI_Lane.h
Go to the documentation of this file.
1 /****************************************************************************/
2 // Eclipse SUMO, Simulation of Urban MObility; see https://eclipse.org/sumo
3 // Copyright (C) 2009-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 /****************************************************************************/
17 // APIs for getting/setting lane values via TraCI
18 /****************************************************************************/
19 #ifndef TraCIServerAPI_Lane_h
20 #define TraCIServerAPI_Lane_h
21 
22 
23 // ===========================================================================
24 // included modules
25 // ===========================================================================
26 #include <config.h>
27 
28 #include <foreign/tcpip/storage.h>
29 
30 
31 // ===========================================================================
32 // class declarations
33 // ===========================================================================
34 class TraCIServer;
35 
36 
37 // ===========================================================================
38 // class definitions
39 // ===========================================================================
45 public:
52  static bool processGet(TraCIServer& server, tcpip::Storage& inputStorage,
53  tcpip::Storage& outputStorage);
54 
55 
62  static bool processSet(TraCIServer& server, tcpip::Storage& inputStorage,
63  tcpip::Storage& outputStorage);
64 
65 
66 private:
69 
72 
73 
74 };
75 
76 
77 #endif
78 
79 /****************************************************************************/
TraCIServerAPI_Lane::TraCIServerAPI_Lane
TraCIServerAPI_Lane(const TraCIServerAPI_Lane &s)
invalidated copy constructor
TraCIServerAPI_Lane
APIs for getting/setting lane values via TraCI.
Definition: TraCIServerAPI_Lane.h:44
TraCIServerAPI_Lane::processSet
static bool processSet(TraCIServer &server, tcpip::Storage &inputStorage, tcpip::Storage &outputStorage)
Processes a set value command (Command 0xc3: Change Lane State)
Definition: TraCIServerAPI_Lane.cpp:138
storage.h
TraCIServerAPI_Lane::processGet
static bool processGet(TraCIServer &server, tcpip::Storage &inputStorage, tcpip::Storage &outputStorage)
Processes a get value command (Command 0xa3: Get Lane Variable)
Definition: TraCIServerAPI_Lane.cpp:45
config.h
TraCIServer
TraCI server used to control sumo by a remote TraCI client.
Definition: TraCIServer.h:62
TraCIServerAPI_Lane::operator=
TraCIServerAPI_Lane & operator=(const TraCIServerAPI_Lane &s)
invalidated assignment operator
tcpip::Storage
Definition: storage.h:36