47 #include <mesogui/GUIMEInductLoop.h> 48 #include <mesosim/MELoop.h> 51 #ifdef CHECK_MEMORY_LEAKS 53 #endif // CHECK_MEMORY_LEAKS 72 return new GUIMEInductLoop(
id, MSGlobals::gMesoNet->getSegmentForEdge(lane->
getEdge(), pos), pos);
95 return new GUI_E2_ZS_Collector(
id, usage, lane, pos, length, haltingTimeThreshold, haltingSpeedThreshold, jamDistThreshold);
115 return new GUIE3Collector(
id, entries, exits, haltingSpeedThreshold, haltingTimeThreshold);
The gui-version of the MSE3Collector.
MSEdge & getEdge() const
Returns the lane's edge.
Builds detectors for microsim.
virtual MSDetectorFileOutput * createInstantInductLoop(const std::string &id, MSLane *lane, SUMOReal pos, const std::string &od)
Creates an instance of an e1 detector using the given values.
The gui-version of a MS_E2_ZS_CollectorOverLanes.
GUIDetectorBuilder(MSNet &net)
Constructor.
std::vector< MSCrossSection > CrossSectionVector
virtual MSDetectorFileOutput * createInductLoop(const std::string &id, MSLane *lane, SUMOReal pos, bool splitByType, bool show=true)
Creates an instance of an e1 detector using the given values.
virtual MSDetectorFileOutput * createSingleLaneE2Detector(const std::string &id, DetectorUsage usage, MSLane *lane, SUMOReal pos, SUMOReal length, SUMOTime haltingTimeThreshold, SUMOReal haltingSpeedThreshold, SUMOReal jamDistThreshold)
Creates an instance of an e2-detector (areal detector) using the given values.
The simulated network and simulation perfomer.
virtual MSDetectorFileOutput * createE3Detector(const std::string &id, const CrossSectionVector &entries, const CrossSectionVector &exits, SUMOReal haltingSpeedThreshold, SUMOTime haltingTimeThreshold)
Creates an instance of an e3 detector using the given values.
The gui-version of the MSInductLoop.
~GUIDetectorBuilder()
Destructor.
virtual MSDetectorFileOutput * createMultiLaneE2Detector(const std::string &id, DetectorUsage usage, MSLane *lane, SUMOReal pos, SUMOTime haltingTimeThreshold, SUMOReal haltingSpeedThreshold, SUMOReal jamDistThreshold)
Creates an instance of an e2ol-detector using the given values.
The gui-version of the MSInstantInductLoop.
static OutputDevice & getDevice(const std::string &name)
Returns the described OutputDevice.
The gui-version of the MS_E2_ZS_Collector.
static const bool gUseMesoSim
Representation of a lane in the micro simulation.
Base of value-generating classes (detectors)
virtual MSDetectorFileOutput * createInductLoop(const std::string &id, MSLane *lane, SUMOReal pos, bool splitByType, bool show=true)
Creates an instance of an e1 detector using the given values.