![]() |
Eclipse SUMO - Simulation of Urban MObility
|
Holds the incoming definitions of an e3 detector unless the detector is build. More...
#include <NLDetectorBuilder.h>
Public Member Functions | |
| E3DetectorDefinition (const std::string &id, const std::string &device, double haltingSpeedThreshold, SUMOTime haltingTimeThreshold, SUMOTime splInterval, const std::string &vTypes, bool openEntry) | |
| Constructor. More... | |
| ~E3DetectorDefinition () | |
| Destructor. More... | |
Data Fields | |
| const std::string | myDevice |
| The device the detector shall use. More... | |
| CrossSectionVector | myEntries |
| List of detector's entries. More... | |
| CrossSectionVector | myExits |
| List of detector's exits. More... | |
| double | myHaltingSpeedThreshold |
| The speed a vehicle's speed must be below to be assigned as jammed. More... | |
| SUMOTime | myHaltingTimeThreshold |
| The time a vehicle's speed must be below haltingSpeedThreshold to be assigned as jammed. More... | |
| const std::string | myID |
| The id of the detector. More... | |
| bool | myOpenEntry |
| Whether the detector is declared as having incomplete entry detectors. More... | |
| SUMOTime | mySampleInterval |
| The aggregation interval. More... | |
| const std::string | myVehicleTypes |
| The device the detector shall use. More... | |
Private Member Functions | |
| E3DetectorDefinition (const E3DetectorDefinition &) | |
| Invalidated copy constructor. More... | |
| E3DetectorDefinition & | operator= (const E3DetectorDefinition &) |
| Invalidated assignment operator. More... | |
Holds the incoming definitions of an e3 detector unless the detector is build.
Definition at line 373 of file NLDetectorBuilder.h.
| NLDetectorBuilder::E3DetectorDefinition::E3DetectorDefinition | ( | const std::string & | id, |
| const std::string & | device, | ||
| double | haltingSpeedThreshold, | ||
| SUMOTime | haltingTimeThreshold, | ||
| SUMOTime | splInterval, | ||
| const std::string & | vTypes, | ||
| bool | openEntry | ||
| ) |
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 65 of file NLDetectorBuilder.cpp.
| NLDetectorBuilder::E3DetectorDefinition::~E3DetectorDefinition | ( | ) |
Destructor.
Definition at line 78 of file NLDetectorBuilder.cpp.
|
private |
Invalidated copy constructor.
|
private |
Invalidated assignment operator.
| const std::string NLDetectorBuilder::E3DetectorDefinition::myDevice |
The device the detector shall use.
Definition at line 393 of file NLDetectorBuilder.h.
Referenced by NLDetectorBuilder::endE3Detector().
| CrossSectionVector NLDetectorBuilder::E3DetectorDefinition::myEntries |
List of detector's entries.
Definition at line 399 of file NLDetectorBuilder.h.
Referenced by NLDetectorBuilder::addE3Entry(), and NLDetectorBuilder::endE3Detector().
| CrossSectionVector NLDetectorBuilder::E3DetectorDefinition::myExits |
List of detector's exits.
Definition at line 401 of file NLDetectorBuilder.h.
Referenced by NLDetectorBuilder::addE3Exit(), and NLDetectorBuilder::endE3Detector().
| double NLDetectorBuilder::E3DetectorDefinition::myHaltingSpeedThreshold |
The speed a vehicle's speed must be below to be assigned as jammed.
Definition at line 395 of file NLDetectorBuilder.h.
Referenced by NLDetectorBuilder::endE3Detector().
| SUMOTime NLDetectorBuilder::E3DetectorDefinition::myHaltingTimeThreshold |
The time a vehicle's speed must be below haltingSpeedThreshold to be assigned as jammed.
Definition at line 397 of file NLDetectorBuilder.h.
Referenced by NLDetectorBuilder::endE3Detector().
| const std::string NLDetectorBuilder::E3DetectorDefinition::myID |
The id of the detector.
Definition at line 391 of file NLDetectorBuilder.h.
Referenced by NLDetectorBuilder::addE3Entry(), NLDetectorBuilder::addE3Exit(), NLDetectorBuilder::endE3Detector(), and NLDetectorBuilder::getCurrentE3ID().
| bool NLDetectorBuilder::E3DetectorDefinition::myOpenEntry |
Whether the detector is declared as having incomplete entry detectors.
Definition at line 407 of file NLDetectorBuilder.h.
Referenced by NLDetectorBuilder::endE3Detector().
| SUMOTime NLDetectorBuilder::E3DetectorDefinition::mySampleInterval |
The aggregation interval.
Definition at line 403 of file NLDetectorBuilder.h.
Referenced by NLDetectorBuilder::endE3Detector().
| const std::string NLDetectorBuilder::E3DetectorDefinition::myVehicleTypes |
The device the detector shall use.
Definition at line 405 of file NLDetectorBuilder.h.
Referenced by NLDetectorBuilder::endE3Detector().