WSF
WsfRadarMTD_SignalProcessor Class Reference

#include <WsfRadarMTD_SignalProcessor.hpp>

Inheritance diagram for WsfRadarMTD_SignalProcessor:
Collaboration diagram for WsfRadarMTD_SignalProcessor:

Public Types

enum  MTD_Type { cMTDT_ALARM , cMTDT_DATA_TABLE }
 Allowed MTD types. More...
Public Types inherited from WsfSensorSignalProcessor
using FactoryPtr = WsfSensorSignalProcessor* (*)(const std::string&)
using ObjectFactoryList = std::list<FactoryPtr>
Public Types inherited from WsfObject
typedef std::vector< WsfStringIdTypeList
 The list of types returned by GetTypeList.

Public Member Functions

 WsfRadarMTD_SignalProcessor ()=delete
 WsfRadarMTD_SignalProcessor (MTD_Type aMTD_Type)
 Constructor.
 WsfRadarMTD_SignalProcessor (const WsfRadarMTD_SignalProcessor &aSrc)
 Copy constructor (used by Clone).
 ~WsfRadarMTD_SignalProcessor () override
 Destructor.
WsfRadarMTD_SignalProcessoroperator= (const WsfRadarMTD_SignalProcessor &)=delete
WsfSensorSignalProcessorClone () const override
bool Initialize (double aSimTime, WsfSensor *aSensorPtr, WsfSensorMode *aModePtr, size_t aBeamIndex=0) override
bool ProcessInput (UtInput &aInput) override
void Execute (double aSimTime, WsfSensorResult &aResult) override
bool ProcessInput (UtInput &aInput) override
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 WsfSensorSignalProcessorObjectFactory (const std::string &aTypeName)
 The object factory for the MTD signal processor type.
static void AddObjectFactory (FactoryPtr aFactoryPtr)
static void RemoveObjectFactory (FactoryPtr aFactoryPtr)
static WsfSensorSignalProcessorCreateInstance (const std::string &aTypeName)
static void ClearTypes ()

Additional Inherited Members

 WsfObject (const WsfObject &aSrc)
 Copy constructor (for Clone()).
bool mDebug {false}
 If 'true' additional information is written out to aid debugging.

Detailed Description

A class derived from WsfSensorSignalProcessor that defines a MTD signal processing technique for a radar sensor.

Member Enumeration Documentation

◆ MTD_Type

Allowed MTD types.

Enumerator
cMTDT_ALARM 
cMTDT_DATA_TABLE 

Constructor & Destructor Documentation

◆ WsfRadarMTD_SignalProcessor() [1/3]

WsfRadarMTD_SignalProcessor::WsfRadarMTD_SignalProcessor ( )
delete

◆ WsfRadarMTD_SignalProcessor() [2/3]

WsfRadarMTD_SignalProcessor::WsfRadarMTD_SignalProcessor ( MTD_Type aMTD_Type)

Constructor.

References cMTDT_ALARM.

◆ WsfRadarMTD_SignalProcessor() [3/3]

WsfRadarMTD_SignalProcessor::WsfRadarMTD_SignalProcessor ( const WsfRadarMTD_SignalProcessor & aSrc)

Copy constructor (used by Clone).

References WsfPD_Filter::Clone(), cMTDT_ALARM, and WsfRadarMTD_SignalProcessor().

◆ ~WsfRadarMTD_SignalProcessor()

WsfRadarMTD_SignalProcessor::~WsfRadarMTD_SignalProcessor ( )
override

Destructor.

Member Function Documentation

◆ Clone()

WsfSensorSignalProcessor * WsfRadarMTD_SignalProcessor::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 WsfSensorSignalProcessor.

References WsfRadarMTD_SignalProcessor().

Referenced by Initialize().

◆ Execute()

◆ Initialize()

◆ ObjectFactory()

WsfSensorSignalProcessor * WsfRadarMTD_SignalProcessor::ObjectFactory ( const std::string & aTypeName)
static

The object factory for the MTD signal processor type.

References cMTDT_ALARM, cMTDT_DATA_TABLE, and WsfRadarMTD_SignalProcessor().

◆ operator=()

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

◆ ProcessInput()

bool WsfRadarMTD_SignalProcessor::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 cMTDT_ALARM, cMTDT_DATA_TABLE, ProcessInput(), and WsfSensorSignalProcessor::ProcessInput().

Referenced by ProcessInput().


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