GUIDetectorBuilder.h
Go to the documentation of this file.00001
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019 #ifndef GUIDetectorBuilder_h
00020 #define GUIDetectorBuilder_h
00021
00022
00023
00024
00025
00026 #ifdef _MSC_VER
00027 #include <windows_config.h>
00028 #else
00029 #include <config.h>
00030 #endif
00031
00032 #include <string>
00033 #include <utils/common/PhysicalTypeDefs.h>
00034 #include <microsim/MSNet.h>
00035 #include <netload/NLDetectorBuilder.h>
00036
00037
00038
00039
00040
00041 class MSDetectorControl;
00042
00043
00044
00045
00046
00056 class GUIDetectorBuilder : public NLDetectorBuilder {
00057 public:
00062 GUIDetectorBuilder(MSNet &net) throw();
00063
00064
00066 ~GUIDetectorBuilder() throw();
00067
00068
00073
00082 virtual MSInductLoop *createInductLoop(const std::string &id,
00083 MSLane *lane, SUMOReal pos) throw();
00084
00085
00086 #ifdef HAVE_MESOSIM
00087
00096 virtual MEInductLoop *createMEInductLoop(const std::string &id,
00097 MESegment *s, SUMOReal pos) throw();
00098 #endif
00099
00100
00113 virtual MSE2Collector *createSingleLaneE2Detector(const std::string &id,
00114 DetectorUsage usage, MSLane *lane, SUMOReal pos, SUMOReal length,
00115 SUMOTime haltingTimeThreshold,
00116 MetersPerSecond haltingSpeedThreshold,
00117 SUMOReal jamDistThreshold) throw();
00118
00119
00133 virtual MS_E2_ZS_CollectorOverLanes *createMultiLaneE2Detector(
00134 const std::string &id, DetectorUsage usage, MSLane *lane, SUMOReal pos,
00135 SUMOTime haltingTimeThreshold,
00136 MetersPerSecond haltingSpeedThreshold,
00137 SUMOReal jamDistThreshold) throw();
00138
00139
00150 virtual MSE3Collector *createE3Detector(const std::string &id,
00151 const CrossSectionVector &entries,
00152 const CrossSectionVector &exits,
00153 MetersPerSecond haltingSpeedThreshold,
00154 SUMOTime haltingTimeThreshold) throw();
00156
00157
00158 };
00159
00160
00161 #endif
00162
00163
00164