|
WSF
|
An internal class used to keep track of interacting transmitters and receivers. More...
#include <WsfPassiveSensor.hpp>

Public Types | |
| enum | { cDS_NOT_ATTEMPTED = 0 , cDS_DETECTED = 1 , cDS_FAILED_GEOMETRY = 2 , cDS_FAILED_SIGNAL = 3 } |
Public Member Functions | |
| Interactor ()=delete | |
| Interactor (WsfEM_Xmtr *aXmtrPtr, PassiveRcvr *aRcvrPtr, bool aUseListener, bool aUseChangeListener) | |
Public Attributes | |
| WsfEM_Xmtr * | mXmtrPtr = nullptr |
| Pointer to the transmitter. | |
| PassiveRcvr * | mRcvrPtr = nullptr |
| Pointer to the receiver. | |
| WsfSensorResult * | mResultPtr = nullptr |
| double | mLastAttemptTime = 0.0 |
| The time when the last listening detection was attempted (successful or unsuccessful). | |
| double | mPSOS_CumulativePd = 0.0 |
| The cumulative Pd accumulated over multiple detection chances (for PSOS). | |
| unsigned char | mDetectStatus = cDS_NOT_ATTEMPTED |
| bool | mUseListener = false |
| 'true' if the listening detection method should be used (vs. polling) | |
| bool | mUseChangeListener = false |
| 'true' if target signal updates are to be listened for and updated (vs. polling). | |
An internal class used to keep track of interacting transmitters and receivers.
| anonymous enum |
Detection status for the listener detection method. This is set to cDS_NO_ATTEMPT at the start of each frame and then updated asynchronously during the frame by the listener detection method.
|
delete |
References Interactor().
Referenced by Interactor().
| WsfPassiveSensor::Interactor::Interactor | ( | WsfEM_Xmtr * | aXmtrPtr, |
| PassiveRcvr * | aRcvrPtr, | ||
| bool | aUseListener, | ||
| bool | aUseChangeListener ) |
References cDS_NOT_ATTEMPTED, mDetectStatus, mLastAttemptTime, mPSOS_CumulativePd, mRcvrPtr, mResultPtr, mUseChangeListener, mUseListener, and mXmtrPtr.
| unsigned char WsfPassiveSensor::Interactor::mDetectStatus = cDS_NOT_ATTEMPTED |
The detection status during the current frame. This is kept as an unsigned char rather than a enum because enums are 4 bytes on many machines, and this class can be instantiated A LOT.
Referenced by WsfPassiveSensor::PassiveMode::AttemptToDetect(), WsfPassiveSensor::PassiveMode::EmitterActiveCallback(), and Interactor().
| double WsfPassiveSensor::Interactor::mLastAttemptTime = 0.0 |
The time when the last listening detection was attempted (successful or unsuccessful).
Referenced by WsfPassiveSensor::PassiveMode::AttemptToDetect(), WsfPassiveSensor::PassiveMode::EmitterActiveCallback(), and Interactor().
| double WsfPassiveSensor::Interactor::mPSOS_CumulativePd = 0.0 |
The cumulative Pd accumulated over multiple detection chances (for PSOS).
Referenced by WsfPassiveSensor::PassiveBeam::ComputePSOS_Effects(), Interactor(), and WsfPassiveSensor::PassiveBeam::ProcessFailedPSOS_Detection().
| PassiveRcvr* WsfPassiveSensor::Interactor::mRcvrPtr = nullptr |
Pointer to the receiver.
Referenced by WsfPassiveSensor::PassiveMode::AttemptToDetect(), and Interactor().
| WsfSensorResult* WsfPassiveSensor::Interactor::mResultPtr = nullptr |
The pointer to the result from listening method of detection. (0 if a using polling or a listening method of detection is not being used.)
Referenced by WsfPassiveSensor::PassiveMode::AttemptToDetect(), WsfPassiveSensor::PassiveMode::EmitterActiveCallback(), and Interactor().
| bool WsfPassiveSensor::Interactor::mUseChangeListener = false |
'true' if target signal updates are to be listened for and updated (vs. polling).
Referenced by Interactor().
| bool WsfPassiveSensor::Interactor::mUseListener = false |
'true' if the listening detection method should be used (vs. polling)
Referenced by WsfPassiveSensor::PassiveBeam::AttemptToDetect(), WsfPassiveSensor::PassiveMode::AttemptToDetect(), and Interactor().
| WsfEM_Xmtr* WsfPassiveSensor::Interactor::mXmtrPtr = nullptr |
Pointer to the transmitter.
Referenced by WsfPassiveSensor::PassiveMode::AttemptToDetect(), and Interactor().