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>

Collaboration diagram for NLDetectorBuilder::E3DetectorDefinition:
Collaboration graph

Public Member Functions

 E3DetectorDefinition (const std::string &id, const std::string &device, SUMOReal haltingSpeedThreshold, SUMOTime haltingTimeThreshold, SUMOTime splInterval, const std::string &vTypes)
 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...
 
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...
 
const std::string myID
 The id of the detector. 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...
 
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 492 of file NLDetectorBuilder.h.

Constructor & Destructor Documentation

§ E3DetectorDefinition() [1/2]

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

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.

§ ~E3DetectorDefinition()

NLDetectorBuilder::E3DetectorDefinition::~E3DetectorDefinition ( )

Destructor.

Definition at line 88 of file NLDetectorBuilder.cpp.

§ E3DetectorDefinition() [2/2]

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

Invalidated copy constructor.

Member Function Documentation

§ operator=()

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

Invalidated assignment operator.

Field Documentation

§ myDevice

const std::string NLDetectorBuilder::E3DetectorDefinition::myDevice

The device the detector shall use.

Definition at line 512 of file NLDetectorBuilder.h.

Referenced by NLDetectorBuilder::endE3Detector().

§ myEntries

CrossSectionVector NLDetectorBuilder::E3DetectorDefinition::myEntries

List of detector's entries.

Definition at line 518 of file NLDetectorBuilder.h.

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

§ myExits

CrossSectionVector NLDetectorBuilder::E3DetectorDefinition::myExits

List of detector's exits.

Definition at line 520 of file NLDetectorBuilder.h.

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

§ myHaltingSpeedThreshold

SUMOReal NLDetectorBuilder::E3DetectorDefinition::myHaltingSpeedThreshold

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

Definition at line 514 of file NLDetectorBuilder.h.

Referenced by NLDetectorBuilder::endE3Detector().

§ myHaltingTimeThreshold

SUMOTime NLDetectorBuilder::E3DetectorDefinition::myHaltingTimeThreshold

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

Definition at line 516 of file NLDetectorBuilder.h.

Referenced by NLDetectorBuilder::endE3Detector().

§ myID

const std::string NLDetectorBuilder::E3DetectorDefinition::myID

§ mySampleInterval

SUMOTime NLDetectorBuilder::E3DetectorDefinition::mySampleInterval

The aggregation interval.

Definition at line 522 of file NLDetectorBuilder.h.

Referenced by NLDetectorBuilder::endE3Detector().

§ myVehicleTypes

const std::string NLDetectorBuilder::E3DetectorDefinition::myVehicleTypes

The device the detector shall use.

Definition at line 524 of file NLDetectorBuilder.h.

Referenced by NLDetectorBuilder::endE3Detector().


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