18 #ifndef INCLUDE_REMOTEOUTPUTGUI_H 19 #define INCLUDE_REMOTEOUTPUTGUI_H 26 #include <QNetworkRequest> 35 class QNetworkAccessManager;
42 class RemoteOutputGui;
58 m_s = m_alpha*y + (1.0-m_alpha)*m_s;
78 virtual void destroy();
80 void setName(
const QString& name);
81 QString getName()
const;
83 void resetToDefaults();
86 QByteArray serialize()
const;
87 bool deserialize(
const QByteArray& data);
89 virtual bool handleMessage(
const Message& message);
92 Ui::RemoteOutputGui*
ui;
127 void blockApplySettings(
bool block);
128 void displaySettings();
130 void sendControl(
bool force =
false);
132 void updateSampleRate();
133 void updateTxDelayTooltip();
134 void displayEventCounts();
135 void displayEventStatus(
int recoverableCount,
int unrecoverableCount);
136 void displayEventTimer();
137 void analyzeApiReply(
const QJsonObject& jsonObject);
140 void handleInputMessages();
141 void on_sampleRate_changed(quint64 value);
142 void on_txDelay_valueChanged(
int value);
143 void on_nbFECBlocks_valueChanged(
int value);
144 void on_deviceIndex_returnPressed();
145 void on_channelIndex_returnPressed();
146 void on_apiAddress_returnPressed();
147 void on_apiPort_returnPressed();
148 void on_dataAddress_returnPressed();
149 void on_dataPort_returnPressed();
150 void on_apiApplyButton_clicked(
bool checked);
151 void on_dataApplyButton_clicked(
bool checked);
152 void on_startStop_toggled(
bool checked);
153 void on_eventCountsReset_clicked(
bool checked);
154 void updateHardware();
157 void networkManagerFinished(QNetworkReply *reply);
158 void openDeviceSettingsDialog(
const QPoint& p);
161 #endif // INCLUDE_REMOTEOUTPUTGUI_H
virtual void setCenterFrequency(qint64 centerFrequency)
virtual qint64 getCenterFrequency() const
QPalette m_paletteGreenText
RemoteOutputSettings m_settings
current settings
RemoteOutputSettings m_controlSettings
settings last sent to device via control port
uint32_t m_lastCountRecovered
MessageQueue m_inputMessageQueue
std::size_t m_nbSinceLastFlowCheck
QNetworkRequest m_networkRequest
RemoteOutputExpAvg(float alpha)
DeviceSampleSink * m_deviceSampleSink
uint64_t m_lastTimestampUs
uint32_t m_lastCountUnrecoverable
uint32_t m_countRecovered
uint32_t m_countUnrecoverable
QPalette m_paletteRedText
uint32_t m_lastSampleCount
quint64 m_deviceCenterFrequency
Center frequency in device.
DeviceUISet * m_deviceUISet
virtual MessageQueue * getInputMessageQueue()
QNetworkAccessManager * m_networkManager
QPalette m_paletteWhiteText
unsigned __int64 uint64_t