mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-02 06:35:52 +08:00
refs #395, removed worker from interpolator
It was planned to do all interpolation calculations at once in background, this concept is not used anymore
This commit is contained in:
committed by
Mathew Sutcliffe
parent
66075ca0d0
commit
bbd5ad2cbc
@@ -19,11 +19,12 @@ using namespace BlackMisc::Simulation;
|
||||
namespace BlackCore
|
||||
{
|
||||
|
||||
IInterpolator::IInterpolator(IRemoteAircraftProvider *provider, const QString &workerName, QObject *parent) :
|
||||
CContinuousWorker(parent, workerName),
|
||||
IInterpolator::IInterpolator(IRemoteAircraftProvider *provider, const QString &objectName, QObject *parent) :
|
||||
QObject(parent),
|
||||
CRemoteAircraftAware(provider)
|
||||
{
|
||||
Q_ASSERT_X(provider, Q_FUNC_INFO, "missing provider");
|
||||
this->setObjectName(objectName);
|
||||
}
|
||||
|
||||
CAircraftPartsList IInterpolator::getPartsBeforeTime(const CCallsign &callsign, qint64 cutoffTime, BlackCore::IInterpolator::PartsStatus &partsStatus)
|
||||
|
||||
@@ -23,7 +23,7 @@ namespace BlackCore
|
||||
{
|
||||
//! Interpolator, calculation inbetween positions
|
||||
class BLACKCORE_EXPORT IInterpolator :
|
||||
public BlackMisc::CContinuousWorker,
|
||||
public QObject,
|
||||
public BlackMisc::Simulation::CRemoteAircraftAware
|
||||
{
|
||||
Q_OBJECT
|
||||
@@ -80,7 +80,7 @@ namespace BlackCore
|
||||
|
||||
protected:
|
||||
//! Constructor
|
||||
IInterpolator(BlackMisc::Simulation::IRemoteAircraftProvider *provider, const QString &workerName, QObject *parent = nullptr);
|
||||
IInterpolator(BlackMisc::Simulation::IRemoteAircraftProvider *provider, const QString &objectName, QObject *parent);
|
||||
|
||||
bool m_withDebugMsg = false; //!< allows to disable debug messages
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user