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

@@ -78,6 +78,7 @@ namespace BlackMisc
qint64 timestamp = -1; //!< current timestamp
BlackMisc::Aviation::CCallsign callsign; //!< current callsign
BlackMisc::Aviation::CAircraftParts parts; //!< parts to be logged
bool empty = false;
};
//! Log current interpolation cycle, only stores in memory, for performance reasons