WSF
WsfEW_TrackEffect Class Reference

WsfEW_TrackEffect models and applies track/tracking effects (tracking errors, track drops) to tracks of radars. More...

#include <WsfEW_TrackEffect.hpp>

Inheritance diagram for WsfEW_TrackEffect:
Collaboration diagram for WsfEW_TrackEffect:

Classes

class  TrackEffectData

Public Member Functions

 WsfEW_TrackEffect ()
WsfEW_TrackEffectoperator= (const WsfEW_TrackEffect &)=delete
 ~WsfEW_TrackEffect () override=default
WsfEW_EffectClone () const override
bool Initialize (WsfSimulation &aSimulation) override
bool ProcessInput (UtInput &aInput) override
void ApplyUnmitigatedEffect (WsfEW_Effects &aEW_Effects) const override
void ApplyMitigatedEffect (WsfEW_Effect *aEW_EffectPtr, WsfEW_Effects &aEW_Effects) const override
void UpdateEffects (double aSimTime, const WsfEM_Interaction &aTargetInteraction, const WsfEM_Interaction &aJammerToTgtInteraction, const ut::optional< WsfEM_Interaction > &aTgtToJammerInteraction, WsfEW_Effects &aEW_Effects, WsfEW_Effect *aEW_EffectPtr=nullptr) override
void UpdateJammerPulseDensity (WsfEM_Xmtr *aJammerXmtrPtr, WsfEM_Xmtr *aRadarXmtrPtr) override
Public Member Functions inherited from WsfEW_PulseEffect
 WsfEW_PulseEffect ()
WsfEW_PulseEffectoperator= (const WsfEW_PulseEffect &)=delete
 ~WsfEW_PulseEffect () override=default
void SetPulseDensityFactor (double aPulseDensityFactor)
void SetJammingPulseDensity (double aJammingPulseDensity)
double GetJammingPulseDensity () const override
double GetJammingPulseDensity (WsfEM_Xmtr *aXmtrPtr) const override
double GetJammerPulseDensity (WsfStringId aSystemTypeId) const
virtual void SetJammerPulseDensity (WsfStringId aSystemTypeId, double aJammerPulseDensity, bool aIsExplicit=false)
bool ExplicitJPD (WsfStringId aSystemTypeId)
Public Member Functions inherited from WsfEW_PowerEffect
 WsfEW_PowerEffect ()
WsfEW_PowerEffectoperator= (const WsfEW_PowerEffect &)=delete
 ~WsfEW_PowerEffect () override=default
double GetJammingPowerGain (WsfStringId aSystemTypeId) const
void SetJammingPowerGain (WsfStringId aSystemTypeId, double aJammingPowerGain)
double GetModulationGain (WsfStringId aSystemTypeId) const
void SetModulationGain (WsfStringId aSystemTypeId, double aModulaitonGain)
double GetSignalPowerGain (WsfStringId aSystemTypeId) const
void SetSignalPowerGain (WsfStringId aSystemTypeId, double aSignalPowerGain)
double GetRcvrNoiseGain (WsfStringId aSystemTypeId) const
void SetRcvrNoiseGain (WsfStringId aSystemTypeId, double aRcvrNoiseGain)
double GetJtoSGain (WsfStringId aSystemTypeId, Coherency aCoherencyType=cEC_NONE) const
size_t GetJtoSTableSize (WsfStringId aSystemTypeId) const
Public Member Functions inherited from WsfEW_RepeaterEffect
 WsfEW_RepeaterEffect ()
WsfEW_RepeaterEffectoperator= (const WsfEW_RepeaterEffect &)=delete
 ~WsfEW_RepeaterEffect () override=default
ControlMethod GetControlMethod (WsfStringId aSystemTypeId) const
void SetControlMethod (WsfStringId aSystemTypeId, ControlMethod aControlMethod)
double GetMinimumGainFactor (WsfStringId aSystemTypeId) const
double GetMaximumGainFactor (WsfStringId aSystemTypeId) const
void SetGainFactors (WsfStringId aSystemTypeId, double aMinimumGainFactor, double aMaximumGainFactor)
int GetGainControlTypeMask (WsfStringId aSystemTypeId) const
double GetDesiredJtoN (WsfStringId aSystemTypeId) const
void SetDesiredJtoN (WsfStringId aSystemTypeId, double aDesiredJtoN)
double GetDesiredJtoS (WsfStringId aSystemTypeId) const
void SetDesiredJtoS (WsfStringId aSystemTypeId, double aDesiredJtoS)
double GetDesiredFT_RCS (WsfStringId aSystemTypeId) const
void SetDesiredFT_RCS (WsfStringId aSystemTypeId, double aDesiredFT_MaskingRCS)
double GetMinDetectFactor (WsfStringId aSystemTypeId) const
void SetMinDetectFactor (WsfStringId aSystemTypeId, double aMinDetectFactor)
double GetMaskingFactor (WsfStringId aSystemTypeId) const
void SetMaskingFactor (WsfStringId aSystemTypeId, double aMaskingFactor)
Public Member Functions inherited from WsfEW_RadiusEffect
 WsfEW_RadiusEffect ()
WsfEW_RadiusEffectoperator= (const WsfEW_RadiusEffect &)=delete
 ~WsfEW_RadiusEffect () override=default
int GetRadiusLimitMask (WsfStringId aSystemTypeId) const
double GetRadiusFactor (WsfStringId aSystemTypeId) const
double GetRadiusFactor (WsfStringId aSystemTypeId, RadiusLimitType aJRL_Type) const
Public Member Functions inherited from WsfEW_Effect
 WsfEW_Effect ()=default
WsfEW_Effectoperator= (const WsfEW_Effect &)=delete
 ~WsfEW_Effect () override
virtual void ProcessUnmitigatedEffect (double aSimTime, const WsfEM_Interaction &aTargetInteraction, const WsfEM_Interaction &aJammerToTgtInteraction, const ut::optional< WsfEM_Interaction > &aTgtToJammerInteraction, WsfEW_Effects &aEW_Effects)
virtual void ProcessMitigatedEffect (double aSimTime, const WsfEM_Interaction &aTargetInteraction, const WsfEM_Interaction &aJammerToTgtInteraction, const ut::optional< WsfEM_Interaction > &aTgtToJammerInteraction, WsfEW_Effects &aEW_Effects, WsfEW_Effect *aEW_EffectPtr=nullptr)
virtual void RemoveJammerXmtr (unsigned int aXmtrId)
virtual void RemoveJammerXmtr (WsfEM_Xmtr *aJammerXmtrPtr)
void SetSystemFunctionMask (SystemFunction aSystemFunction)
 Set the system type.
void SetSystemFunctionMask (const std::string &aSystemFunctionId)
void AddSystemFunctionMask (SystemFunction aSystemFunction)
 Set the system type.
void AddSystemFunctionMask (const std::string &aSystemFunctionId)
unsigned int GetSystemFunctionMask () const
void SetCoherencyMask (Coherency aCoherency)
void AddCoherencyMask (Coherency aCoherency)
unsigned int GetCoherencyMask () const
void SetBehavior (Behavior aBehavior)
Behavior GetBehavior () const
void SetDebug (bool aDebug)
bool DebugEnabled () const
void SetEA_EP_Ptr (WsfEW_EA_EP *aPtr)
WsfEW_EA_EPGetEA_EP_Ptr () const
WsfEW_EAGetEA_Ptr () const
WsfEW_EPGetEP_Ptr () const
WsfEW_TechniqueGetTechniquePtr () const
void SetTechniquePtr (WsfEW_Technique *aPtr)
virtual bool AllowTarget (WsfPlatform *aXmtrPlatform, WsfPlatform *aTargetPlatform) const
virtual void UpdateCurrentIds (WsfEM_Rcvr *aRcvrPtr, WsfEM_Xmtr *aXmtrPtr, WsfPlatform *aTargetPtr)
WsfSimulationGetSimulation () const
ut::Random & GetRandom ()
Public Member Functions inherited from WsfObject
 WsfObject ()
 This is the constructor for the WsfObject class.
 ~WsfObject () override
 This is the destructor for the WsfObject class.
const char * GetScriptClassName () const override
const std::string & GetType () const
WsfStringId GetTypeId () const
 Get the string ID of the 'type' of the object.
void SetType (WsfStringId aType)
const std::string & GetBaseType () const
WsfStringId GetBaseTypeId () const
const TypeListGetTypeList () const
bool IsA_TypeOf (WsfStringId aType) const
WsfObjectoperator= (const WsfObject &aRhs)
 Assignment operator.
template<typename T>
void Serialize (T &aBuff)
 For XIO (de)serialization.
const std::string & GetName () const
WsfStringId GetNameId () const
void SetName (WsfStringId aName)

Protected Member Functions

 WsfEW_TrackEffect (const WsfEW_TrackEffect &aSrc)
 WsfEW_PulseEffect (const WsfEW_PulseEffect &aSrc)
 WsfEW_PowerEffect (const WsfEW_PowerEffect &aSrc)
 WsfEW_RepeaterEffect (const WsfEW_RepeaterEffect &aSrc)
double GetRepeaterFactor ()
 Get the current repeater factor for last call to UpdateEffects(...) or UpdateRepeaterFactor(...).
void UpdateGainFactors (const WsfEM_Interaction &aTargetInteraction, const WsfEM_Interaction &aJammerToTgtInteraction, const ut::optional< WsfEM_Interaction > &aTgtToJammerInteraction, double aCurrentGains[])
 WsfEW_RadiusEffect (const WsfEW_RadiusEffect &aSrc)
bool ProcessEffectDataBlock (UtInputBlock &aInputBlock, WsfStringId aSystemTypeId)
virtual EffectDataGetEffectData (WsfStringId aSystemTypeId)
void ResetEffectData (WsfStringId aSystemTypeId)
bool EffectDataExists (WsfStringId aSystemTypeId) const
void InsertNewEffectData (WsfStringId aSystemTypeId, WsfEW_Types::EW_EffectData *aEffectPtr)
 WsfEW_Effect (const WsfEW_Effect &aSrc)
virtual void PrintUpdateMessage (ut::log::MessageStream &aStream, double aSimTime, WsfEW_Effect *aEW_EffectPtr=nullptr)
void ResetProtectionTypeFlag (WsfEM_Xmtr *aXmtrPtr, const WsfEM_Interaction &aTargetInteraction, WsfEW_Effects &aEW_Effects)
 WsfObject (const WsfObject &aSrc)
 Copy constructor (for Clone()).

Effect Data methods.

double GetLastUpdateTime (WsfStringId aSystemTypeId) const
void SetLastUpdateTime (WsfStringId aSystemTypeId, double aLastUpdateTime)
double GetRequiredJtoS (WsfStringId aSystemTypeId) const
double GetPreviousJtoS (WsfStringId aSystemTypeId) const
void SetPreviousJtoS (WsfStringId aSystemTypeId, double aPreviousJtoS)
double GetRequiredStoN (WsfStringId aSystemTypeId) const
void SetRequiredStoN (WsfStringId aSystemTypeId, double aRequiredStoN)
double GetPreviousStoN (WsfStringId aSystemTypeId) const
void SetPreviousStoN (WsfStringId aSystemTypeId, double aPreviousStoN)
double GetRangeError (WsfStringId aSystemTypeId) const
void SetRangeError (WsfStringId aSystemTypeId, double aRange)
double GetRangeWalkoffRate (WsfStringId aSystemTypeId) const
void SetRangeWalkoffRate (WsfStringId aSystemTypeId, double aWalkoffRate)
double GetAzimuthError (WsfStringId aSystemTypeId) const
void SetAzimuthError (WsfStringId aSystemTypeId, double aAzimuth)
double GetElevationError (WsfStringId aSystemTypeId) const
void SetElevationError (WsfStringId aSystemTypeId, double aElevation)
double GetVelocityError (WsfStringId aSystemTypeId) const
void SetVelocityError (WsfStringId aSystemTypeId, double aVelocity)
TrackEffectData::WalkoffDataGetWalkoffData (WsfStringId aSystemTypeId, int aType) const
EffectDataNewEffectData () override
EffectDataPropagateEffectDataPtr (WsfStringId aSystemTypeId) override
void SensorModeDeactivated (double aSimTime, WsfSensor *aSensorPtr, WsfSensorMode *aModePtr)
void SensorTrackDropped (double aSimTime, WsfSensor *aSensorPtr, const WsfTrack *aTrackPtr)

Additional Inherited Members

Public Types inherited from WsfEW_RepeaterEffect
enum  ControlMethod { cCM_NONE = 1 , cCM_USE_REPEATER = cCM_NONE << 1 , cCM_USE_ACTUALS = cCM_NONE << 2 , cCM_USE_REPEATER_ACTUALS = cCM_NONE << 3 }
enum  GainControlType {
  cMG_NONE = 1 , cMG_DESIRED_RCS = cMG_NONE << 1 , cMG_MIN_J_TO_N = cMG_NONE << 2 , cMG_MIN_J_TO_S = cMG_NONE << 3 ,
  cMG_MIN_DETECT = cMG_NONE << 4 , cMG_MASKING = cMG_NONE << 5
}
Public Types inherited from WsfEW_RadiusEffect
enum  RadiusLimitType {
  cJRL_NONE = 0 , cJRL_INSIDE = 1 , cJRL_OUTSIDE = 2 , cJRL_BOTH = 3 ,
  cJRL_EQUAL = 4
}
using RadiusTypeToValueMap = std::map<RadiusLimitType, double>
Public Types inherited from WsfEW_Effect
enum  Behavior {
  cEB_UNDEFINED = 1 , cEB_DROP_TRACK = cEB_UNDEFINED << 1 , cEB_MAINTAIN_TRACK = cEB_UNDEFINED << 2 , cEB_TRACK_ERROR = cEB_UNDEFINED << 3 ,
  cEB_DROP_MESSAGE = cEB_UNDEFINED << 4 , cEB_MAINTAIN_MESSAGE = cEB_UNDEFINED << 5 , cEB_MESSAGE_ERROR = cEB_UNDEFINED << 6 , cEB_JAMMER_POWER_EFFECT = cEB_UNDEFINED << 7 ,
  cEB_SIGNAL_POWER_EFFECT = cEB_UNDEFINED << 8 , cEB_SLC_DEGRADE_EFFECT = cEB_UNDEFINED << 9 , cEB_FALSE_TARGET_EFFECT = cEB_UNDEFINED << 10 , cEB_PULSE_EFFECT = cEB_UNDEFINED << 11 ,
  cEB_AGILITY_EFFECT = cEB_UNDEFINED << 12 , cEB_REPEATER_EFFECT = cEB_UNDEFINED << 13 , cEB_REPEATER_UPDATE = cEB_UNDEFINED << 14 , cEB_FLOODED_BLOCKED = cEB_UNDEFINED << 15 ,
  cEB_FLOODED_MAINTAINED = cEB_UNDEFINED << 16 , cEB_JAM_STROBE_EFFECT = cEB_UNDEFINED << 17 , cEB_TARGET_REJECT_EFFECT = cEB_UNDEFINED << 18 , cEB_NEXT_FREE_MASK = cEB_UNDEFINED << 19
}
 The behavior the EW effect exhibits. More...
enum  Coherency {
  cEC_NONE = 1 , cEC_NONCOHERENT = cEC_NONE << 1 , cEC_COHERENT = cEC_NONE << 2 , cEC_NONCOHERENT_PULSE = cEC_NONE << 3 ,
  cEC_COHERENT_PULSE = cEC_NONE << 4
}
 The signal coherency the EW effect exhibits on the affected system. More...
enum  ModulationType {
  cEM_NONE = 1 , cEM_CW = cEM_NONE << 1 , cEM_COHPULSE = cEM_NONE << 2 , cEM_NONCOHPULSE = cEM_NONE << 3 ,
  cEM_LINEARFM = cEM_NONE << 4 , cEM_NONLINEARFM = cEM_NONE << 5 , cEM_PHASEKEY = cEM_NONE << 6 , cEM_PHASEMOD = cEM_NONE << 7 ,
  cEM_PHASECODE = cEM_NONE << 8 , cEM_ASK = cEM_NONE << 9 , cEM_FSK = cEM_NONE << 10 , cEM_PSK = cEM_NONE << 11 ,
  cEM_BPSK = cEM_NONE << 12 , cEM_QPSK = cEM_NONE << 13 , cEM_DPSK = cEM_NONE << 14 , cEM_QAM = cEM_NONE << 15
}
enum  TargetProtectionType { cTP_ALL , cTP_NON_SELF_PROTECT , cTP_SELF_PROTECT }
 The target protection type this effect is limited to. More...
enum  SystemFunction {
  cES_UNDEFINED = 1 , cES_COMM = cES_UNDEFINED << 1 , cES_SENSOR = cES_UNDEFINED << 2 , cES_JAMMER = cES_UNDEFINED << 3 ,
  cES_NEXT_FREE_MASK = cES_UNDEFINED << 4
}
 The type of system function types the EW effect can affect. More...
Public Types inherited from WsfObject
typedef std::vector< WsfStringIdTypeList
 The list of types returned by GetTypeList.
static WsfEW_Effect::SystemFunction ConvertToEW_SystemFunction (WsfEM_Rcvr::RcvrFunction aRcvrFunction)
static WsfEW_Effect::SystemFunction ConvertToEW_SystemFunction (WsfEM_Xmtr::XmtrFunction aXmtrFunction)
static unsigned int ConvertCoherencyIdToMask (WsfStringId aCoherencyId)
using EffectDataMap = std::map<WsfStringId, EffectData*>
unsigned int mSystemFunctionMask {cES_UNDEFINED}
 The system type mask that this EW effect can affect.
Behavior mBehavior {cEB_UNDEFINED}
 The behavior that this EW effect exhibits.
unsigned int mCoherencyMask {cEC_NONE}
 The coherency of this effect wrt to the affected system.
bool mDebug {false}
 The debug flag, 'true' for debug, false otherwise.
WsfStringId mCurrentTargetId {nullptr}
 Current target Id.
WsfStringId mCurrentXmtrPlatformId {nullptr}
 Current transmitting platform Id.
WsfStringId mCurrentRcvrPlatformId {nullptr}
 Current receiving platform Id.
int mCurrentXmtrUniqueId {0}
 Current transmitter unique Id.
int mCurrentRcvrUniqueId {0}
 Current receiver unique Id.
WsfStringId mEffectedSystemId {nullptr}
 The type Id of the system being effected, changes with each call to UpdateEffects(...) or UpdateCurrentIds(...).
WsfStringId mEffectingSystemId {nullptr}
 The type Id of the system doing the effecting, changes with each call to UpdateEffects(...) or UpdateCurrentIds(...).
bool mUpdatingEffect {true}
 Variable to prevent infinite recursion in UpdateEffect.
EffectDataMap mEffectDataMap
 Map of the System Type Id to the data required for this effect.

Detailed Description

WsfEW_TrackEffect models and applies track/tracking effects (tracking errors, track drops) to tracks of radars.

Constructor & Destructor Documentation

◆ WsfEW_TrackEffect() [1/2]

WsfEW_TrackEffect::WsfEW_TrackEffect ( )

◆ ~WsfEW_TrackEffect()

WsfEW_TrackEffect::~WsfEW_TrackEffect ( )
overridedefault

◆ WsfEW_TrackEffect() [2/2]

WsfEW_TrackEffect::WsfEW_TrackEffect ( const WsfEW_TrackEffect & aSrc)
protected

Member Function Documentation

◆ ApplyMitigatedEffect()

◆ ApplyUnmitigatedEffect()

◆ Clone()

WsfEW_Effect * WsfEW_TrackEffect::Clone ( ) const
overridevirtual

Clone this object.

Returns
a pointer to the new object.

Reimplemented from WsfEW_PulseEffect.

References WsfEW_TrackEffect().

Referenced by SetLastUpdateTime(), SetPreviousJtoS(), SetPreviousStoN(), SetRequiredStoN(), UpdateEffects(), and UpdateJammerPulseDensity().

◆ GetAzimuthError()

double WsfEW_TrackEffect::GetAzimuthError ( WsfStringId aSystemTypeId) const
protected

◆ GetElevationError()

double WsfEW_TrackEffect::GetElevationError ( WsfStringId aSystemTypeId) const
protected

◆ GetLastUpdateTime()

double WsfEW_TrackEffect::GetLastUpdateTime ( WsfStringId aSystemTypeId) const
protected

Referenced by UpdateEffects().

◆ GetPreviousJtoS()

double WsfEW_TrackEffect::GetPreviousJtoS ( WsfStringId aSystemTypeId) const
protected

Referenced by UpdateEffects().

◆ GetPreviousStoN()

double WsfEW_TrackEffect::GetPreviousStoN ( WsfStringId aSystemTypeId) const
protected

Referenced by UpdateEffects().

◆ GetRangeError()

double WsfEW_TrackEffect::GetRangeError ( WsfStringId aSystemTypeId) const
protected

◆ GetRangeWalkoffRate()

double WsfEW_TrackEffect::GetRangeWalkoffRate ( WsfStringId aSystemTypeId) const
protected

◆ GetRequiredJtoS()

double WsfEW_TrackEffect::GetRequiredJtoS ( WsfStringId aSystemTypeId) const
protected

Referenced by UpdateEffects().

◆ GetRequiredStoN()

double WsfEW_TrackEffect::GetRequiredStoN ( WsfStringId aSystemTypeId) const
protected

Referenced by UpdateEffects().

◆ GetVelocityError()

double WsfEW_TrackEffect::GetVelocityError ( WsfStringId aSystemTypeId) const
protected

◆ GetWalkoffData()

WsfEW_TrackEffect::TrackEffectData::WalkoffData & WsfEW_TrackEffect::GetWalkoffData ( WsfStringId aSystemTypeId,
int aType ) const
protected

Referenced by UpdateEffects().

◆ Initialize()

◆ NewEffectData()

WsfEW_TrackEffect::EffectData * WsfEW_TrackEffect::NewEffectData ( )
overrideprotectedvirtual

◆ operator=()

WsfEW_TrackEffect & WsfEW_TrackEffect::operator= ( const WsfEW_TrackEffect & )
delete

References WsfEW_TrackEffect().

◆ ProcessInput()

bool WsfEW_TrackEffect::ProcessInput ( UtInput & aInput)
overridevirtual

Process input from a generic source.

Examine the current input command. If it is NOT one of the commands recognized by this class then it simply returns 'false'. If it is one of the commands recognized by this class then it processes the command and returns 'true'.

Parameters
aInputa reference to a UtInput object.
Returns
'true' if the command was one recognized by the class or 'false' if not.
Exceptions
UtInput::ExceptionBase(or an object derived from it) if the command was recognized but contains some sort of error.
Note
If a derived class does not recognize the command (i.e.: the return value is false) then it should call the base class ProcessInput method. This chain should continue until either the command is recognized or the top-level base class is encountered.

Reimplemented from WsfEW_PulseEffect.

References WsfEW_Effect::cEB_DROP_TRACK, WsfEW_Effect::cEB_MAINTAIN_TRACK, WsfEW_Effect::cEB_TRACK_ERROR, WsfEW_Effect::mBehavior, and WsfEW_PulseEffect::ProcessInput().

◆ PropagateEffectDataPtr()

WsfEW_Effect::EffectData * WsfEW_TrackEffect::PropagateEffectDataPtr ( WsfStringId aSystemTypeId)
overrideprotectedvirtual

Local copy of the mEffectDataMap to prevent casting within this class.

Reimplemented from WsfEW_PulseEffect.

References WsfEW_PulseEffect::PropagateEffectDataPtr().

◆ SensorModeDeactivated()

◆ SensorTrackDropped()

◆ SetAzimuthError()

void WsfEW_TrackEffect::SetAzimuthError ( WsfStringId aSystemTypeId,
double aAzimuth )
protected

◆ SetElevationError()

void WsfEW_TrackEffect::SetElevationError ( WsfStringId aSystemTypeId,
double aElevation )
protected

◆ SetLastUpdateTime()

void WsfEW_TrackEffect::SetLastUpdateTime ( WsfStringId aSystemTypeId,
double aLastUpdateTime )
protected

◆ SetPreviousJtoS()

void WsfEW_TrackEffect::SetPreviousJtoS ( WsfStringId aSystemTypeId,
double aPreviousJtoS )
protected

◆ SetPreviousStoN()

void WsfEW_TrackEffect::SetPreviousStoN ( WsfStringId aSystemTypeId,
double aPreviousStoN )
protected

◆ SetRangeError()

void WsfEW_TrackEffect::SetRangeError ( WsfStringId aSystemTypeId,
double aRange )
protected

◆ SetRangeWalkoffRate()

void WsfEW_TrackEffect::SetRangeWalkoffRate ( WsfStringId aSystemTypeId,
double aWalkoffRate )
protected

◆ SetRequiredStoN()

void WsfEW_TrackEffect::SetRequiredStoN ( WsfStringId aSystemTypeId,
double aRequiredStoN )
protected

◆ SetVelocityError()

void WsfEW_TrackEffect::SetVelocityError ( WsfStringId aSystemTypeId,
double aVelocity )
protected

◆ UpdateEffects()

void WsfEW_TrackEffect::UpdateEffects ( double aSimTime,
const WsfEM_Interaction & aTargetInteraction,
const WsfEM_Interaction & aJammerToTgtInteraction,
const ut::optional< WsfEM_Interaction > & aTgtToJammerInteraction,
WsfEW_Effects & aEW_Effects,
WsfEW_Effect * aEW_EffectPtr = nullptr )
overridevirtual

Allows the effect to update any parameters needed before running an apply effect method.

Parameters
aSimTime[input] The current simulation time.
aTargetInteraction[input] The target interaction for the detection attempt.
aJammerToTgtInteraction[input] The jammer interaction for the jammer Xmtr to victim Rcvr.
aTgtToJammerInteraction[input] Optional jammer interaction for the Victim Xmtr to jammer Rcvr. This will have no value if the jammer Rcvr doesn't exist.
aEW_Effects[input] The current effect that is being updated.
aEW_EffectPtr[input] The currently processing EW effect pointer to prevent recursion in EW effect processing loops.

Reimplemented from WsfEW_PulseEffect.

References WsfEW_Effect::cEB_DROP_TRACK, WsfEW_Effect::cEB_MAINTAIN_TRACK, WsfEW_Effect::cEC_COHERENT, WsfEW_TrackEffect::TrackEffectData::cLAST_ERROR_TYPE, Clone(), WsfEW_TrackEffect::TrackEffectData::cMAINTAIN_DROP, WsfRF_Jammer::ComputeJammerPower(), WsfEM_Rcvr::ComputeSignalToNoise(), WsfEW_Effect::EffectDataExists(), WsfEW_Result::Find(), WsfEW_Effect::GetBehavior(), WsfEW_TrackEffect::TrackEffectData::WalkoffData::GetDelayTime(), WsfEM_Rcvr::GetDetectionThreshold(), WsfEW_Effect::GetEA_EP_Ptr(), WsfEW_Effect::GetEP_Ptr(), WsfEW_TrackEffect::TrackEffectData::WalkoffData::GetHoldoutTime(), WsfEW_PowerEffect::GetJammingPowerGain(), WsfEW_PowerEffect::GetJtoSGain(), GetLastUpdateTime(), WsfEW_PowerEffect::GetModulationGain(), GetPreviousJtoS(), GetPreviousStoN(), WsfEW_RadiusEffect::GetRadiusFactor(), WsfEM_Interaction::GetReceiver(), WsfEW_TrackEffect::TrackEffectData::WalkoffData::GetRecycleTime(), WsfEW_RepeaterEffect::GetRepeaterFactor(), GetRequiredJtoS(), GetRequiredStoN(), WsfEW_PowerEffect::GetSignalPowerGain(), WsfEM_Interaction::GetTransmitter(), GetWalkoffData(), WsfEW_Effect::InsertNewEffectData(), WsfEW_Effects::EW_JammingEffect::mBlanking, WsfEW_Effects::EW_JammingEffect::mCancelation, WsfEM_Interaction::mClutterPower, WsfEW_Effect::mDebug, WsfEW_TrackEffect::TrackEffectData::WalkoffData::mDelayTime, WsfEW_Effect::mEffectDataMap, WsfEW_Effect::mEffectedSystemId, WsfEW_Effects::mEW_CoherentJammingEffect, WsfEW_Result::mEW_Effects, WsfEW_Effects::mEW_SignalEffect, WsfEW_TrackEffect::TrackEffectData::WalkoffData::mHoldoutTarget, WsfEW_TrackEffect::TrackEffectData::WalkoffData::mHoldoutTime, WsfEW_Effects::EW_JammingEffect::mJtoXGain, WsfEW_TrackEffect::TrackEffectData::WalkoffData::mLastCycleTime, WsfEW_Effects::EW_JammingEffect::mModulationGain, WsfEW_Effects::EW_JammingEffect::mPulseSuppression, WsfEW_Effects::EW_JammingEffect::mRadiusFactor, WsfEM_Interaction::mRcvdPower, WsfEW_TrackEffect::TrackEffectData::WalkoffData::mRecycle, WsfEW_TrackEffect::TrackEffectData::WalkoffData::mRecycleTime, WsfEW_Effects::EW_JammingEffect::mRPJ_Gain, WsfEW_Effects::EW_SignalEffect::mSignalPowerGain, WsfEW_TrackEffect::TrackEffectData::WalkoffData::mTrackError, WsfEW_TrackEffect::TrackEffectData::WalkoffData::mWalkoffRate, WsfEW_TrackEffect::TrackEffectData::WalkoffData::Recycle(), SetLastUpdateTime(), SetPreviousJtoS(), SetPreviousStoN(), SetRequiredStoN(), and WsfEW_PulseEffect::UpdateEffects().

◆ UpdateJammerPulseDensity()


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