SUMO - Simulation of Urban MObility
TraCI_MultiEntryExit.h
Go to the documentation of this file.
1 /****************************************************************************/
7 // C++ TraCI client API implementation
8 /****************************************************************************/
9 // SUMO, Simulation of Urban MObility; see http://sumo.dlr.de/
10 // Copyright (C) 2017-2017 DLR (http://www.dlr.de/) and contributors
11 /****************************************************************************/
12 //
13 // This file is part of SUMO.
14 // SUMO is free software: you can redistribute it and/or modify
15 // it under the terms of the GNU General Public License as published by
16 // the Free Software Foundation, either version 3 of the License, or
17 // (at your option) any later version.
18 //
19 /****************************************************************************/
20 #ifndef TraCI_MultiEntryExit_h
21 #define TraCI_MultiEntryExit_h
22 
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 #include <vector>
34 
35 
36 // ===========================================================================
37 // class declarations
38 // ===========================================================================
39 class MSE2Collector;
40 
41 
42 // ===========================================================================
43 // class definitions
44 // ===========================================================================
50 public:
51  static std::vector<std::string> getIDList();
52  static int getIDCount();
53  static int getLastStepVehicleNumber(const std::string& detID);
54  static double getLastStepMeanSpeed(const std::string& detID);
55  static std::vector<std::string> getLastStepVehicleIDs(const std::string& detID);
56  static int getLastStepHaltingNumber(const std::string& detID);
57 
58 private:
59  static MSE3Collector* getDetector(const std::string& detID);
60 
63 
66 
69 
70 };
71 
72 
73 #endif
74 
75 /****************************************************************************/
76 
C++ TraCI client API implementation.
TraCI_MultiEntryExit & operator=(const TraCI_MultiEntryExit &src)
invalidated assignment operator
static std::vector< std::string > getIDList()
An areal detector corresponding to a sequence of consecutive lanes.
Definition: MSE2Collector.h:87
static MSE3Collector * getDetector(const std::string &detID)
static std::vector< std::string > getLastStepVehicleIDs(const std::string &detID)
static int getLastStepVehicleNumber(const std::string &detID)
static int getLastStepHaltingNumber(const std::string &detID)
static int getIDCount()
TraCI_MultiEntryExit()
invalidated standard constructor
A detector of vehicles passing an area between entry/exit points.
Definition: MSE3Collector.h:65
static double getLastStepMeanSpeed(const std::string &detID)