18 #ifndef INCLUDE_LOCALOUTPUT_H 19 #define INCLUDE_LOCALOUTPUT_H 28 #include <QNetworkRequest> 34 class QNetworkAccessManager;
80 m_startStop(startStop)
101 m_sampleRate(sampleRate),
102 m_centerFrequency(centerFrequency)
111 virtual bool start();
129 QString& errorMessage);
133 const QStringList& deviceSettingsKeys,
135 QString& errorMessage);
139 QString& errorMessage);
143 QString& errorMessage);
148 QString& errorMessage);
172 #endif // INCLUDE_LOCALOUTPUT_H
virtual void setMessageQueueToGUI(MessageQueue *queue)
FileRecord * m_fileSink
File sink to record device I/Q output.
virtual int webapiSettingsPutPatch(bool force, const QStringList &deviceSettingsKeys, SWGSDRangel::SWGDeviceSettings &response, QString &errorMessage)
void applySettings(const LocalOutputSettings &settings, bool force=false)
static MsgStartStop * create(bool startStop)
void webapiFormatDeviceReport(SWGSDRangel::SWGDeviceReport &response)
virtual void setSampleRate(int sampleRate)
For when the sink sample rate is set externally.
QNetworkRequest m_networkRequest
MsgReportSampleRateAndFrequency(int sampleRate, qint64 centerFrequency)
virtual void setCenterFrequency(qint64 centerFrequency)
virtual int webapiReportGet(SWGSDRangel::SWGDeviceReport &response, QString &errorMessage)
QString m_deviceDescription
std::time_t getStartingTimeStamp() const
bool getStartStop() const
void webapiReverseSendStartStop(bool start)
int getSampleRate() const
#define MESSAGE_CLASS_DECLARATION
void webapiFormatDeviceSettings(SWGSDRangel::SWGDeviceSettings &response, const LocalOutputSettings &settings)
virtual bool deserialize(const QByteArray &data)
LocalOutputSettings m_settings
virtual int webapiSettingsGet(SWGSDRangel::SWGDeviceSettings &response, QString &errorMessage)
static MsgReportSampleRateAndFrequency * create(int sampleRate, qint64 centerFrequency)
virtual int webapiRunGet(SWGSDRangel::SWGDeviceState &response, QString &errorMessage)
virtual const QString & getDeviceDescription() const
MsgStartStop(bool startStop)
virtual int getSampleRate() const
Sample rate exposed by the sink.
QNetworkAccessManager * m_networkManager
void networkManagerFinished(QNetworkReply *reply)
virtual quint64 getCenterFrequency() const
Center frequency exposed by the sink.
virtual int webapiRun(bool run, SWGSDRangel::SWGDeviceState &response, QString &errorMessage)
virtual void init()
initializations to be done when all collaborating objects are created and possibly connected ...
virtual QByteArray serialize() const
LocalOutput(DeviceAPI *deviceAPI)
void webapiReverseSendSettings(QList< QString > &deviceSettingsKeys, const LocalOutputSettings &settings, bool force)
virtual bool handleMessage(const Message &message)
int getCenterFrequency() const