18 #ifndef INCLUDE_REMOTEOUTPUT_H 19 #define INCLUDE_REMOTEOUTPUT_H 28 #include <QNetworkRequest> 36 class QNetworkAccessManager;
101 m_startStop(startStop)
121 m_chunkCorrection(chunkCorrection)
130 virtual bool start();
148 QString& errorMessage);
152 const QStringList& deviceSettingsKeys,
154 QString& errorMessage);
158 QString& errorMessage);
162 QString& errorMessage);
167 QString& errorMessage);
198 void analyzeApiReply(
const QJsonObject& jsonObject,
const QString& answer);
208 #endif // INCLUDE_REMOTEOUTPUT_H
virtual QByteArray serialize() const
RemoteOutputThread * m_remoteOutputThread
QNetworkRequest m_networkRequest
RemoteOutput(DeviceAPI *deviceAPI)
std::time_t m_startingTimeStamp
virtual void setCenterFrequency(qint64 centerFrequency)
uint32_t m_nbRemoteSamplesSinceRateCorrection
virtual bool deserialize(const QByteArray &data)
std::time_t getStartingTimeStamp() const
virtual int webapiReportGet(SWGSDRangel::SWGDeviceReport &response, QString &errorMessage)
const QTimer & m_masterTimer
virtual int getSampleRate() const
Sample rate exposed by the sink.
virtual void setMessageQueueToGUI(MessageQueue *queue)
uint64_t m_centerFrequency
virtual bool handleMessage(const Message &message)
virtual int webapiRunGet(SWGSDRangel::SWGDeviceState &response, QString &errorMessage)
static const uint32_t NbSamplesForRateCorrection
RemoteOutputSettings m_settings
virtual void init()
initializations to be done when all collaborating objects are created and possibly connected ...
uint32_t m_lastSampleCount
void applySettings(const RemoteOutputSettings &settings, bool force=false)
QString m_deviceDescription
void analyzeApiReply(const QJsonObject &jsonObject, const QString &answer)
void webapiReverseSendSettings(QList< QString > &deviceSettingsKeys, const RemoteOutputSettings &settings, bool force)
uint64_t m_lastTimestampRateCorrection
virtual int webapiSettingsPutPatch(bool force, const QStringList &deviceSettingsKeys, SWGSDRangel::SWGDeviceSettings &response, QString &errorMessage)
static MsgStartStop * create(bool startStop)
uint32_t m_nbSamplesSinceRateCorrection
#define MESSAGE_CLASS_DECLARATION
virtual int webapiRun(bool run, SWGSDRangel::SWGDeviceState &response, QString &errorMessage)
virtual const QString & getDeviceDescription() const
virtual int webapiSettingsGet(SWGSDRangel::SWGDeviceSettings &response, QString &errorMessage)
virtual void setSampleRate(int sampleRate)
For when the sink sample rate is set externally.
uint32_t m_lastRemoteSampleCount
uint64_t m_lastRemoteTimestampRateCorrection
void webapiFormatDeviceSettings(SWGSDRangel::SWGDeviceSettings &response, const RemoteOutputSettings &settings)
MsgStartStop(bool startStop)
void sampleRateCorrection(double remoteTimeDeltaUs, double timeDeltaUs, uint32_t remoteSampleCount, uint32_t sampleCount)
bool getStartStop() const
void webapiReverseSendStartStop(bool start)
uint32_t m_tickMultiplier
void networkManagerFinished(QNetworkReply *reply)
virtual quint64 getCenterFrequency() const
Center frequency exposed by the sink.
void webapiFormatDeviceReport(SWGSDRangel::SWGDeviceReport &response)
int m_chunkSizeCorrection
MessageQueue * m_guiMessageQueue
Input message queue to the GUI.
QNetworkAccessManager * m_networkManager
unsigned __int64 uint64_t