WSF
WsfLink16Correlation Class Reference

#include <WsfLink16Correlation.hpp>

Inheritance diagram for WsfLink16Correlation:
Collaboration diagram for WsfLink16Correlation:

Public Member Functions

 WsfLink16Correlation ()
 ~WsfLink16Correlation () override=default
WsfCorrelationStrategyClone () const override
 Create a clone of "this" object.
WsfLocalTrackCorrelateImpl (double aSimTime, const WsfTrack &aNonLocalTrack, WsfLocalTrackList &aTrackList) override
bool ProcessInput (UtInput &aInput) override
 Process input from a common source.
Public Member Functions inherited from WsfCorrelationStrategy
 ~WsfCorrelationStrategy () override=default
virtual bool Initialize (WsfTrackManager *aTrackManagerPtr)
 Perform any necessary initialization.
void NewTrackCorrelation (const WsfTrack &aRawTrack, const WsfLocalTrack &aLocalTrack)
WsfLocalTrackCorrelate (double aSimTime, const WsfTrack &aNonLocalTrack, WsfLocalTrackList &aTrackList)
const WsfTrackIdGetCorrelatedTrackId (const WsfTrackId &aRawTrackId) const
virtual void Decorrelate (const WsfTrackId &aRawTrackId)
 Allow the user to break an existing correlation.
void NotifyOfLocalTrackCorrelation (double aSimTime, const WsfLocalTrack &aLocalTrack, const WsfTrackId &aRawTrackId)
WsfTrackManagerGetTrackManager ()
 Return a reference to the track manager being accessed internally by this object.
void SetTrackManager (WsfTrackManager *aTrackManagerPtr)
WsfSimulationGetSimulation () const
bool TestCorrelation (const WsfTrack &aTrack1, const WsfTrack &aTrack2)
 Method to facilitate unit testing.
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)

Additional Inherited Members

Public Types inherited from WsfCorrelationStrategy
typedef WsfObjectTypeList< WsfCorrelationStrategyCorrelationStrategyTypes
Public Types inherited from WsfObject
typedef std::vector< WsfStringIdTypeList
 The list of types returned by GetTypeList.
Protected Member Functions inherited from WsfCorrelationStrategy
 WsfCorrelationStrategy ()
 WsfCorrelationStrategy (const WsfCorrelationStrategy &aSrc)
WsfCorrelationStrategyoperator= (const WsfCorrelationStrategy &aRhs)
 WsfObject (const WsfObject &aSrc)
 Copy constructor (for Clone()).
Protected Attributes inherited from WsfCorrelationStrategy
std::map< WsfTrackId, WsfTrackIdmCorrelationMap

Detailed Description

An implementation of WsfCorrelationStrategy for which the spatially closest track is selected as being associated with the measurement under consideration.

Constructor & Destructor Documentation

◆ WsfLink16Correlation()

WsfLink16Correlation::WsfLink16Correlation ( )

◆ ~WsfLink16Correlation()

WsfLink16Correlation::~WsfLink16Correlation ( )
overridedefault

Member Function Documentation

◆ Clone()

WsfCorrelationStrategy * WsfLink16Correlation::Clone ( ) const
inlineoverridevirtual

Create a clone of "this" object.

Implements WsfCorrelationStrategy.

References WsfCorrelationStrategy::WsfCorrelationStrategy(), and WsfLink16Correlation().

◆ CorrelateImpl()

WsfLocalTrack * WsfLink16Correlation::CorrelateImpl ( double aSimTime,
const WsfTrack & aNewTrack,
WsfLocalTrackList & aTrackList )
overridevirtual

Given a non-local track update (or measurement), find the track in the track list that correlates with the given track or measurement.

Implements WsfCorrelationStrategy.

References WsfTrackListT< T >::GetTrackCount(), WsfTrackListT< T >::GetTrackEntry(), and WsfTrack::IsFusible().

◆ ProcessInput()

bool WsfLink16Correlation::ProcessInput ( UtInput & aInput)
overridevirtual

Process input from a common source.

Reimplemented from WsfCorrelationStrategy.

References WsfCorrelationStrategy::ProcessInput().


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