refs #895, also log when parts are empty

* added empty flag
* move logging into own function (because it is called in multiple places now)
This commit is contained in:
Klaus Basan
2017-03-04 21:51:49 +01:00
committed by Mathew Sutcliffe
parent aa14c564b0
commit a27717cf8b
4 changed files with 26 additions and 10 deletions

View File

@@ -88,6 +88,9 @@ namespace BlackMisc
private:
CInterpolationLogger *m_logger = nullptr;
//! Log parts
void logParts(qint64 timestamp, const Aviation::CAircraftParts &parts, bool empty, bool log);
Derived *derived() { return static_cast<Derived *>(this); }
const Derived *derived() const { return static_cast<const Derived *>(this); }
};