SDRAngel
4.11.5
Developer docs for <a href="https://github.com/f4exb/sdrangel">SDRangel<\a>, an Open Source Qt5 / OpenGL 3.0+ SDR and signal analyzer frontend to various hardware.
|
#include <bladerf2output.h>
Classes | |
class | MsgConfigureBladeRF2 |
class | MsgReportGainRange |
class | MsgStartStop |
Public Member Functions | |
BladeRF2Output (DeviceAPI *deviceAPI) | |
virtual | ~BladeRF2Output () |
virtual void | destroy () |
virtual void | init () |
initializations to be done when all collaborating objects are created and possibly connected More... | |
virtual bool | start () |
virtual void | stop () |
BladeRF2OutputThread * | getThread () |
void | setThread (BladeRF2OutputThread *thread) |
virtual QByteArray | serialize () const |
virtual bool | deserialize (const QByteArray &data) |
virtual void | setMessageQueueToGUI (MessageQueue *queue) |
virtual const QString & | getDeviceDescription () const |
virtual int | getSampleRate () const |
Sample rate exposed by the sink. More... | |
virtual void | setSampleRate (int sampleRate) |
For when the sink sample rate is set externally. More... | |
virtual quint64 | getCenterFrequency () const |
Center frequency exposed by the sink. More... | |
virtual void | setCenterFrequency (qint64 centerFrequency) |
void | getFrequencyRange (uint64_t &min, uint64_t &max, int &step) |
void | getSampleRateRange (int &min, int &max, int &step) |
void | getBandwidthRange (int &min, int &max, int &step) |
void | getGlobalGainRange (int &min, int &max, int &step) |
virtual bool | handleMessage (const Message &message) |
virtual int | webapiSettingsGet (SWGSDRangel::SWGDeviceSettings &response, QString &errorMessage) |
virtual int | webapiSettingsPutPatch (bool force, const QStringList &deviceSettingsKeys, SWGSDRangel::SWGDeviceSettings &response, QString &errorMessage) |
virtual int | webapiReportGet (SWGSDRangel::SWGDeviceReport &response, QString &errorMessage) |
virtual int | webapiRunGet (SWGSDRangel::SWGDeviceState &response, QString &errorMessage) |
virtual int | webapiRun (bool run, SWGSDRangel::SWGDeviceState &response, QString &errorMessage) |
Public Member Functions inherited from DeviceSampleSink | |
DeviceSampleSink () | |
virtual | ~DeviceSampleSink () |
MessageQueue * | getInputMessageQueue () |
MessageQueue * | getMessageQueueToGUI () |
SampleSourceFifo * | getSampleFifo () |
Private Slots | |
void | networkManagerFinished (QNetworkReply *reply) |
Private Member Functions | |
bool | openDevice () |
void | closeDevice () |
BladeRF2OutputThread * | findThread () |
void | moveThreadToBuddy () |
bool | applySettings (const BladeRF2OutputSettings &settings, bool force) |
int | getNbChannels () |
bool | setDeviceCenterFrequency (struct bladerf *dev, int requestedChannel, quint64 freq_hz, int loPpmTenths) |
void | webapiFormatDeviceSettings (SWGSDRangel::SWGDeviceSettings &response, const BladeRF2OutputSettings &settings) |
void | webapiFormatDeviceReport (SWGSDRangel::SWGDeviceReport &response) |
void | webapiReverseSendSettings (QList< QString > &deviceSettingsKeys, const BladeRF2OutputSettings &settings, bool force) |
void | webapiReverseSendStartStop (bool start) |
Private Attributes | |
DeviceAPI * | m_deviceAPI |
QMutex | m_mutex |
BladeRF2OutputSettings | m_settings |
struct bladerf * | m_dev |
BladeRF2OutputThread * | m_thread |
QString | m_deviceDescription |
DeviceBladeRF2Shared | m_deviceShared |
bool | m_running |
QNetworkAccessManager * | m_networkManager |
QNetworkRequest | m_networkRequest |
Additional Inherited Members | |
Public Types inherited from DeviceSampleSink | |
enum | fcPos_t { FC_POS_INFRA = 0, FC_POS_SUPRA, FC_POS_CENTER } |
Static Public Member Functions inherited from DeviceSampleSink | |
static qint64 | calculateDeviceCenterFrequency (quint64 centerFrequency, qint64 transverterDeltaFrequency, int log2Interp, fcPos_t fcPos, quint32 devSampleRate, bool transverterMode=false) |
static qint64 | calculateCenterFrequency (quint64 deviceCenterFrequency, qint64 transverterDeltaFrequency, int log2Interp, fcPos_t fcPos, quint32 devSampleRate, bool transverterMode=false) |
static qint32 | calculateFrequencyShift (int log2Interp, fcPos_t fcPos, quint32 devSampleRate) |
Protected Slots inherited from DeviceSampleSink | |
void | handleInputMessages () |
Protected Attributes inherited from DeviceSampleSink | |
SampleSourceFifo | m_sampleSourceFifo |
MessageQueue | m_inputMessageQueue |
Input queue to the sink. More... | |
MessageQueue * | m_guiMessageQueue |
Input message queue to the GUI. More... | |
Definition at line 36 of file bladerf2output.h.
BladeRF2Output::BladeRF2Output | ( | DeviceAPI * | deviceAPI | ) |
Definition at line 45 of file bladerf2output.cpp.
Referenced by BladeRF2Output::MsgReportGainRange::MsgReportGainRange().
|
virtual |
Definition at line 59 of file bladerf2output.cpp.
References closeDevice(), m_networkManager, m_running, networkManagerFinished(), and stop().
Referenced by BladeRF2Output::MsgReportGainRange::MsgReportGainRange().
|
private |
Definition at line 699 of file bladerf2output.cpp.
References DeviceBladeRF2Shared::MsgReportBuddyChange::create(), BladeRF2Output::MsgReportGainRange::create(), findThread(), DeviceBladeRF2::getDev(), DeviceAPI::getDeviceEngineInputMessageQueue(), DeviceAPI::getDeviceItemIndex(), BladeRF2OutputThread::getFifo(), getGlobalGainRange(), DeviceSampleSink::getMessageQueueToGUI(), getNbChannels(), DeviceAPI::getSinkBuddies(), DeviceAPI::getSourceBuddies(), BladeRF2OutputSettings::m_bandwidth, BladeRF2OutputSettings::m_biasTee, BladeRF2OutputSettings::m_centerFrequency, DeviceBladeRF2Shared::m_dev, m_deviceAPI, m_deviceShared, BladeRF2OutputSettings::m_devSampleRate, BladeRF2OutputSettings::m_globalGain, BladeRF2OutputSettings::m_log2Interp, BladeRF2OutputSettings::m_LOppmTenths, BladeRF2OutputSettings::m_reverseAPIAddress, BladeRF2OutputSettings::m_reverseAPIDeviceIndex, BladeRF2OutputSettings::m_reverseAPIPort, DeviceBladeRF2Shared::m_sampleFifoLengthInSeconds, DeviceBladeRF2Shared::m_sampleFifoMinSize, DeviceBladeRF2Shared::m_sampleFifoMinSize32, DeviceSampleSink::m_sampleSourceFifo, m_settings, BladeRF2OutputSettings::m_transverterDeltaFrequency, BladeRF2OutputSettings::m_transverterMode, BladeRF2OutputSettings::m_useReverseAPI, leansdr::max(), leansdr::min(), MessageQueue::push(), SampleSourceFifo::resize(), DeviceBladeRF2::setBiasTeeTx(), setDeviceCenterFrequency(), BladeRF2OutputThread::setFifo(), BladeRF2OutputThread::setLog2Interpolation(), and webapiReverseSendSettings().
Referenced by handleMessage(), init(), start(), and stop().
|
private |
Definition at line 150 of file bladerf2output.cpp.
References DeviceBladeRF2::close(), DeviceAPI::getSinkBuddies(), DeviceAPI::getSourceBuddies(), DeviceBladeRF2Shared::m_channel, DeviceBladeRF2Shared::m_dev, m_deviceAPI, m_deviceShared, m_running, DeviceBladeRF2Shared::m_sink, m_thread, moveThreadToBuddy(), and stop().
Referenced by ~BladeRF2Output().
|
virtual |
Implements DeviceSampleSink.
Definition at line 487 of file bladerf2output.cpp.
References BladeRF2Output::MsgConfigureBladeRF2::create(), BladeRF2OutputSettings::deserialize(), DeviceSampleSink::m_guiMessageQueue, DeviceSampleSink::m_inputMessageQueue, m_settings, MessageQueue::push(), and BladeRF2OutputSettings::resetToDefaults().
Referenced by setThread().
|
virtual |
Implements DeviceSampleSink.
Definition at line 71 of file bladerf2output.cpp.
Referenced by BladeRF2Output::MsgReportGainRange::MsgReportGainRange().
|
private |
Definition at line 182 of file bladerf2output.cpp.
References DeviceAPI::getSinkBuddies(), getThread(), m_deviceAPI, and m_thread.
Referenced by applySettings(), getNbChannels(), start(), and stop().
void BladeRF2Output::getBandwidthRange | ( | int & | min, |
int & | max, | ||
int & | step | ||
) |
Definition at line 573 of file bladerf2output.cpp.
References DeviceBladeRF2::getBandwidthRangeTx(), DeviceBladeRF2Shared::m_dev, and m_deviceShared.
Referenced by BladeRF2OutputGui::BladeRF2OutputGui(), and setSampleRate().
|
virtual |
Center frequency exposed by the sink.
Implements DeviceSampleSink.
Definition at line 520 of file bladerf2output.cpp.
References BladeRF2OutputSettings::m_centerFrequency, and m_settings.
Referenced by setSampleRate().
|
virtual |
Implements DeviceSampleSink.
Definition at line 509 of file bladerf2output.cpp.
References m_deviceDescription.
Referenced by setMessageQueueToGUI().
Definition at line 559 of file bladerf2output.cpp.
References DeviceBladeRF2::getFrequencyRangeTx(), DeviceBladeRF2Shared::m_dev, and m_deviceShared.
Referenced by BladeRF2OutputGui::BladeRF2OutputGui(), setSampleRate(), and BladeRF2OutputGui::updateFrequencyLimits().
void BladeRF2Output::getGlobalGainRange | ( | int & | min, |
int & | max, | ||
int & | step | ||
) |
Definition at line 580 of file bladerf2output.cpp.
References DeviceBladeRF2::getGlobalGainRangeTx(), DeviceBladeRF2Shared::m_dev, and m_deviceShared.
Referenced by applySettings(), BladeRF2OutputGui::BladeRF2OutputGui(), BladeRF2OutputGui::handleMessage(), and setSampleRate().
|
private |
Definition at line 939 of file bladerf2output.cpp.
References findThread(), and BladeRF2OutputThread::getNbChannels().
Referenced by applySettings().
|
virtual |
Sample rate exposed by the sink.
Implements DeviceSampleSink.
Definition at line 514 of file bladerf2output.cpp.
References BladeRF2OutputSettings::m_devSampleRate, BladeRF2OutputSettings::m_log2Interp, and m_settings.
Referenced by setMessageQueueToGUI().
void BladeRF2Output::getSampleRateRange | ( | int & | min, |
int & | max, | ||
int & | step | ||
) |
Definition at line 566 of file bladerf2output.cpp.
References DeviceBladeRF2::getSampleRateRangeTx(), DeviceBladeRF2Shared::m_dev, and m_deviceShared.
Referenced by BladeRF2OutputGui::BladeRF2OutputGui(), BladeRF2OutputGui::displaySampleRate(), and setSampleRate().
|
inline |
Definition at line 113 of file bladerf2output.h.
References m_thread.
Referenced by findThread().
|
virtual |
Implements DeviceSampleSink.
Definition at line 587 of file bladerf2output.cpp.
References applySettings(), BladeRF2Output::MsgConfigureBladeRF2::create(), DeviceBladeRF2Shared::MsgReportBuddyChange::getCenterFrequency(), DeviceBladeRF2::getDev(), DeviceAPI::getDeviceEngineInputMessageQueue(), DeviceAPI::getDeviceItemIndex(), DeviceBladeRF2Shared::MsgReportBuddyChange::getDevSampleRate(), BladeRF2Output::MsgConfigureBladeRF2::getForce(), DeviceBladeRF2Shared::MsgReportBuddyChange::getLOppmTenths(), DeviceSampleSink::getMessageQueueToGUI(), DeviceBladeRF2Shared::MsgReportBuddyChange::getRxElseTx(), BladeRF2Output::MsgConfigureBladeRF2::getSettings(), BladeRF2Output::MsgStartStop::getStartStop(), DeviceAPI::initDeviceEngine(), BladeRF2OutputSettings::m_bandwidth, BladeRF2OutputSettings::m_biasTee, BladeRF2OutputSettings::m_centerFrequency, DeviceBladeRF2Shared::m_dev, m_deviceAPI, m_deviceShared, BladeRF2OutputSettings::m_devSampleRate, BladeRF2OutputSettings::m_log2Interp, BladeRF2OutputSettings::m_LOppmTenths, m_settings, BladeRF2OutputSettings::m_useReverseAPI, Message::match(), MessageQueue::push(), DeviceAPI::startDeviceEngine(), DeviceAPI::stopDeviceEngine(), and webapiReverseSendStartStop().
Referenced by setSampleRate().
|
virtual |
initializations to be done when all collaborating objects are created and possibly connected
Implements DeviceSampleSink.
Definition at line 177 of file bladerf2output.cpp.
References applySettings(), and m_settings.
Referenced by BladeRF2Output::MsgReportGainRange::MsgReportGainRange().
|
private |
Definition at line 214 of file bladerf2output.cpp.
References DeviceAPI::getSinkBuddies(), m_deviceAPI, m_thread, and setThread().
Referenced by closeDevice().
|
privateslot |
Definition at line 1208 of file bladerf2output.cpp.
Referenced by ~BladeRF2Output().
|
private |
Definition at line 76 of file bladerf2output.cpp.
References DeviceAPI::getBuddySharedPtr(), DeviceAPI::getDeviceItemIndex(), DeviceAPI::getSamplingDeviceSerial(), DeviceAPI::getSinkBuddies(), DeviceAPI::getSourceBuddies(), DeviceBladeRF2Shared::m_channel, DeviceBladeRF2Shared::m_dev, m_deviceAPI, m_deviceShared, BladeRF2OutputSettings::m_devSampleRate, BladeRF2OutputSettings::m_log2Interp, DeviceSampleSink::m_sampleSourceFifo, m_settings, DeviceBladeRF2Shared::m_sink, DeviceBladeRF2::open(), SampleSourceFifo::resize(), and DeviceAPI::setBuddySharedPtr().
|
virtual |
Implements DeviceSampleSink.
Definition at line 482 of file bladerf2output.cpp.
References m_settings, and BladeRF2OutputSettings::serialize().
Referenced by setThread().
|
virtual |
Implements DeviceSampleSink.
Definition at line 525 of file bladerf2output.cpp.
References BladeRF2Output::MsgConfigureBladeRF2::create(), BladeRF2OutputSettings::m_centerFrequency, DeviceSampleSink::m_guiMessageQueue, DeviceSampleSink::m_inputMessageQueue, m_settings, and MessageQueue::push().
Referenced by setSampleRate().
|
private |
Definition at line 540 of file bladerf2output.cpp.
Referenced by applySettings().
|
inlinevirtual |
Implements DeviceSampleSink.
Definition at line 119 of file bladerf2output.h.
References getDeviceDescription(), getSampleRate(), and DeviceSampleSink::m_guiMessageQueue.
Referenced by BladeRF2OutputGui::BladeRF2OutputGui().
|
inlinevirtual |
For when the sink sample rate is set externally.
Implements DeviceSampleSink.
Definition at line 122 of file bladerf2output.h.
References getBandwidthRange(), getCenterFrequency(), getFrequencyRange(), getGlobalGainRange(), getSampleRateRange(), handleMessage(), leansdr::max(), leansdr::min(), setCenterFrequency(), webapiReportGet(), webapiRun(), webapiRunGet(), webapiSettingsGet(), and webapiSettingsPutPatch().
|
inline |
Definition at line 114 of file bladerf2output.h.
References deserialize(), m_thread, and serialize().
Referenced by moveThreadToBuddy().
|
virtual |
Implements DeviceSampleSink.
Definition at line 231 of file bladerf2output.cpp.
References applySettings(), DeviceBladeRF2::closeTx(), findThread(), DeviceBladeRF2::getDev(), DeviceAPI::getDeviceItemIndex(), BladeRF2OutputThread::getFifo(), BladeRF2OutputThread::getLog2Interpolation(), BladeRF2OutputThread::getNbChannels(), DeviceAPI::getSinkBuddies(), i, DeviceBladeRF2Shared::m_dev, m_deviceAPI, m_deviceShared, BladeRF2OutputSettings::m_log2Interp, m_running, DeviceSampleSink::m_sampleSourceFifo, m_settings, m_thread, DeviceBladeRF2::openTx(), BladeRF2OutputThread::setFifo(), BladeRF2OutputThread::setLog2Interpolation(), BladeRF2OutputThread::startWork(), and BladeRF2OutputThread::stopWork().
Referenced by BladeRF2Output::MsgReportGainRange::MsgReportGainRange().
|
virtual |
Implements DeviceSampleSink.
Definition at line 359 of file bladerf2output.cpp.
References applySettings(), DeviceBladeRF2::closeTx(), findThread(), DeviceBladeRF2::getDev(), DeviceAPI::getDeviceItemIndex(), BladeRF2OutputThread::getFifo(), BladeRF2OutputThread::getLog2Interpolation(), BladeRF2OutputThread::getNbChannels(), DeviceAPI::getSinkBuddies(), i, DeviceBladeRF2Shared::m_dev, m_deviceAPI, m_deviceShared, m_running, m_settings, m_thread, DeviceBladeRF2::openTx(), BladeRF2OutputThread::setFifo(), BladeRF2OutputThread::setLog2Interpolation(), BladeRF2OutputThread::startWork(), and BladeRF2OutputThread::stopWork().
Referenced by closeDevice(), BladeRF2Output::MsgReportGainRange::MsgReportGainRange(), and ~BladeRF2Output().
|
private |
Definition at line 1056 of file bladerf2output.cpp.
References SWGSDRangel::SWGBladeRF2OutputReport::getBandwidthRange(), DeviceBladeRF2::getBandwidthRangeTx(), SWGSDRangel::SWGDeviceReport::getBladeRf2OutputReport(), SWGSDRangel::SWGBladeRF2OutputReport::getFrequencyRange(), DeviceBladeRF2::getFrequencyRangeTx(), SWGSDRangel::SWGBladeRF2OutputReport::getGlobalGainRange(), DeviceBladeRF2::getGlobalGainRangeTx(), SWGSDRangel::SWGBladeRF2OutputReport::getSampleRateRange(), DeviceBladeRF2::getSampleRateRangeTx(), DeviceBladeRF2Shared::m_dev, m_deviceShared, leansdr::max(), leansdr::min(), SWGSDRangel::SWGBladeRF2OutputReport::setBandwidthRange(), SWGSDRangel::SWGBladeRF2OutputReport::setFrequencyRange(), SWGSDRangel::SWGBladeRF2OutputReport::setGlobalGainRange(), SWGSDRangel::SWGFrequencyRange::setMax(), SWGSDRangel::SWGRange::setMax(), SWGSDRangel::SWGFrequencyRange::setMin(), SWGSDRangel::SWGRange::setMin(), SWGSDRangel::SWGBladeRF2OutputReport::setSampleRateRange(), SWGSDRangel::SWGRange::setStep(), and SWGSDRangel::SWGFrequencyRange::setStep().
Referenced by webapiReportGet().
|
private |
Definition at line 1032 of file bladerf2output.cpp.
References SWGSDRangel::SWGDeviceSettings::getBladeRf2OutputSettings(), SWGSDRangel::SWGBladeRF2OutputSettings::getReverseApiAddress(), BladeRF2OutputSettings::m_bandwidth, BladeRF2OutputSettings::m_biasTee, BladeRF2OutputSettings::m_centerFrequency, BladeRF2OutputSettings::m_devSampleRate, BladeRF2OutputSettings::m_globalGain, BladeRF2OutputSettings::m_log2Interp, BladeRF2OutputSettings::m_LOppmTenths, BladeRF2OutputSettings::m_reverseAPIAddress, BladeRF2OutputSettings::m_reverseAPIDeviceIndex, BladeRF2OutputSettings::m_reverseAPIPort, BladeRF2OutputSettings::m_transverterDeltaFrequency, BladeRF2OutputSettings::m_transverterMode, BladeRF2OutputSettings::m_useReverseAPI, SWGSDRangel::SWGBladeRF2OutputSettings::setBandwidth(), SWGSDRangel::SWGBladeRF2OutputSettings::setBiasTee(), SWGSDRangel::SWGBladeRF2OutputSettings::setCenterFrequency(), SWGSDRangel::SWGBladeRF2OutputSettings::setDevSampleRate(), SWGSDRangel::SWGBladeRF2OutputSettings::setGlobalGain(), SWGSDRangel::SWGBladeRF2OutputSettings::setLog2Interp(), SWGSDRangel::SWGBladeRF2OutputSettings::setLOppmTenths(), SWGSDRangel::SWGBladeRF2OutputSettings::setReverseApiAddress(), SWGSDRangel::SWGBladeRF2OutputSettings::setReverseApiDeviceIndex(), SWGSDRangel::SWGBladeRF2OutputSettings::setReverseApiPort(), SWGSDRangel::SWGBladeRF2OutputSettings::setTransverterDeltaFrequency(), SWGSDRangel::SWGBladeRF2OutputSettings::setTransverterMode(), and SWGSDRangel::SWGBladeRF2OutputSettings::setUseReverseApi().
Referenced by webapiSettingsGet(), and webapiSettingsPutPatch().
|
virtual |
Reimplemented from DeviceSampleSink.
Definition at line 1023 of file bladerf2output.cpp.
References SWGSDRangel::SWGDeviceReport::getBladeRf2OutputReport(), SWGSDRangel::SWGBladeRF2OutputReport::init(), SWGSDRangel::SWGDeviceReport::setBladeRf2OutputReport(), and webapiFormatDeviceReport().
Referenced by setSampleRate().
|
private |
Definition at line 1123 of file bladerf2output.cpp.
References SWGSDRangel::SWGDeviceSettings::asJson(), SWGSDRangel::SWGDeviceSettings::getBladeRf2OutputSettings(), DeviceAPI::getDeviceSetIndex(), BladeRF2OutputSettings::m_bandwidth, BladeRF2OutputSettings::m_biasTee, BladeRF2OutputSettings::m_centerFrequency, m_deviceAPI, BladeRF2OutputSettings::m_devSampleRate, BladeRF2OutputSettings::m_globalGain, BladeRF2OutputSettings::m_log2Interp, BladeRF2OutputSettings::m_LOppmTenths, m_networkManager, m_networkRequest, BladeRF2OutputSettings::m_reverseAPIAddress, BladeRF2OutputSettings::m_reverseAPIDeviceIndex, BladeRF2OutputSettings::m_reverseAPIPort, BladeRF2OutputSettings::m_transverterDeltaFrequency, BladeRF2OutputSettings::m_transverterMode, SWGSDRangel::SWGBladeRF2OutputSettings::setBandwidth(), SWGSDRangel::SWGBladeRF2OutputSettings::setBiasTee(), SWGSDRangel::SWGDeviceSettings::setBladeRf2OutputSettings(), SWGSDRangel::SWGBladeRF2OutputSettings::setCenterFrequency(), SWGSDRangel::SWGDeviceSettings::setDeviceHwType(), SWGSDRangel::SWGBladeRF2OutputSettings::setDevSampleRate(), SWGSDRangel::SWGDeviceSettings::setDirection(), SWGSDRangel::SWGBladeRF2OutputSettings::setGlobalGain(), SWGSDRangel::SWGBladeRF2OutputSettings::setLog2Interp(), SWGSDRangel::SWGBladeRF2OutputSettings::setLOppmTenths(), SWGSDRangel::SWGDeviceSettings::setOriginatorIndex(), SWGSDRangel::SWGBladeRF2OutputSettings::setTransverterDeltaFrequency(), and SWGSDRangel::SWGBladeRF2OutputSettings::setTransverterMode().
Referenced by applySettings().
|
private |
Definition at line 1180 of file bladerf2output.cpp.
References SWGSDRangel::SWGDeviceSettings::asJson(), DeviceAPI::getDeviceSetIndex(), m_deviceAPI, m_networkManager, m_networkRequest, BladeRF2OutputSettings::m_reverseAPIAddress, BladeRF2OutputSettings::m_reverseAPIDeviceIndex, BladeRF2OutputSettings::m_reverseAPIPort, m_settings, SWGSDRangel::SWGDeviceSettings::setDeviceHwType(), SWGSDRangel::SWGDeviceSettings::setDirection(), and SWGSDRangel::SWGDeviceSettings::setOriginatorIndex().
Referenced by handleMessage().
|
virtual |
Reimplemented from DeviceSampleSink.
Definition at line 1104 of file bladerf2output.cpp.
References BladeRF2Output::MsgStartStop::create(), DeviceAPI::getDeviceEngineStateStr(), SWGSDRangel::SWGDeviceState::getState(), m_deviceAPI, DeviceSampleSink::m_guiMessageQueue, DeviceSampleSink::m_inputMessageQueue, and MessageQueue::push().
Referenced by setSampleRate().
|
virtual |
Reimplemented from DeviceSampleSink.
Definition at line 1095 of file bladerf2output.cpp.
References DeviceAPI::getDeviceEngineStateStr(), SWGSDRangel::SWGDeviceState::getState(), and m_deviceAPI.
Referenced by setSampleRate().
|
virtual |
Reimplemented from DeviceSampleSink.
Definition at line 950 of file bladerf2output.cpp.
References SWGSDRangel::SWGDeviceSettings::getBladeRf2OutputSettings(), SWGSDRangel::SWGBladeRF2OutputSettings::init(), m_settings, SWGSDRangel::SWGDeviceSettings::setBladeRf2OutputSettings(), and webapiFormatDeviceSettings().
Referenced by setSampleRate().
|
virtual |
Reimplemented from DeviceSampleSink.
Definition at line 961 of file bladerf2output.cpp.
References BladeRF2Output::MsgConfigureBladeRF2::create(), SWGSDRangel::SWGBladeRF2OutputSettings::getBandwidth(), SWGSDRangel::SWGBladeRF2OutputSettings::getBiasTee(), SWGSDRangel::SWGDeviceSettings::getBladeRf2OutputSettings(), SWGSDRangel::SWGBladeRF2OutputSettings::getCenterFrequency(), SWGSDRangel::SWGBladeRF2OutputSettings::getDevSampleRate(), SWGSDRangel::SWGBladeRF2OutputSettings::getGlobalGain(), SWGSDRangel::SWGBladeRF2OutputSettings::getLog2Interp(), SWGSDRangel::SWGBladeRF2OutputSettings::getLOppmTenths(), SWGSDRangel::SWGBladeRF2OutputSettings::getReverseApiAddress(), SWGSDRangel::SWGBladeRF2OutputSettings::getReverseApiDeviceIndex(), SWGSDRangel::SWGBladeRF2OutputSettings::getReverseApiPort(), SWGSDRangel::SWGBladeRF2OutputSettings::getTransverterDeltaFrequency(), SWGSDRangel::SWGBladeRF2OutputSettings::getTransverterMode(), SWGSDRangel::SWGBladeRF2OutputSettings::getUseReverseApi(), BladeRF2OutputSettings::m_bandwidth, BladeRF2OutputSettings::m_biasTee, BladeRF2OutputSettings::m_centerFrequency, BladeRF2OutputSettings::m_devSampleRate, BladeRF2OutputSettings::m_globalGain, DeviceSampleSink::m_guiMessageQueue, DeviceSampleSink::m_inputMessageQueue, BladeRF2OutputSettings::m_log2Interp, BladeRF2OutputSettings::m_LOppmTenths, BladeRF2OutputSettings::m_reverseAPIAddress, BladeRF2OutputSettings::m_reverseAPIDeviceIndex, BladeRF2OutputSettings::m_reverseAPIPort, m_settings, BladeRF2OutputSettings::m_transverterDeltaFrequency, BladeRF2OutputSettings::m_transverterMode, BladeRF2OutputSettings::m_useReverseAPI, MessageQueue::push(), and webapiFormatDeviceSettings().
Referenced by setSampleRate().
|
private |
Definition at line 160 of file bladerf2output.h.
|
private |
Definition at line 157 of file bladerf2output.h.
Referenced by applySettings(), closeDevice(), findThread(), handleMessage(), moveThreadToBuddy(), openDevice(), start(), stop(), webapiReverseSendSettings(), webapiReverseSendStartStop(), webapiRun(), and webapiRunGet().
|
private |
Definition at line 162 of file bladerf2output.h.
Referenced by getDeviceDescription().
|
private |
Definition at line 163 of file bladerf2output.h.
Referenced by applySettings(), closeDevice(), getBandwidthRange(), getFrequencyRange(), getGlobalGainRange(), getSampleRateRange(), handleMessage(), openDevice(), start(), stop(), and webapiFormatDeviceReport().
|
private |
Definition at line 158 of file bladerf2output.h.
|
private |
Definition at line 165 of file bladerf2output.h.
Referenced by webapiReverseSendSettings(), webapiReverseSendStartStop(), and ~BladeRF2Output().
|
private |
Definition at line 166 of file bladerf2output.h.
Referenced by webapiReverseSendSettings(), and webapiReverseSendStartStop().
|
private |
Definition at line 164 of file bladerf2output.h.
Referenced by closeDevice(), start(), stop(), and ~BladeRF2Output().
|
private |
Definition at line 159 of file bladerf2output.h.
Referenced by applySettings(), deserialize(), getCenterFrequency(), getSampleRate(), handleMessage(), init(), openDevice(), serialize(), setCenterFrequency(), start(), stop(), webapiReverseSendStartStop(), webapiSettingsGet(), and webapiSettingsPutPatch().
|
private |
Definition at line 161 of file bladerf2output.h.
Referenced by closeDevice(), findThread(), getThread(), moveThreadToBuddy(), setThread(), start(), and stop().