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 <bladerf1outputsettings.h>
Public Member Functions | |
BladeRF1OutputSettings () | |
void | resetToDefaults () |
QByteArray | serialize () const |
bool | deserialize (const QByteArray &data) |
Public Attributes | |
quint64 | m_centerFrequency |
qint32 | m_devSampleRate |
qint32 | m_vga1 |
qint32 | m_vga2 |
qint32 | m_bandwidth |
quint32 | m_log2Interp |
bool | m_xb200 |
bladerf_xb200_path | m_xb200Path |
bladerf_xb200_filter | m_xb200Filter |
bool | m_useReverseAPI |
QString | m_reverseAPIAddress |
uint16_t | m_reverseAPIPort |
uint16_t | m_reverseAPIDeviceIndex |
Definition at line 26 of file bladerf1outputsettings.h.
BladeRF1OutputSettings::BladeRF1OutputSettings | ( | ) |
Definition at line 24 of file bladerf1outputsettings.cpp.
References resetToDefaults().
bool BladeRF1OutputSettings::deserialize | ( | const QByteArray & | data | ) |
Definition at line 66 of file bladerf1outputsettings.cpp.
References SimpleDeserializer::getVersion(), SimpleDeserializer::isValid(), m_bandwidth, m_devSampleRate, m_log2Interp, m_reverseAPIAddress, m_reverseAPIDeviceIndex, m_reverseAPIPort, m_useReverseAPI, m_vga1, m_vga2, m_xb200, m_xb200Filter, m_xb200Path, SimpleDeserializer::readBool(), SimpleDeserializer::readS32(), SimpleDeserializer::readString(), SimpleDeserializer::readU32(), and resetToDefaults().
Referenced by Bladerf1OutputGui::deserialize(), and Bladerf1Output::deserialize().
void BladeRF1OutputSettings::resetToDefaults | ( | ) |
Definition at line 29 of file bladerf1outputsettings.cpp.
References m_bandwidth, m_centerFrequency, m_devSampleRate, m_log2Interp, m_reverseAPIAddress, m_reverseAPIDeviceIndex, m_reverseAPIPort, m_useReverseAPI, m_vga1, m_vga2, m_xb200, m_xb200Filter, and m_xb200Path.
Referenced by BladeRF1OutputSettings(), deserialize(), Bladerf1Output::deserialize(), and Bladerf1OutputGui::resetToDefaults().
QByteArray BladeRF1OutputSettings::serialize | ( | ) | const |
Definition at line 46 of file bladerf1outputsettings.cpp.
References SimpleSerializer::final(), m_bandwidth, m_devSampleRate, m_log2Interp, m_reverseAPIAddress, m_reverseAPIDeviceIndex, m_reverseAPIPort, m_useReverseAPI, m_vga1, m_vga2, m_xb200, m_xb200Filter, m_xb200Path, SimpleSerializer::writeBool(), SimpleSerializer::writeS32(), SimpleSerializer::writeString(), and SimpleSerializer::writeU32().
Referenced by Bladerf1OutputGui::serialize(), and Bladerf1Output::serialize().
qint32 BladeRF1OutputSettings::m_bandwidth |
Definition at line 31 of file bladerf1outputsettings.h.
Referenced by Bladerf1Output::applySettings(), deserialize(), Bladerf1OutputGui::displaySettings(), Bladerf1OutputGui::on_bandwidth_currentIndexChanged(), resetToDefaults(), serialize(), Bladerf1Output::webapiFormatDeviceSettings(), Bladerf1Output::webapiReverseSendSettings(), and Bladerf1Output::webapiSettingsPutPatch().
quint64 BladeRF1OutputSettings::m_centerFrequency |
Definition at line 27 of file bladerf1outputsettings.h.
Referenced by Bladerf1Output::applySettings(), Bladerf1OutputGui::displaySettings(), Bladerf1OutputGui::getCenterFrequency(), Bladerf1Output::getCenterFrequency(), Bladerf1OutputGui::on_centerFrequency_changed(), resetToDefaults(), Bladerf1OutputGui::setCenterFrequency(), Bladerf1Output::setCenterFrequency(), Bladerf1Output::webapiFormatDeviceSettings(), Bladerf1Output::webapiReverseSendSettings(), and Bladerf1Output::webapiSettingsPutPatch().
qint32 BladeRF1OutputSettings::m_devSampleRate |
Definition at line 28 of file bladerf1outputsettings.h.
Referenced by Bladerf1Output::applySettings(), deserialize(), Bladerf1OutputGui::displaySampleRate(), Bladerf1Output::getSampleRate(), Bladerf1OutputGui::on_interp_currentIndexChanged(), Bladerf1OutputGui::on_sampleRate_changed(), Bladerf1Output::openDevice(), resetToDefaults(), serialize(), Bladerf1Output::webapiFormatDeviceSettings(), Bladerf1Output::webapiReverseSendSettings(), and Bladerf1Output::webapiSettingsPutPatch().
quint32 BladeRF1OutputSettings::m_log2Interp |
Definition at line 32 of file bladerf1outputsettings.h.
Referenced by Bladerf1Output::applySettings(), deserialize(), Bladerf1OutputGui::displaySampleRate(), Bladerf1OutputGui::displaySettings(), Bladerf1Output::getSampleRate(), Bladerf1OutputGui::on_interp_currentIndexChanged(), Bladerf1OutputGui::on_sampleRate_changed(), Bladerf1Output::openDevice(), resetToDefaults(), serialize(), Bladerf1Output::start(), Bladerf1Output::webapiFormatDeviceSettings(), Bladerf1Output::webapiReverseSendSettings(), and Bladerf1Output::webapiSettingsPutPatch().
QString BladeRF1OutputSettings::m_reverseAPIAddress |
Definition at line 37 of file bladerf1outputsettings.h.
Referenced by Bladerf1Output::applySettings(), deserialize(), Bladerf1OutputGui::openDeviceSettingsDialog(), resetToDefaults(), serialize(), Bladerf1Output::webapiFormatDeviceSettings(), Bladerf1Output::webapiReverseSendSettings(), Bladerf1Output::webapiReverseSendStartStop(), and Bladerf1Output::webapiSettingsPutPatch().
uint16_t BladeRF1OutputSettings::m_reverseAPIDeviceIndex |
Definition at line 39 of file bladerf1outputsettings.h.
Referenced by Bladerf1Output::applySettings(), deserialize(), Bladerf1OutputGui::openDeviceSettingsDialog(), resetToDefaults(), serialize(), Bladerf1Output::webapiFormatDeviceSettings(), Bladerf1Output::webapiReverseSendSettings(), Bladerf1Output::webapiReverseSendStartStop(), and Bladerf1Output::webapiSettingsPutPatch().
uint16_t BladeRF1OutputSettings::m_reverseAPIPort |
Definition at line 38 of file bladerf1outputsettings.h.
Referenced by Bladerf1Output::applySettings(), deserialize(), Bladerf1OutputGui::openDeviceSettingsDialog(), resetToDefaults(), serialize(), Bladerf1Output::webapiFormatDeviceSettings(), Bladerf1Output::webapiReverseSendSettings(), Bladerf1Output::webapiReverseSendStartStop(), and Bladerf1Output::webapiSettingsPutPatch().
bool BladeRF1OutputSettings::m_useReverseAPI |
Definition at line 36 of file bladerf1outputsettings.h.
Referenced by Bladerf1Output::applySettings(), deserialize(), Bladerf1Output::handleMessage(), Bladerf1OutputGui::openDeviceSettingsDialog(), resetToDefaults(), serialize(), Bladerf1Output::webapiFormatDeviceSettings(), and Bladerf1Output::webapiSettingsPutPatch().
qint32 BladeRF1OutputSettings::m_vga1 |
Definition at line 29 of file bladerf1outputsettings.h.
Referenced by Bladerf1Output::applySettings(), deserialize(), Bladerf1OutputGui::displaySettings(), Bladerf1OutputGui::on_vga1_valueChanged(), resetToDefaults(), serialize(), Bladerf1Output::webapiFormatDeviceSettings(), Bladerf1Output::webapiReverseSendSettings(), and Bladerf1Output::webapiSettingsPutPatch().
qint32 BladeRF1OutputSettings::m_vga2 |
Definition at line 30 of file bladerf1outputsettings.h.
Referenced by Bladerf1Output::applySettings(), deserialize(), Bladerf1OutputGui::displaySettings(), Bladerf1OutputGui::on_vga2_valueChanged(), resetToDefaults(), serialize(), Bladerf1Output::webapiFormatDeviceSettings(), Bladerf1Output::webapiReverseSendSettings(), and Bladerf1Output::webapiSettingsPutPatch().
bool BladeRF1OutputSettings::m_xb200 |
Definition at line 33 of file bladerf1outputsettings.h.
Referenced by Bladerf1Output::applySettings(), deserialize(), Bladerf1OutputGui::displaySettings(), Bladerf1OutputGui::on_xb200_currentIndexChanged(), resetToDefaults(), serialize(), Bladerf1Output::webapiFormatDeviceSettings(), Bladerf1Output::webapiReverseSendSettings(), and Bladerf1Output::webapiSettingsPutPatch().
bladerf_xb200_filter BladeRF1OutputSettings::m_xb200Filter |
Definition at line 35 of file bladerf1outputsettings.h.
Referenced by Bladerf1Output::applySettings(), deserialize(), Bladerf1OutputGui::displaySettings(), Bladerf1OutputGui::on_xb200_currentIndexChanged(), resetToDefaults(), serialize(), Bladerf1Output::webapiFormatDeviceSettings(), Bladerf1Output::webapiReverseSendSettings(), and Bladerf1Output::webapiSettingsPutPatch().
bladerf_xb200_path BladeRF1OutputSettings::m_xb200Path |
Definition at line 34 of file bladerf1outputsettings.h.
Referenced by Bladerf1Output::applySettings(), deserialize(), Bladerf1OutputGui::displaySettings(), Bladerf1OutputGui::on_xb200_currentIndexChanged(), resetToDefaults(), serialize(), Bladerf1Output::webapiFormatDeviceSettings(), Bladerf1Output::webapiReverseSendSettings(), and Bladerf1Output::webapiSettingsPutPatch().