Eclipse SUMO - Simulation of Urban MObility
TraCIServerAPI_Person.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 /****************************************************************************/
14 // APIs for getting/setting person values via TraCI
15 /****************************************************************************/
16 #ifndef TraCIServerAPI_Person_h
17 #define TraCIServerAPI_Person_h
18 
19 
20 // ===========================================================================
21 // included modules
22 // ===========================================================================
23 #include <config.h>
24 
25 #include <foreign/tcpip/storage.h>
26 
27 
28 // ===========================================================================
29 // class declarations
30 // ===========================================================================
31 class TraCIServer;
32 
33 
34 // ===========================================================================
35 // class definitions
36 // ===========================================================================
42 public:
49  static bool processGet(TraCIServer& server, tcpip::Storage& inputStorage,
50  tcpip::Storage& outputStorage);
51 
52 
59  static bool processSet(TraCIServer& server, tcpip::Storage& inputStorage,
60  tcpip::Storage& outputStorage);
61 
62 
63 private:
66 
69 
70 
71 };
72 
73 
74 #endif
75 
76 /****************************************************************************/
TraCIServerAPI_Person::processSet
static bool processSet(TraCIServer &server, tcpip::Storage &inputStorage, tcpip::Storage &outputStorage)
Processes a set value command (Command 0xce: Change Person State)
Definition: TraCIServerAPI_Person.cpp:91
TraCIServerAPI_Person::TraCIServerAPI_Person
TraCIServerAPI_Person(const TraCIServerAPI_Person &s)
invalidated copy constructor
storage.h
TraCIServerAPI_Person::operator=
TraCIServerAPI_Person & operator=(const TraCIServerAPI_Person &s)
invalidated assignment operator
config.h
TraCIServer
TraCI server used to control sumo by a remote TraCI client.
Definition: TraCIServer.h:61
TraCIServerAPI_Person::processGet
static bool processGet(TraCIServer &server, tcpip::Storage &inputStorage, tcpip::Storage &outputStorage)
Processes a get value command (Command 0xae: Get Person Variable)
Definition: TraCIServerAPI_Person.cpp:42
tcpip::Storage
Definition: storage.h:36
TraCIServerAPI_Person
APIs for getting/setting person values via TraCI.
Definition: TraCIServerAPI_Person.h:41