WSF
wsf::TrackExtrapolation< T > Class Template Referenceabstract

A base class from which to derive classes that provide extrapolation of specific data within a measurement or track. More...

#include <WsfTrackExtrapolation.hpp>

Inheritance diagram for wsf::TrackExtrapolation< T >:
Collaboration diagram for wsf::TrackExtrapolation< T >:

Public Member Functions

 TrackExtrapolation ()=default
 TrackExtrapolation (const TrackExtrapolation &aSrc)=default
 ~TrackExtrapolation () override=default
virtual std::unique_ptr< UtAttribute< T > > Extrapolate (double aSimTime, const WsfMeasurement &aData) const =0
Public Member Functions inherited from wsf::TrackExtrapolationBase
 TrackExtrapolationBase ()=default
 TrackExtrapolationBase (const TrackExtrapolationBase &aSrc)=default
TrackExtrapolationBaseClone () const override=0
 ~TrackExtrapolationBase () override=default
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
virtual bool ProcessInput (UtInput &aInput)
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 T Type ()
 Return an instance of the extrapolated type (useful for more transparent type deduction).

Additional Inherited Members

Public Types inherited from WsfObject
typedef std::vector< WsfStringIdTypeList
 The list of types returned by GetTypeList.
 WsfObject (const WsfObject &aSrc)
 Copy constructor (for Clone()).

Detailed Description

template<typename T>
class wsf::TrackExtrapolation< T >

A base class from which to derive classes that provide extrapolation of specific data within a measurement or track.

Constructor & Destructor Documentation

◆ TrackExtrapolation() [1/2]

template<typename T>
wsf::TrackExtrapolation< T >::TrackExtrapolation ( )
default

Referenced by TrackExtrapolation().

◆ TrackExtrapolation() [2/2]

template<typename T>
wsf::TrackExtrapolation< T >::TrackExtrapolation ( const TrackExtrapolation< T > & aSrc)
default

References TrackExtrapolation().

◆ ~TrackExtrapolation()

template<typename T>
wsf::TrackExtrapolation< T >::~TrackExtrapolation ( )
overridedefault

Member Function Documentation

◆ Extrapolate()

template<typename T>
virtual std::unique_ptr< UtAttribute< T > > wsf::TrackExtrapolation< T >::Extrapolate ( double aSimTime,
const WsfMeasurement & aData ) const
pure virtual

Extrapolate the information forward to the desired time since the time of information collection. This method should be overridden in subclasses.

Parameters
aSimTimeThe simulation time to which the measurement should be extrapolated.
aDataThe data used to extrapolate the information.
Returns
The extrapolated information, or nullptr if aData did not contain sufficient information to extrapolate.

Implemented in wsf::DefaultKinematicStateExtrapolation, and wsf::space::KinematicStateExtrapolation.

Referenced by WsfMeasurement::GetExtrapolatedData().

◆ Type()

template<typename T>
T wsf::TrackExtrapolation< T >::Type ( )
inlinestatic

Return an instance of the extrapolated type (useful for more transparent type deduction).


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