SUMO - Simulation of Urban MObility
TraCI_Simulation.h
Go to the documentation of this file.
1 /****************************************************************************/
2 // Eclipse SUMO, Simulation of Urban MObility; see https://eclipse.org/sumo
3 // Copyright (C) 2012-2017 German Aerospace Center (DLR) and others.
4 /****************************************************************************/
5 //
6 // This program and the accompanying materials
7 // are made available under the terms of the Eclipse Public License v2.0
8 // which accompanies this distribution, and is available at
9 // http://www.eclipse.org/legal/epl-v20.html
10 //
11 /****************************************************************************/
17 // C++ TraCI client API implementation
18 /****************************************************************************/
19 #ifndef TraCI_Simulation_h
20 #define TraCI_Simulation_h
21 
22 
23 // ===========================================================================
24 // included modules
25 // ===========================================================================
26 #ifdef _MSC_VER
27 #include <windows_config.h>
28 #else
29 #include <config.h>
30 #endif
31 
32 #include <vector>
33 #include <traci-server/TraCIDefs.h>
34 
35 // ===========================================================================
36 // class declarations
37 // ===========================================================================
38 
39 
40 // ===========================================================================
41 // class definitions
42 // ===========================================================================
48 public:
49  static SUMOTime getCurrentTime();
50 
51  static SUMOTime getDeltaT();
52 
54 
55  static int getMinExpectedNumber();
56 
57  static TraCIStage findRoute(const std::string& from, const std::string& to, const std::string& typeID, const SUMOTime depart, const int routingMode);
58 
59  static std::vector<TraCIStage> findIntermodalRoute(const std::string& from, const std::string& to, const std::string modes,
60  const SUMOTime depart, const int routingMode, const double speed, const double walkFactor,
61  const double departPos, const double arrivalPos, const double departPosLat,
62  const std::string& pType, const std::string& vehType);
63 
64  static std::string getParameter(const std::string& objectID, const std::string& key);
65 
66 private:
69 
72 
75 };
76 #endif
TraCI_Simulation & operator=(const TraCI_Simulation &src)
invalidated assignment operator
static SUMOTime getDeltaT()
static int getMinExpectedNumber()
TraCI_Simulation()
invalidated standard constructor
static std::vector< TraCIStage > findIntermodalRoute(const std::string &from, const std::string &to, const std::string modes, const SUMOTime depart, const int routingMode, const double speed, const double walkFactor, const double departPos, const double arrivalPos, const double departPosLat, const std::string &pType, const std::string &vehType)
static SUMOTime getCurrentTime()
C++ TraCI client API implementation.
A 3D-bounding box.
Definition: TraCIDefs.h:89
static TraCIStage findRoute(const std::string &from, const std::string &to, const std::string &typeID, const SUMOTime depart, const int routingMode)
long long int SUMOTime
Definition: TraCIDefs.h:51
static std::string getParameter(const std::string &objectID, const std::string &key)
static TraCIBoundary getNetBoundary()