WSF
WsfPassiveDetector Class Reference

#include <WsfPassiveDetector.hpp>

Public Types

enum  SignalType { cST_CONTINUOUS , cST_PULSED }
typedef std::vector< std::pair< double, double > > SensitivityThresholdList
 Type definition for the frequency dependent detection sensitivities / thresholds.
typedef std::map< SignalType, SensitivityThresholdListSignalTypeToSensThreshTable
 Type definition of the mapping of the PassiveSignalType enumeration to the Sensitivity / Threshold.

Public Member Functions

bool Initialize ()
bool ProcessInput (UtInput &aInput)
void ComputeDetectability (WsfSensorResult &aResult)
 Determines if the signal level from the current detection chance can be detected.
bool SetDetectionSensitivity (SignalType aSignalType, double aFrequency, double aSensitivity)
bool SetDetectionThreshold (SignalType aSignalType, double aFrequency, double aThreshold)

External Services access.

These methods support the External Services and are not part of the WSF public interface.

size_t GetDetectionThresholdCount (SignalType aSignalType) const
void GetDetectionThresholdEntry (SignalType aSignalType, size_t aIndex, double &aFrequency, double &aThreshold) const
size_t GetDetectionSensitivityCount (SignalType aSignalType) const
void GetDetectionSensitivityEntry (SignalType aSignalType, size_t aIndex, double &aFrequency, double &aSensitivity) const

Detailed Description

The detector for a passive type sensor.

The fundamental purpose for this class is to take the signal from the current detection chance and determine the probability of detecting it.

Member Typedef Documentation

◆ SensitivityThresholdList

typedef std::vector<std::pair<double, double> > WsfPassiveDetector::SensitivityThresholdList

Type definition for the frequency dependent detection sensitivities / thresholds.

◆ SignalTypeToSensThreshTable

Type definition of the mapping of the PassiveSignalType enumeration to the Sensitivity / Threshold.

Member Enumeration Documentation

◆ SignalType

Enumerator
cST_CONTINUOUS 
cST_PULSED 

Member Function Documentation

◆ ComputeDetectability()

◆ GetDetectionSensitivityCount()

size_t WsfPassiveDetector::GetDetectionSensitivityCount ( SignalType aSignalType) const

Gets the count of frequency-sensitivity entries.

Parameters
aSignalTypeType of signal (continuous (cST_CONTINUOUS) or pulsed (cST_PULSED)).
Returns
the count of frequency-threshold entries.

◆ GetDetectionSensitivityEntry()

void WsfPassiveDetector::GetDetectionSensitivityEntry ( SignalType aSignalType,
size_t aIndex,
double & aFrequency,
double & aSensitivity ) const

Gets the data in a frequency-sensitivity entry.

Parameters
aSignalTypeType of signal (continuous (cST_CONTINUOUS) or pulsed (cST_PULSED)).
aIndexThe index of the entry.
aFrequencyThe frequency in the entry.
aSensitivityThe sensitivity value in the entry.

◆ GetDetectionThresholdCount()

size_t WsfPassiveDetector::GetDetectionThresholdCount ( SignalType aSignalType) const

Gets the count of frequency-threshold entries.

Parameters
aSignalTypeType of signal (continuous (cST_CONTINUOUS) or pulsed (cST_PULSED)).
Returns
the count of frequency-threshold entries.

◆ GetDetectionThresholdEntry()

void WsfPassiveDetector::GetDetectionThresholdEntry ( SignalType aSignalType,
size_t aIndex,
double & aFrequency,
double & aThreshold ) const

Gets the data in a frequency-threshold entry.

Parameters
aSignalTypeType of signal (continuous (cST_CONTINUOUS) or pulsed (cST_PULSED)).
aIndexThe index of the entry.
aFrequencyThe frequency in the entry.
aThresholdThe threshold value in the entry.

◆ Initialize()

bool WsfPassiveDetector::Initialize ( )

◆ ProcessInput()

bool WsfPassiveDetector::ProcessInput ( UtInput & aInput)

◆ SetDetectionSensitivity()

bool WsfPassiveDetector::SetDetectionSensitivity ( SignalType aSignalType,
double aFrequency,
double aSensitivity )

Clear current list of detection threshold and add the detection sensitivity to the list with the associated lower frequency bound.

Parameters
aSignalTypeType of signal (continuous (cST_CONTINUOUS) or pulsed (cST_PULSED)).
aFrequencyThe lower frequency bound of the sensitivity value.
aSensitivityThe detection sensitivity to set.
Returns
True if the insert was successful, False if the input frequency was previously defined.

Referenced by ProcessInput().

◆ SetDetectionThreshold()

bool WsfPassiveDetector::SetDetectionThreshold ( SignalType aSignalType,
double aFrequency,
double aThreshold )

Clear current list of detection sensitivities and add the detection threshold to the list with the associated lower frequency bound.

Parameters
aSignalTypeType of signal (continuous (cST_CONTINUOUS) or pulsed (cST_PULSED)).
aFrequencyThe lower frequency bound of the threshold value.
aThresholdThe detection threshold to set.
Returns
True if the insert was successful, False if the input frequency was previously defined.

Referenced by Initialize(), and ProcessInput().


The documentation for this class was generated from the following files:
Copyrights Multiple, All Rights Reserved