6 #ifndef SWIFT_SIMPLUGIN_EMULATED_SIMULATOREMULATEDMONITORDIALOG_H
7 #define SWIFT_SIMPLUGIN_EMULATED_SIMULATOREMULATEDMONITORDIALOG_H
10 #include <QScopedPointer>
21 class CSimulatorEmulatedMonitorDialog;
23 namespace swift::simplugin::emulated
25 class CSimulatorEmulated;
51 void appendReceivingCall(
const QString &
function,
const QString &p1 = {},
const QString &p2 = {},
52 const QString &p3 = {});
55 void appendSendingCall(
const QString &
function,
const QString &p1 = {},
const QString &p2 = {},
56 const QString &p3 = {});
68 static int constexpr MaxLogMessages = 500;
71 void appendFunctionCall(
const QString &
function,
const QString &p1 = {},
const QString &p2 = {},
72 const QString &p3 = {});
75 void onSimulatorValuesChanged();
87 void changeSituationFromUi();
90 void changePartsFromUi();
93 void setSimulatorUiValues();
96 void setInternalAircraftUiValues();
99 void timerBasedUiUpdates();
102 void resetStatistics();
105 void interpolatorLogButton();
108 void enableInterpolationLogButtons(
bool enable);
114 void addAutoPublishTestData();
117 bool canUseSimulator()
const;
119 QScopedPointer<Ui::CSimulatorEmulatedMonitorDialog> ui;
121 QTimer m_uiUpdateTimer;
Base class with a member CIdentifier to be inherited by a class which has an identity in the environm...
Streamable status message, e.g.
Status messages, e.g. from Core -> GUI.
Value object encapsulating information of a text message.
Comprehensive information of an aircraft.
Simple hardcoded info about the corresponding simulator.
swift simulator implementation
Monitor widget for the pseudo driver.
CSimulatorEmulatedMonitorDialog(CSimulatorEmulated *simulator, QWidget *parent=nullptr)
Ctor.
void appendStatusMessageToList(const swift::misc::CStatusMessage &statusMessage)
Append status message.
void appendReceivingCall(const QString &function, const QString &p1={}, const QString &p2={}, const QString &p3={})
Receiving call to be written in log widget.
void displayStatusMessage(const swift::misc::CStatusMessage &message)
Display status message.
void updateWindowTitleAndUiValues(const swift::misc::simulation::CSimulatorInfo &info)
The title.
void appendStatusMessagesToList(const swift::misc::CStatusMessageList &statusMessages)
Append status messages.
void appendSendingCall(const QString &function, const QString &p1={}, const QString &p2={}, const QString &p3={})
Sending call to be written in log widget.
virtual ~CSimulatorEmulatedMonitorDialog()
Dtor.
static const QStringList & getLogCategories()
Log categories.
void displayTextMessage(const swift::misc::network::CTextMessage &message)
Display text message.