mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-06 18:25:37 +08:00
Let airspace monitor store the aircraft parts history
This commit adds a feature in airspace monitor to store the history of received aircraft parts. If needed the history can be retrieved via context methods. refs #835
This commit is contained in:
committed by
Mathew Sutcliffe
parent
a210b029f1
commit
4994bf12b2
@@ -21,6 +21,7 @@
|
||||
#include "blackcore/corefacadeconfig.h"
|
||||
#include "blackcore/network.h"
|
||||
#include "blackmisc/audio/voiceroomlist.h"
|
||||
#include "blackmisc/aviation/aircraftpartslist.h"
|
||||
#include "blackmisc/aviation/airporticaocode.h"
|
||||
#include "blackmisc/aviation/atcstation.h"
|
||||
#include "blackmisc/aviation/atcstationlist.h"
|
||||
@@ -275,6 +276,18 @@ namespace BlackCore
|
||||
//! Enable reverse lookup logging
|
||||
virtual void enableReverseLookupMessages(bool enabled) = 0;
|
||||
|
||||
//! Get aircraft parts history
|
||||
virtual BlackMisc::CStatusMessageList getAircraftPartsHistory(const BlackMisc::Aviation::CCallsign &callsign) const = 0;
|
||||
|
||||
//! Get remote aircraft parts
|
||||
virtual BlackMisc::Aviation::CAircraftPartsList getRemoteAircraftParts(const BlackMisc::Aviation::CCallsign &callsign, qint64 cutoffTimeValuesBefore) const = 0;
|
||||
|
||||
//! Is storing the aircraft parts history enabled?
|
||||
virtual bool isAircraftPartsHistoryEnabled() const = 0;
|
||||
|
||||
//! Enable storing of aircraft parts
|
||||
virtual void enableAircraftPartsHistory(bool enabled) = 0;
|
||||
|
||||
// ------------------------ testing ------------------------
|
||||
|
||||
//! Create dummy ATC stations for performance tests etc.
|
||||
|
||||
Reference in New Issue
Block a user