SUMO - Simulation of Urban MObility
NLDetectorBuilder::E3DetectorDefinition Class Reference

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, OutputDevice &device, SUMOReal haltingSpeedThreshold, SUMOTime haltingTimeThreshold, int splInterval)
 Constructor.
 ~E3DetectorDefinition ()
 Destructor.

Data Fields

OutputDevicemyDevice
 The device the detector shall use.
CrossSectionVector myEntries
 List of detector's entries.
CrossSectionVector myExits
 List of detector's exits.
SUMOReal 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.
E3DetectorDefinitionoperator= (const E3DetectorDefinition &)
 Invalidated assignment operator.

Detailed Description

Holds the incoming definitions of an e3 detector unless the detector is build.

Definition at line 495 of file NLDetectorBuilder.h.


Constructor & Destructor Documentation

NLDetectorBuilder::E3DetectorDefinition::E3DetectorDefinition ( const std::string &  id,
OutputDevice device,
SUMOReal  haltingSpeedThreshold,
SUMOTime  haltingTimeThreshold,
int  splInterval 
)

Constructor.

Parameters:
[in]idThe id the detector shall have
[in]deviceThe output device the detector shall write into
[in]haltingSpeedThresholdDetector parameter: the speed a vehicle's speed must be below to be assigned as jammed
[in]haltingTimeThresholdDetector parameter: the time a vehicle's speed must be below haltingSpeedThreshold to be assigned as jammed
[in]splIntervalThe aggregation time span the detector shall use

Definition at line 77 of file NLDetectorBuilder.cpp.

Invalidated copy constructor.


Member Function Documentation

E3DetectorDefinition& NLDetectorBuilder::E3DetectorDefinition::operator= ( const E3DetectorDefinition ) [private]

Invalidated assignment operator.


Field Documentation

The device the detector shall use.

Definition at line 514 of file NLDetectorBuilder.h.

Referenced by NLDetectorBuilder::endE3Detector().

The speed a vehicle's speed must be below to be assigned as jammed.

Definition at line 516 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 518 of file NLDetectorBuilder.h.

Referenced by NLDetectorBuilder::endE3Detector().


The documentation for this class was generated from the following files:
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Friends Defines