52 MSLane* lane,
double pos,
const std::string& vTypes,
int detectPersons,
bool show) {
56 return new GUIInductLoop(
id, lane, pos, vTypes, detectPersons, show);
63 MSLane* lane,
double pos,
const std::string& od,
const std::string& vTypes) {
71 SUMOTime haltingTimeThreshold,
double haltingSpeedThreshold,
double jamDistThreshold,
72 const std::string& vTypes,
int detectPersons,
bool showDetector) {
73 return new GUIE2Collector(
id, usage, lane, pos, endPos, length, haltingTimeThreshold, haltingSpeedThreshold, jamDistThreshold, vTypes, detectPersons, showDetector);
78 DetectorUsage usage, std::vector<MSLane*> lanes,
double pos,
double endPos,
79 SUMOTime haltingTimeThreshold,
double haltingSpeedThreshold,
double jamDistThreshold,
80 const std::string& vTypes,
int detectPersons,
bool showDetector) {
81 return new GUIE2Collector(
id, usage, lanes, pos, endPos, haltingTimeThreshold, haltingSpeedThreshold, jamDistThreshold, vTypes, detectPersons, showDetector);
88 double haltingSpeedThreshold,
89 SUMOTime haltingTimeThreshold,
const std::string& vTypes,
int detectPersons,
bool openEntry) {
90 return new GUIE3Collector(
id, entries, exits, haltingSpeedThreshold, haltingTimeThreshold, vTypes, detectPersons, openEntry);
std::vector< MSCrossSection > CrossSectionVector
virtual MSDetectorFileOutput * createInstantInductLoop(const std::string &id, MSLane *lane, double pos, const std::string &od, const std::string &vTypes) override
Creates an instance of an e1 detector using the given values.
GUIDetectorBuilder(MSNet &net)
Constructor.
virtual MSDetectorFileOutput * createE3Detector(const std::string &id, const CrossSectionVector &entries, const CrossSectionVector &exits, double haltingSpeedThreshold, SUMOTime haltingTimeThreshold, const std::string &vTypes, int detectPersons, bool openEntry) override
Creates an instance of an e3 detector using the given values.
~GUIDetectorBuilder()
Destructor.
virtual MSDetectorFileOutput * createInductLoop(const std::string &id, MSLane *lane, double pos, const std::string &vTypes, int detectPersons, bool show=true) override
Creates an instance of an e1 detector using the given values.
virtual MSE2Collector * createE2Detector(const std::string &id, DetectorUsage usage, MSLane *lane, double pos, double endPos, double length, SUMOTime haltingTimeThreshold, double haltingSpeedThreshold, double jamDistThreshold, const std::string &vTypes, int detectPersons, bool showDetector) override
Creates a GUIE2Collector instance, overrides MSE2Collector::createE2Detector()
The gui-version of the MSE2Collector.
The gui-version of the MSE3Collector.
The gui-version of the MSInductLoop.
The gui-version of the MSInstantInductLoop.
Base of value-generating classes (detectors)
An areal detector corresponding to a sequence of consecutive lanes.
static MELoop * gMesoNet
mesoscopic simulation infrastructure
Representation of a lane in the micro simulation.
MSEdge & getEdge() const
Returns the lane's edge.
The simulated network and simulation perfomer.
Builds detectors for microsim.
static OutputDevice & getDevice(const std::string &name)
Returns the described OutputDevice.