mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-07 02:35:33 +08:00
refs #863 Move interpolator logging into a separate class.
A single logger instance can be shared between multiple interpolator instances.
This commit is contained in:
@@ -15,6 +15,7 @@
|
||||
#include "blackmisc/simulation/interpolator.h"
|
||||
#include "blackmisc/blackmiscexport.h"
|
||||
#include "blackmisc/aviation/aircraftsituation.h"
|
||||
#include "blackmisc/simulation/interpolationlogger.h"
|
||||
#include <QString>
|
||||
#include <QtGlobal>
|
||||
|
||||
@@ -56,7 +57,7 @@ namespace BlackMisc
|
||||
|
||||
//! Strategy used by CInterpolator::getInterpolatedSituation
|
||||
Interpolant getInterpolant(qint64 currentTimeMsSinceEpoc, const CInterpolationAndRenderingSetup &setup,
|
||||
const CInterpolationHints &hints, CInterpolationStatus &status, InterpolationLog &log);
|
||||
const CInterpolationHints &hints, CInterpolationStatus &status, CInterpolationLogger::SituationLog &log);
|
||||
|
||||
//! Log category
|
||||
static QString getLogCategory() { return "swift.interpolatorspline"; }
|
||||
|
||||
Reference in New Issue
Block a user