WSF
wsf::DefaultKinematicStateExtrapolation Class Reference

#include <WsfDefaultKinematicStateExtrapolation.hpp>

Inheritance diagram for wsf::DefaultKinematicStateExtrapolation:
Collaboration diagram for wsf::DefaultKinematicStateExtrapolation:

Public Member Functions

KinematicStateExtrapolationClone () const override
std::unique_ptr< UtAttribute< KinematicState > > Extrapolate (double aSimTime, const WsfMeasurement &aData) const override
Public Member Functions inherited from wsf::KinematicStateExtrapolation
 KinematicStateExtrapolation ()
Public Member Functions inherited from wsf::TrackExtrapolation< KinematicState >
 TrackExtrapolation ()=default
 ~TrackExtrapolation () override=default
Public Member Functions inherited from wsf::TrackExtrapolationBase
 TrackExtrapolationBase ()=default
 TrackExtrapolationBase (const TrackExtrapolationBase &aSrc)=default
 ~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)

Additional Inherited Members

Public Types inherited from WsfObject
typedef std::vector< WsfStringIdTypeList
 The list of types returned by GetTypeList.
Static Public Member Functions inherited from wsf::KinematicStateExtrapolation
static WsfStringId GetTypeId ()
Static Public Member Functions inherited from wsf::TrackExtrapolation< KinematicState >
static KinematicState Type ()
 Return an instance of the extrapolated type (useful for more transparent type deduction).
 WsfObject (const WsfObject &aSrc)
 Copy constructor (for Clone()).

Detailed Description

A class providing the default implementation of kinematic state (position, velocity) extrapolation.

Note
This implementation is not appropriate for kinematic state extrapolation of space platforms (see wsf::space::KinematicStateExtrapolation).

Member Function Documentation

◆ Clone()

KinematicStateExtrapolation * wsf::DefaultKinematicStateExtrapolation::Clone ( ) const
inlineoverridevirtual

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

Implements wsf::TrackExtrapolationBase.

References wsf::KinematicStateExtrapolation::KinematicStateExtrapolation().

◆ Extrapolate()

std::unique_ptr< UtAttribute< wsf::KinematicState > > wsf::DefaultKinematicStateExtrapolation::Extrapolate ( double aSimTime,
const WsfMeasurement & aData ) const
overridevirtual

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.

Implements wsf::TrackExtrapolation< KinematicState >.

References GetExtrapolatedLocationWCS().


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