SUMO - Simulation of Urban MObility
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
TraCIServerAPI_Edge.h
Go to the documentation of this file.
1 /****************************************************************************/
8 // APIs for getting/setting edge values via TraCI
9 /****************************************************************************/
10 // SUMO, Simulation of Urban MObility; see http://sumo.sourceforge.net/
11 // Copyright (C) 2001-2013 DLR (http://www.dlr.de/) and contributors
12 /****************************************************************************/
13 //
14 // This file is part of SUMO.
15 // SUMO is free software: you can redistribute it and/or modify
16 // it under the terms of the GNU General Public License as published by
17 // the Free Software Foundation, either version 3 of the License, or
18 // (at your option) any later version.
19 //
20 /****************************************************************************/
21 #ifndef TraCIServerAPI_Edge_h
22 #define TraCIServerAPI_Edge_h
23 
24 // ===========================================================================
25 // included modules
26 // ===========================================================================
27 #ifdef _MSC_VER
28 #include <windows_config.h>
29 #else
30 #include <config.h>
31 #endif
32 
33 #ifndef NO_TRACI
34 
35 #include "TraCIException.h"
36 #include "TraCIServer.h"
37 #include <foreign/tcpip/storage.h>
38 
39 
40 // ===========================================================================
41 // class definitions
42 // ===========================================================================
48 public:
55  static bool processGet(traci::TraCIServer& server, tcpip::Storage& inputStorage,
56  tcpip::Storage& outputStorage);
57 
58 
65  static bool processSet(traci::TraCIServer& server, tcpip::Storage& inputStorage,
66  tcpip::Storage& outputStorage);
67 
68 
74  static bool getShape(const std::string& id, PositionVector& shape);
75 
76 
80  static TraCIRTree* getTree();
81 
82 
83 private:
86 
89 
90 
91 };
92 
93 
94 #endif
95 
96 #endif
97 
98 /****************************************************************************/
99