18 #ifndef INCLUDE_HACKRFOUTPUT_H 19 #define INCLUDE_HACKRFOUTPUT_H 22 #include <QNetworkRequest> 25 #include "libhackrf/hackrf.h" 30 class QNetworkAccessManager;
77 m_startStop(startStop)
103 virtual bool start();
120 QString& errorMessage);
124 const QStringList& deviceSettingsKeys,
126 QString& errorMessage);
130 QString& errorMessage);
135 QString& errorMessage);
162 #endif // INCLUDE_HACKRFINPUT_H
struct hackrf_device * m_dev
virtual int getSampleRate() const
Sample rate exposed by the sink.
QNetworkRequest m_networkRequest
virtual const QString & getDeviceDescription() const
void webapiReverseSendSettings(QList< QString > &deviceSettingsKeys, const HackRFOutputSettings &settings, bool force)
void webapiFormatDeviceSettings(SWGSDRangel::SWGDeviceSettings &response, const HackRFOutputSettings &settings)
virtual bool deserialize(const QByteArray &data)
virtual int webapiSettingsGet(SWGSDRangel::SWGDeviceSettings &response, QString &errorMessage)
HackRFOutput(DeviceAPI *deviceAPI)
virtual QByteArray serialize() const
MsgStartStop(bool startStop)
virtual quint64 getCenterFrequency() const
Center frequency exposed by the sink.
virtual void setSampleRate(int sampleRate)
For when the sink sample rate is set externally.
HackRFOutputSettings m_settings
virtual void init()
initializations to be done when all collaborating objects are created and possibly connected ...
virtual bool handleMessage(const Message &message)
#define MESSAGE_CLASS_DECLARATION
QString m_deviceDescription
static MsgReportHackRF * create()
virtual void setMessageQueueToGUI(MessageQueue *queue)
virtual void setCenterFrequency(qint64 centerFrequency)
virtual int webapiRun(bool run, SWGSDRangel::SWGDeviceState &response, QString &errorMessage)
virtual int webapiRunGet(SWGSDRangel::SWGDeviceState &response, QString &errorMessage)
bool getStartStop() const
void webapiReverseSendStartStop(bool start)
HackRFOutputThread * m_hackRFThread
void setDeviceCenterFrequency(quint64 freq_hz, qint32 LOppmTenths)
QNetworkAccessManager * m_networkManager
DeviceHackRFParams m_sharedParams
static MsgStartStop * create(bool startStop)
MessageQueue * m_guiMessageQueue
Input message queue to the GUI.
virtual int webapiSettingsPutPatch(bool force, const QStringList &deviceSettingsKeys, SWGSDRangel::SWGDeviceSettings &response, QString &errorMessage)
bool applySettings(const HackRFOutputSettings &settings, bool force)
void networkManagerFinished(QNetworkReply *reply)