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 /****************************************************************************/
16 // APIs for getting/setting lane values via TraCI
17 /****************************************************************************/
18 #ifndef TraCIServerAPI_Lane_h
19 #define TraCIServerAPI_Lane_h
20 
21 
22 // ===========================================================================
23 // included modules
24 // ===========================================================================
25 #include <config.h>
26 
27 #include <foreign/tcpip/storage.h>
28 
29 
30 // ===========================================================================
31 // class declarations
32 // ===========================================================================
33 class TraCIServer;
34 
35 
36 // ===========================================================================
37 // class definitions
38 // ===========================================================================
44 public:
51  static bool processGet(TraCIServer& server, tcpip::Storage& inputStorage,
52  tcpip::Storage& outputStorage);
53 
54 
61  static bool processSet(TraCIServer& server, tcpip::Storage& inputStorage,
62  tcpip::Storage& outputStorage);
63 
64 
65 private:
68 
71 
72 
73 };
74 
75 
76 #endif
77 
78 /****************************************************************************/
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:43
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:137
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:44
config.h
TraCIServer
TraCI server used to control sumo by a remote TraCI client.
Definition: TraCIServer.h:61
TraCIServerAPI_Lane::operator=
TraCIServerAPI_Lane & operator=(const TraCIServerAPI_Lane &s)
invalidated assignment operator
tcpip::Storage
Definition: storage.h:38