refs #395, shifted airspace watchdog into analyzer

* analyzer will run in background and perform several airspace calculations
* watchdog now acts directly on network signals, no need to add/remove callsigns
This commit is contained in:
Klaus Basan
2015-04-22 02:03:12 +02:00
committed by Mathew Sutcliffe
parent 48188dd28d
commit 98812d3733
5 changed files with 197 additions and 103 deletions

View File

@@ -25,7 +25,7 @@
#include "network.h"
#include "vatsimbookingreader.h"
#include "vatsimdatafilereader.h"
#include "airspace_watchdog.h"
#include "airspace_analyzer.h"
namespace BlackCore
{
@@ -187,8 +187,7 @@ namespace BlackCore
INetwork *m_network = nullptr;
CVatsimBookingReader *m_vatsimBookingReader = nullptr;
CVatsimDataFileReader *m_vatsimDataFileReader = nullptr;
CAirspaceWatchdog m_atcWatchdog;
CAirspaceWatchdog m_aircraftWatchdog;
CAirspaceAnalyzer *m_analyzer = nullptr;
bool m_serverSupportsNameQuery = false; //!< not all servers support name query
bool m_connected = false; //!< retrieve data
bool m_sendInterimPositions = false;