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 /****************************************************************************/
15 // APIs for getting/setting person values via TraCI
16 /****************************************************************************/
17 #ifndef TraCIServerAPI_Person_h
18 #define TraCIServerAPI_Person_h
19 
20 
21 // ===========================================================================
22 // included modules
23 // ===========================================================================
24 #include <config.h>
25 
26 #include <foreign/tcpip/storage.h>
27 
28 
29 // ===========================================================================
30 // class declarations
31 // ===========================================================================
32 class TraCIServer;
33 
34 
35 // ===========================================================================
36 // class definitions
37 // ===========================================================================
43 public:
50  static bool processGet(TraCIServer& server, tcpip::Storage& inputStorage,
51  tcpip::Storage& outputStorage);
52 
53 
60  static bool processSet(TraCIServer& server, tcpip::Storage& inputStorage,
61  tcpip::Storage& outputStorage);
62 
63 
64 private:
67 
70 
71 
72 };
73 
74 
75 #endif
76 
77 /****************************************************************************/
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:92
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:62
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:43
tcpip::Storage
Definition: storage.h:36
TraCIServerAPI_Person
APIs for getting/setting person values via TraCI.
Definition: TraCIServerAPI_Person.h:42