#include <NLDetectorBuilder.h>
Definition at line 486 of file NLDetectorBuilder.h.
Public Member Functions | |
| E3DetectorDefinition (const std::string &id, OutputDevice &device, MetersPerSecond haltingSpeedThreshold, SUMOTime haltingTimeThreshold, int splInterval) throw () | |
| Constructor. | |
| ~E3DetectorDefinition () throw () | |
| Destructor. | |
Data Fields | |
| OutputDevice & | myDevice |
| The device the detector shall use. | |
| CrossSectionVector | myEntries |
| List of detector's entries. | |
| CrossSectionVector | myExits |
| List of detector's exits. | |
| MetersPerSecond | myHaltingSpeedThreshold |
| The speed a vehicle's speed must be below to be assigned as jammed. | |
| SUMOTime | myHaltingTimeThreshold |
| The time a vehicle's speed must be below haltingSpeedThreshold to be assigned as jammed. | |
| std::string | myID |
| The id of the detector. | |
| int | mySampleInterval |
| The aggregation interval. | |
Private Member Functions | |
| E3DetectorDefinition (const E3DetectorDefinition &) | |
| Invalidated copy constructor. | |
| E3DetectorDefinition & | operator= (const E3DetectorDefinition &) |
| Invalidated assignment operator. | |
| NLDetectorBuilder::E3DetectorDefinition::E3DetectorDefinition | ( | const std::string & | id, | |
| OutputDevice & | device, | |||
| MetersPerSecond | haltingSpeedThreshold, | |||
| SUMOTime | haltingTimeThreshold, | |||
| int | splInterval | |||
| ) | throw () |
Constructor.
| [in] | id | The id the detector shall have |
| [in] | device | The output device the detector shall write into |
| [in] | haltingSpeedThreshold | Detector parameter: the speed a vehicle's speed must be below to be assigned as jammed |
| [in] | haltingTimeThreshold | Detector parameter: the time a vehicle's speed must be below haltingSpeedThreshold to be assigned as jammed |
| [in] | splInterval | The aggregation time span the detector shall use |
Definition at line 72 of file NLDetectorBuilder.cpp.
00075 : myID(id), myDevice(device), 00076 myHaltingSpeedThreshold(haltingSpeedThreshold), 00077 myHaltingTimeThreshold(haltingTimeThreshold), 00078 mySampleInterval(splInterval) {}
| NLDetectorBuilder::E3DetectorDefinition::~E3DetectorDefinition | ( | ) | throw () |
| NLDetectorBuilder::E3DetectorDefinition::E3DetectorDefinition | ( | const E3DetectorDefinition & | ) | [private] |
Invalidated copy constructor.
| E3DetectorDefinition& NLDetectorBuilder::E3DetectorDefinition::operator= | ( | const E3DetectorDefinition & | ) | [private] |
Invalidated assignment operator.
The device the detector shall use.
Definition at line 505 of file NLDetectorBuilder.h.
Referenced by NLDetectorBuilder::endE3Detector().
List of detector's entries.
Definition at line 511 of file NLDetectorBuilder.h.
Referenced by NLDetectorBuilder::addE3Entry(), and NLDetectorBuilder::endE3Detector().
List of detector's exits.
Definition at line 513 of file NLDetectorBuilder.h.
Referenced by NLDetectorBuilder::addE3Exit(), and NLDetectorBuilder::endE3Detector().
The speed a vehicle's speed must be below to be assigned as jammed.
Definition at line 507 of file NLDetectorBuilder.h.
Referenced by NLDetectorBuilder::endE3Detector().
The time a vehicle's speed must be below haltingSpeedThreshold to be assigned as jammed.
Definition at line 509 of file NLDetectorBuilder.h.
Referenced by NLDetectorBuilder::endE3Detector().
| std::string NLDetectorBuilder::E3DetectorDefinition::myID |
The id of the detector.
Definition at line 503 of file NLDetectorBuilder.h.
Referenced by NLDetectorBuilder::addE3Entry(), NLDetectorBuilder::addE3Exit(), NLDetectorBuilder::endE3Detector(), and NLDetectorBuilder::getCurrentE3ID().
The aggregation interval.
Definition at line 515 of file NLDetectorBuilder.h.
Referenced by NLDetectorBuilder::endE3Detector().
1.5.6