swift
Loading...
Searching...
No Matches
swift::misc::simulation::IInterpolant Class Referenceabstract

Interpolant interface. More...

#include <interpolant.h>

Inheritance diagram for swift::misc::simulation::IInterpolant:
[legend]

Public Member Functions

 IInterpolant ()=default
 Default ctor.
 IInterpolant (qint64 interpolatedTime)
 Constructor.
virtual std::tuple< geo::CCoordinateGeodetic, aviation::CAltitude > interpolatePositionAndAltitude () const =0
 Perform the interpolation.
virtual aviation::COnGroundInfo interpolateGroundFactor () const =0
 Interpolate the ground information/factor.
virtual const IInterpolatorPbh & pbh () const =0
 Get the PBH interpolator.
qint64 getInterpolatedTime () const
 "Real time" representing the interpolated situation
bool isValid () const
 Valid?
void setValid (bool valid)
 Valid?
bool isRecalculated () const
 Is recalculated interpolant?
void setRecalculated (bool reCalculated)
 Set recalculated interpolant.

Protected Attributes

qint64 m_interpolatedTime = -1
 "Real time "of interpolated situation
bool m_valid = true
 valid?
bool m_recalculated = false
 recalculated interpolant

Detailed Description

Interpolant interface.

Definition at line 14 of file interpolant.h.

Constructor & Destructor Documentation

◆ IInterpolant()

swift::misc::simulation::IInterpolant::IInterpolant ( qint64 interpolatedTime)
inlineexplicit

Constructor.

Definition at line 21 of file interpolant.h.

Member Function Documentation

◆ getInterpolatedTime()

qint64 swift::misc::simulation::IInterpolant::getInterpolatedTime ( ) const
inline

"Real time" representing the interpolated situation

Definition at line 36 of file interpolant.h.

◆ interpolateGroundFactor()

virtual aviation::COnGroundInfo swift::misc::simulation::IInterpolant::interpolateGroundFactor ( ) const
pure virtual

◆ interpolatePositionAndAltitude()

virtual std::tuple< geo::CCoordinateGeodetic, aviation::CAltitude > swift::misc::simulation::IInterpolant::interpolatePositionAndAltitude ( ) const
pure virtual

Perform the interpolation.

Returns
interpolated position and altitude

Implemented in swift::misc::simulation::CInterpolatorLinear::CInterpolant, and swift::misc::simulation::CInterpolatorSpline::CInterpolant.

◆ isRecalculated()

bool swift::misc::simulation::IInterpolant::isRecalculated ( ) const
inline

Is recalculated interpolant?

Definition at line 45 of file interpolant.h.

◆ isValid()

bool swift::misc::simulation::IInterpolant::isValid ( ) const
inline

Valid?

Definition at line 39 of file interpolant.h.

◆ pbh()

virtual const IInterpolatorPbh & swift::misc::simulation::IInterpolant::pbh ( ) const
pure virtual

◆ setRecalculated()

void swift::misc::simulation::IInterpolant::setRecalculated ( bool reCalculated)
inline

Set recalculated interpolant.

Definition at line 48 of file interpolant.h.

◆ setValid()

void swift::misc::simulation::IInterpolant::setValid ( bool valid)
inline

Valid?

Definition at line 42 of file interpolant.h.

Member Data Documentation

◆ m_interpolatedTime

qint64 swift::misc::simulation::IInterpolant::m_interpolatedTime = -1
protected

"Real time "of interpolated situation

Definition at line 51 of file interpolant.h.

◆ m_recalculated

bool swift::misc::simulation::IInterpolant::m_recalculated = false
protected

recalculated interpolant

Definition at line 53 of file interpolant.h.

◆ m_valid

bool swift::misc::simulation::IInterpolant::m_valid = true
protected

valid?

Definition at line 52 of file interpolant.h.


The documentation for this class was generated from the following file: