WSF
WsfEW_Effects Class Reference

#include <WsfEW_Effects.hpp>

Collaboration diagram for WsfEW_Effects:

Classes

class  EW_Error
class  EW_JammingEffect
class  EW_SignalEffect
class  RepeaterData

Public Member Functions

virtual ~WsfEW_Effects ()=default
void Process (double aSimTime, const WsfEM_Interaction &aTargetInteraction, const WsfEM_Interaction &aJammerToTgtInteraction, const ut::optional< WsfEM_Interaction > &aTgtToJammerInteraction, bool aProcessOnlyEA_Effects)
void Print (ut::log::MessageStream &aStream) const
 Print the interaction data to standard output.
void Reset ()

Static Public Member Functions

static std::unique_ptr< UtScriptClass > CreateScriptClass (const std::string &aClassName, UtScriptTypes *aScriptTypesPtr)

Public Attributes

unsigned int mMask {0}
unsigned int mEA_CoherencyMask {0}
EW_Error mEW_Error
EW_JammingEffect mEW_NoiseJammingEffect
EW_JammingEffect mEW_PulseJammingEffect
EW_JammingEffect mEW_CoherentJammingEffect
EW_SignalEffect mEW_SignalEffect
RepeaterData mCurrentRepeaterData

Detailed Description

A support class for Electronic Warfare (EW) interaction effects.

This class is used to provide a common mechanism for performing EW interactions (i.e.: interactions involving EW).

Most of the class data is public and represents the results of various calculations performed by the class. Much data is maintained so interested parties can gather data without having to modify the underlying code.

Constructor & Destructor Documentation

◆ ~WsfEW_Effects()

virtual WsfEW_Effects::~WsfEW_Effects ( )
virtualdefault

Member Function Documentation

◆ CreateScriptClass()

std::unique_ptr< UtScriptClass > WsfEW_Effects::CreateScriptClass ( const std::string & aClassName,
UtScriptTypes * aScriptTypesPtr )
static

Create the 'class' object for the script system. This is invoked once by WsfScriptManager to create the 'class' object that defines the interface to instances of this class from the script system.

Referenced by ~WsfEW_Effects().

◆ Print()

void WsfEW_Effects::Print ( ut::log::MessageStream & aStream) const

Print the interaction data to standard output.

References mEW_CoherentJammingEffect, mEW_Error, mEW_NoiseJammingEffect, mEW_PulseJammingEffect, mEW_SignalEffect, and mMask.

Referenced by ~WsfEW_Effects().

◆ Process()

void WsfEW_Effects::Process ( double aSimTime,
const WsfEM_Interaction & aTargetInteraction,
const WsfEM_Interaction & aJammerToTgtInteraction,
const ut::optional< WsfEM_Interaction > & aTgtToJammerInteraction,
bool aProcessOnlyEA_Effects )

Process an electronic warfare interaction between a transmitter and a receiver during a target interaction.

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.
aProcessOnlyEA_Effects[input] Process only EA effects, not EP effects.

References WsfEW_Technique::CanApplyTechnique(), WsfEW_Effect::cEB_REPEATER_UPDATE, WsfEW_Effect::ConvertToEW_SystemFunction(), WsfEW_Effect::GetCoherencyMask(), WsfEW_Technique::GetEffect(), WsfEW_Technique::GetEffects(), WsfEW_EA::GetElectronicAttack(), WsfEW_EP::GetElectronicProtect(), WsfEM_Rcvr::GetFunction(), WsfEM_Xmtr::GetFunction(), WsfEW_EA_EP::GetMitigatingEffects(), WsfEM_Interaction::GetReceiver(), WsfEW_EA_EP::GetTechnique(), WsfEW_EA_EP::GetTechniquesInUse(), WsfEM_Interaction::GetTransmitter(), mEA_CoherencyMask, mMask, and WsfEW_Effect::ProcessUnmitigatedEffect().

Referenced by ~WsfEW_Effects().

◆ Reset()

Member Data Documentation

◆ mCurrentRepeaterData

◆ mEA_CoherencyMask

unsigned int WsfEW_Effects::mEA_CoherencyMask {0}

◆ mEW_CoherentJammingEffect

◆ mEW_Error

◆ mEW_NoiseJammingEffect

◆ mEW_PulseJammingEffect

◆ mEW_SignalEffect

◆ mMask


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