mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-14 08:45:36 +08:00
Ref T259, Ref T243 remove dummy interpolator
* As there are no longer situations/parts added to the interpolator /solely provided by provider) there is no overhead anymore and no need for the dummy interpolator. * Furthermore switching the interpolator at runtime will become possible.
This commit is contained in:
@@ -14,7 +14,6 @@
|
||||
|
||||
#include "blackmisc/simulation/interpolatorlinear.h"
|
||||
#include "blackmisc/simulation/interpolatorspline.h"
|
||||
#include "blackmisc/simulation/interpolatordummy.h"
|
||||
|
||||
namespace BlackMisc
|
||||
{
|
||||
@@ -89,13 +88,7 @@ namespace BlackMisc
|
||||
private:
|
||||
Mode m_mode = ModeSpline;
|
||||
CInterpolatorSpline m_spline;
|
||||
#ifdef QT_DEBUG
|
||||
//! only in a dev.environment, otherwise replaced by low footprint dummy driver
|
||||
CInterpolatorLinear m_linear;
|
||||
#else
|
||||
//! Low footprint dummy interpolator in non-debug compile
|
||||
CInterpolatorDummy m_linear;
|
||||
#endif
|
||||
};
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user