6#ifndef SWIFT_SIMPLUGIN_EMULATED_SIMULATOREMULATEDMONITORDIALOG_H
7#define SWIFT_SIMPLUGIN_EMULATED_SIMULATOREMULATEDMONITORDIALOG_H
10#include <QScopedPointer>
21 class CSimulatorEmulatedMonitorDialog;
23namespace swift::simplugin::emulated
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();
81 void changeComFromUi(
const swift::misc::simulation::CSimulatedAircraft &aircraft);
84 void changeSelcalFromUi(
const swift::misc::aviation::CSelcal &selcal);
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;
120 CSimulatorEmulated *m_simulator =
nullptr;
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.
swift simulator implementation
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.
~CSimulatorEmulatedMonitorDialog()
Dtor.
static const QStringList & getLogCategories()
Log categories.
void displayTextMessage(const swift::misc::network::CTextMessage &message)
Display text message.
QDialog(QWidget *parent, Qt::WindowFlags f)
QObject * parent() const const