6 #ifndef SWIFT_GUI_COMPONENTS_INTERPOLATIONLOGDISPLAY_H
7 #define SWIFT_GUI_COMPONENTS_INTERPOLATIONLOGDISPLAY_H
11 #include <QScopedPointer>
12 #include <QStringListModel>
26 class CInterpolationLogDisplay;
30 class CAirspaceMonitor;
43 static const QStringList &getLogCategories();
69 void linkWithAirspaceMonitor();
76 void getLogAmdDisplayLastInterpolation();
82 void displayLoopback();
85 void onSliderChanged(
int timeSecs);
88 void onCallsignEntered();
91 void onPseudoElevationToggled(
bool checked);
94 void toggleStartStop();
97 void followInSimulator();
109 void onAboutToShutdown();
112 void onSimulatorUnloaded();
122 void onSimulatorStatusChanged(swift::core::ISimulator::SimulatorStatus status);
132 void onInjectElevation();
135 void onElevationHistoryCountFinished();
138 void resetStatistics();
141 void resetLastSentValues();
147 void clearElevationResults();
150 void clearLogCommand();
153 void writeLogCommand();
156 void logPosCommand();
159 bool checkLogPrerequisites();
162 void initPartsView();
165 void displayElevationRequestReceive();
171 void requestElevationClicked();
177 void requestElevationAtPosition();
180 void requestRecalculateAll();
188 QScopedPointer<Ui::CInterpolationLogDisplay> ui;
189 QTimer m_updateTimer;
190 QPointer<swift::core::ISimulator> m_simulator;
191 QPointer<swift::core::CAirspaceMonitor> m_airspaceMonitor;
195 int m_elvRequested = 0;
196 int m_elvReceived = 0;
197 int m_elvRequestedLoggedCs = 0;
198 int m_elvReceivedLoggedCs = 0;
200 int m_elvHistoryCount = -1;
201 QStringListModel *m_elvHistoryModel =
nullptr;
203 static const QString &startText();
204 static const QString &stopText();
Keeps track of other entities in the airspace: aircraft, ATC stations, etc. Central instance of data ...
Interface to a simulator.
Using this class provides a QFrame with the overlay functionality already integrated.
Display live data of interpolation.
Base class with a member CIdentifier to be inherited by a class which has an identity in the environm...
Value object encapsulating information of aircraft's parts.
Value object encapsulating information of an aircraft's situation.
List of aircraft situations.
Value object encapsulating information of a callsign.
Plane of same elevation, can be a single point or larger area (e.g. airport)
Backend services of the swift project, like dealing with the network or the simulators.
High level reusable GUI components.
Log entry for situation interpolation.
#define SWIFT_GUI_EXPORT
Export a class or function from the library.