Implement interpolator mode for FS9

Summary:
This implementation will always return true if we were setting the mode,
since we cannot easily access the return value from
CInterpolatorMulti::setMode in a thread safe manner.

Reviewers: #swift_pilot_client, kbasan, msutcliffe

Reviewed By: #swift_pilot_client, kbasan, msutcliffe

Subscribers: kbasan, jenkins

Differential Revision: https://dev.swift-project.org/D52
This commit is contained in:
Roland Winklmeier
2017-08-08 12:57:07 +00:00
committed by Mathew Sutcliffe
parent 09da34d8f0
commit 27f97e8ac8
3 changed files with 10 additions and 7 deletions

View File

@@ -164,6 +164,7 @@ namespace BlackCore
virtual bool isShuttingDown() const = 0;
//! Set interpolation mode, empty callsign applies to all know callsigns
//! \return Returns true if the mode changed, otherwise false. Note that some implementations always return true.
virtual bool setInterpolatorMode(BlackMisc::Simulation::CInterpolatorMulti::Mode mode, const BlackMisc::Aviation::CCallsign &callsign) = 0;
//! \addtogroup swiftdotcommands