SUMO - Simulation of Urban MObility
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
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. More...
 
 ~E3DetectorDefinition ()
 Destructor. More...
 

Data Fields

OutputDevicemyDevice
 The device the detector shall use. More...
 
CrossSectionVector myEntries
 List of detector's entries. More...
 
CrossSectionVector myExits
 List of detector's exits. More...
 
SUMOReal 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...
 
std::string myID
 The id of the detector. More...
 
int mySampleInterval
 The aggregation interval. More...
 

Private Member Functions

 E3DetectorDefinition (const E3DetectorDefinition &)
 Invalidated copy constructor. More...
 
E3DetectorDefinitionoperator= (const E3DetectorDefinition &)
 Invalidated assignment operator. More...
 

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.

NLDetectorBuilder::E3DetectorDefinition::~E3DetectorDefinition ( )

Destructor.

Definition at line 86 of file NLDetectorBuilder.cpp.

NLDetectorBuilder::E3DetectorDefinition::E3DetectorDefinition ( const E3DetectorDefinition )
private

Invalidated copy constructor.

Member Function Documentation

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

Invalidated assignment operator.

Field Documentation

OutputDevice& NLDetectorBuilder::E3DetectorDefinition::myDevice

The device the detector shall use.

Definition at line 514 of file NLDetectorBuilder.h.

Referenced by NLDetectorBuilder::endE3Detector().

CrossSectionVector NLDetectorBuilder::E3DetectorDefinition::myEntries

List of detector's entries.

Definition at line 520 of file NLDetectorBuilder.h.

Referenced by NLDetectorBuilder::endE3Detector().

CrossSectionVector NLDetectorBuilder::E3DetectorDefinition::myExits

List of detector's exits.

Definition at line 522 of file NLDetectorBuilder.h.

Referenced by NLDetectorBuilder::endE3Detector().

SUMOReal NLDetectorBuilder::E3DetectorDefinition::myHaltingSpeedThreshold

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().

SUMOTime NLDetectorBuilder::E3DetectorDefinition::myHaltingTimeThreshold

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().

std::string NLDetectorBuilder::E3DetectorDefinition::myID

The id of the detector.

Definition at line 512 of file NLDetectorBuilder.h.

Referenced by NLDetectorBuilder::endE3Detector(), and NLDetectorBuilder::getCurrentE3ID().

int NLDetectorBuilder::E3DetectorDefinition::mySampleInterval

The aggregation interval.

Definition at line 524 of file NLDetectorBuilder.h.

Referenced by NLDetectorBuilder::endE3Detector().


The documentation for this class was generated from the following files: