6 #ifndef SWIFT_MISC_SIMULATION_INTERPOLATION_INTERPOLATORLINEAR_H
7 #define SWIFT_MISC_SIMULATION_INTERPOLATION_INTERPOLATORLINEAR_H
30 virtual void anchor()
override;
37 :
CInterpolator(callsign, simEnvProvider, setupProvider, remoteAircraftProvider, logger)
51 qint64 interpolatedTime);
55 std::tuple<geo::CCoordinateGeodetic, aviation::CAltitude>
56 interpolatePositionAndAltitude()
const override;
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.
Base class for interpolating (calculate positions inbetween updates). One instance is responsible for...
Linear function that performs the actual interpolation.
CInterpolant()=default
Constructor.
const aviation::CAircraftSituation & getStartSituation() const
Start situation.
const IInterpolatorPbh & pbh() const
Get the PBH interpolator.
const aviation::CAircraftSituation & getEndSituation() const
End situation.
Linear interpolator, calculation inbetween positions.
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.
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.