|
WSF
|
#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, SensitivityThresholdList > | SignalTypeToSensThreshTable |
| 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 |
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.
| typedef std::vector<std::pair<double, double> > WsfPassiveDetector::SensitivityThresholdList |
Type definition for the frequency dependent detection sensitivities / thresholds.
| typedef std::map<SignalType, SensitivityThresholdList> WsfPassiveDetector::SignalTypeToSensThreshTable |
Type definition of the mapping of the PassiveSignalType enumeration to the Sensitivity / Threshold.
| void WsfPassiveDetector::ComputeDetectability | ( | WsfSensorResult & | aResult | ) |
Determines if the signal level from the current detection chance can be detected.
References cST_CONTINUOUS, cST_PULSED, WsfEM_XmtrRcvr::GetFrequency(), WsfEM_Rcvr::GetNoisePower(), WsfEM_Xmtr::GetPulseWidth(), WsfEM_Interaction::GetReceiver(), WsfEM_Interaction::GetTransmitter(), WsfEM_Interaction::mDetectionThreshold, WsfSensorResult::mPd, and WsfEM_Interaction::mSignalToNoise.
| size_t WsfPassiveDetector::GetDetectionSensitivityCount | ( | SignalType | aSignalType | ) | const |
Gets the count of frequency-sensitivity entries.
| aSignalType | Type of signal (continuous (cST_CONTINUOUS) or pulsed (cST_PULSED)). |
| void WsfPassiveDetector::GetDetectionSensitivityEntry | ( | SignalType | aSignalType, |
| size_t | aIndex, | ||
| double & | aFrequency, | ||
| double & | aSensitivity ) const |
Gets the data in a frequency-sensitivity entry.
| aSignalType | Type of signal (continuous (cST_CONTINUOUS) or pulsed (cST_PULSED)). |
| aIndex | The index of the entry. |
| aFrequency | The frequency in the entry. |
| aSensitivity | The sensitivity value in the entry. |
| size_t WsfPassiveDetector::GetDetectionThresholdCount | ( | SignalType | aSignalType | ) | const |
Gets the count of frequency-threshold entries.
| aSignalType | Type of signal (continuous (cST_CONTINUOUS) or pulsed (cST_PULSED)). |
| void WsfPassiveDetector::GetDetectionThresholdEntry | ( | SignalType | aSignalType, |
| size_t | aIndex, | ||
| double & | aFrequency, | ||
| double & | aThreshold ) const |
Gets the data in a frequency-threshold entry.
| aSignalType | Type of signal (continuous (cST_CONTINUOUS) or pulsed (cST_PULSED)). |
| aIndex | The index of the entry. |
| aFrequency | The frequency in the entry. |
| aThreshold | The threshold value in the entry. |
| bool WsfPassiveDetector::Initialize | ( | ) |
References cST_CONTINUOUS, cST_PULSED, ok, and SetDetectionThreshold().
| bool WsfPassiveDetector::ProcessInput | ( | UtInput & | aInput | ) |
References cST_CONTINUOUS, cST_PULSED, SetDetectionSensitivity(), and SetDetectionThreshold().
| 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.
| aSignalType | Type of signal (continuous (cST_CONTINUOUS) or pulsed (cST_PULSED)). |
| aFrequency | The lower frequency bound of the sensitivity value. |
| aSensitivity | The detection sensitivity to set. |
Referenced by ProcessInput().
| 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.
| aSignalType | Type of signal (continuous (cST_CONTINUOUS) or pulsed (cST_PULSED)). |
| aFrequency | The lower frequency bound of the threshold value. |
| aThreshold | The detection threshold to set. |
Referenced by Initialize(), and ProcessInput().