Ref T270, improved setup/logger handling

* utility functions to enable logging
* logger access and access to log messages
This commit is contained in:
Klaus Basan
2018-05-18 00:06:42 +02:00
parent e3465f432c
commit a3a62919fc
6 changed files with 59 additions and 16 deletions

View File

@@ -114,6 +114,12 @@ namespace BlackCore
//! Counter removed aircraft
int getStatisticsPhysicallyRemovedAircraft() const { return m_statsPhysicallyRemovedAircraft; }
//! Access to logger
const BlackMisc::Simulation::CInterpolationLogger &interpolationLogger() const { return m_interpolationLogger; }
//! The latest logged data formatted
QString latestLoggedDataFormatted(const BlackMisc::Aviation::CCallsign &cs) const;
protected:
//! Constructor
CSimulatorCommon(const BlackMisc::Simulation::CSimulatorPluginInfo &info,