6#ifndef SWIFT_MISC_SIMULATION_INTERPOLATION_INTERPOLATORLINEAR_H
7#define SWIFT_MISC_SIMULATION_INTERPOLATION_INTERPOLATORLINEAR_H
30 void anchor()
override;
37 :
CInterpolator(callsign, simEnvProvider, setupProvider, remoteAircraftProvider, logger)
51 qint64 interpolatedTime);
55 std::tuple<geo::CCoordinateGeodetic, aviation::CAltitude>
73 double m_simulationTimeFraction = 0.0;
81 CInterpolant m_interpolant;
Value object encapsulating information of an aircraft's situation.
Value object encapsulating information of a callsign.
Information about the ground status.
Record internal state of interpolator for debugging.
CInterpolator(const aviation::CCallsign &callsign, ISimulationEnvironmentProvider *simEnvProvider, IInterpolationSetupProvider *setupProvider, IRemoteAircraftProvider *remoteProvider, CInterpolationLogger *logger)
Constructor.
const aviation::CAircraftSituation & getEndSituation() const
End situation.
aviation::COnGroundInfo interpolateGroundFactor() const
Interpolate the ground information/factor.
const aviation::CAircraftSituation & getStartSituation() const
Start situation.
CInterpolant()=default
Constructor.
const IInterpolatorPbh & pbh() const
Get the PBH interpolator.
std::tuple< geo::CCoordinateGeodetic, aviation::CAltitude > interpolatePositionAndAltitude() const
Perform the interpolation.
CInterpolatorLinear(const aviation::CCallsign &callsign, ISimulationEnvironmentProvider *simEnvProvider, IInterpolationSetupProvider *setupProvider, IRemoteAircraftProvider *remoteAircraftProvider, CInterpolationLogger *logger=nullptr)
Constructor.
Simple linear interpolator for pitch, bank, heading and groundspeed from start to end situation.
IInterpolant()=default
Default ctor.
Direct in memory access to interpolation setup, normally implemented by simulator.
Base class for Pitch-Bank-Heading interpolators.
Direct thread safe in memory access to remote aircraft.
Direct in memory access to elevation data.
Free functions in swift::misc.
Log entry for situation interpolation.
#define SWIFT_MISC_EXPORT
Export a class or function from the library.