WSF
WsfEM_ALARM_Propagation Class Reference

#include <WsfEM_ALARM_Propagation.hpp>

Inheritance diagram for WsfEM_ALARM_Propagation:
Collaboration diagram for WsfEM_ALARM_Propagation:

Public Member Functions

 WsfEM_ALARM_Propagation ()
WsfEM_ALARM_Propagationoperator= (const WsfEM_ALARM_Propagation &)=delete
 ~WsfEM_ALARM_Propagation () override=default
WsfEM_PropagationClone () const override
double ComputePropagationFactor (WsfEM_Interaction &aInteraction, WsfEnvironment &aEnvironment) override
bool Initialize (WsfEM_XmtrRcvr *aXmtrRcvrPtr) override
bool ProcessInput (UtInput &aInput) override
Public Member Functions inherited from WsfEM_Propagation
 WsfEM_Propagation ()
 Constructor.
 ~WsfEM_Propagation () override=default
const char * GetScriptClassName () const override
bool DebugEnabled () const
 Is 'debug' enabled?
virtual bool Initialize (WsfEM_Xmtr *aXmtrPtr)
bool ProcessInput (UtInput &aInput) override
virtual bool IsNullModel () const
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)

Static Public Member Functions

static void ResetState ()
 Reset all the global/static data to default values.
static WsfEM_PropagationObjectFactory (const std::string &aTypeName)
 Factory method called by WsfEM_PropagationTypes.

Protected Member Functions

 WsfEM_ALARM_Propagation (const WsfEM_ALARM_Propagation &aSrc)
Protected Member Functions inherited from WsfEM_Propagation
 WsfEM_Propagation (const WsfEM_Propagation &aSrc)
 Copy constructor.
 WsfObject (const WsfObject &aSrc)
 Copy constructor (for Clone()).

Additional Inherited Members

Public Types inherited from WsfObject
typedef std::vector< WsfStringIdTypeList
 The list of types returned by GetTypeList.
Protected Attributes inherited from WsfEM_Propagation
bool mDebugEnabled

Detailed Description

An interface to the ALARM propagation methods.

Note
This code is NON-EXPORTABLE!

Constructor & Destructor Documentation

◆ WsfEM_ALARM_Propagation() [1/2]

WsfEM_ALARM_Propagation::WsfEM_ALARM_Propagation ( )

◆ ~WsfEM_ALARM_Propagation()

WsfEM_ALARM_Propagation::~WsfEM_ALARM_Propagation ( )
overridedefault

◆ WsfEM_ALARM_Propagation() [2/2]

WsfEM_ALARM_Propagation::WsfEM_ALARM_Propagation ( const WsfEM_ALARM_Propagation & aSrc)
protected

Member Function Documentation

◆ Clone()

WsfEM_Propagation * WsfEM_ALARM_Propagation::Clone ( ) const
overridevirtual

Return a copy of this object. Must be implemented by all derived types. If cloning is impossible, a WsfUncloneableException should be thrown.

Implements WsfEM_Propagation.

References WsfEM_ALARM_Propagation(), and WsfEM_Propagation::WsfEM_Propagation().

◆ ComputePropagationFactor()

double WsfEM_ALARM_Propagation::ComputePropagationFactor ( WsfEM_Interaction & aInteraction,
WsfEnvironment & aEnvironment )
overridevirtual

◆ Initialize()

bool WsfEM_ALARM_Propagation::Initialize ( WsfEM_XmtrRcvr * aXmtrRcvrPtr)
overridevirtual

Initialize the propagation object.

Parameters
aXmtrRcvrPtrThe transmitter/receiver to which the propagation object is attached.

Reimplemented from WsfEM_Propagation.

References WsfEM_XmtrRcvr::GetSimulation(), WsfEM_Propagation::Initialize(), and ok.

◆ ObjectFactory()

WsfEM_Propagation * WsfEM_ALARM_Propagation::ObjectFactory ( const std::string & aTypeName)
static

◆ operator=()

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

◆ ProcessInput()

bool WsfEM_ALARM_Propagation::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 WsfObject.

References WsfEM_Propagation::ProcessInput(), and WsfEM_ALARM_Terrain::SetUseAFSIM_TerrainMasking().

◆ ResetState()

void WsfEM_ALARM_Propagation::ResetState ( )
static

Reset all the global/static data to default values.

Referenced by WsfNonExportableBase::~WsfNonExportableBase().


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