18 #ifndef INCLUDE_BLADERFOUTPUT_H 19 #define INCLUDE_BLADERFOUTPUT_H 22 #include <QNetworkRequest> 24 #include "libbladeRF.h" 30 class QNetworkAccessManager;
76 m_startStop(startStop)
102 virtual bool start();
119 QString& errorMessage);
123 const QStringList& deviceSettingsKeys,
125 QString& errorMessage);
129 QString& errorMessage);
134 QString& errorMessage);
159 #endif // INCLUDE_BLADERFOUTPUT_H virtual QByteArray serialize() const
Bladerf1Output(DeviceAPI *deviceAPI)
virtual bool handleMessage(const Message &message)
virtual void init()
initializations to be done when all collaborating objects are created and possibly connected ...
bool getStartStop() const
virtual int webapiSettingsGet(SWGSDRangel::SWGDeviceSettings &response, QString &errorMessage)
MsgStartStop(bool startStop)
QNetworkRequest m_networkRequest
virtual const QString & getDeviceDescription() const
virtual void setCenterFrequency(qint64 centerFrequency)
void webapiFormatDeviceSettings(SWGSDRangel::SWGDeviceSettings &response, const BladeRF1OutputSettings &settings)
static MsgReportBladerf1 * create()
QString m_deviceDescription
virtual void setSampleRate(int sampleRate)
For when the sink sample rate is set externally.
virtual bool deserialize(const QByteArray &data)
virtual quint64 getCenterFrequency() const
Center frequency exposed by the sink.
bool applySettings(const BladeRF1OutputSettings &settings, bool force)
#define MESSAGE_CLASS_DECLARATION
virtual int webapiRun(bool run, SWGSDRangel::SWGDeviceState &response, QString &errorMessage)
virtual int webapiRunGet(SWGSDRangel::SWGDeviceState &response, QString &errorMessage)
QNetworkAccessManager * m_networkManager
void networkManagerFinished(QNetworkReply *reply)
Bladerf1OutputThread * m_bladerfThread
virtual int getSampleRate() const
Sample rate exposed by the sink.
DeviceBladeRF1Params m_sharedParams
void webapiReverseSendSettings(QList< QString > &deviceSettingsKeys, const BladeRF1OutputSettings &settings, bool force)
virtual void setMessageQueueToGUI(MessageQueue *queue)
BladeRF1OutputSettings m_settings
MessageQueue * m_guiMessageQueue
Input message queue to the GUI.
virtual int webapiSettingsPutPatch(bool force, const QStringList &deviceSettingsKeys, SWGSDRangel::SWGDeviceSettings &response, QString &errorMessage)
static MsgStartStop * create(bool startStop)
virtual ~Bladerf1Output()
void webapiReverseSendStartStop(bool start)