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 <fcdproplussettings.h>
Public Types | |
enum | fcPos_t { FC_POS_INFRA = 0, FC_POS_SUPRA, FC_POS_CENTER } |
Public Member Functions | |
FCDProPlusSettings () | |
void | resetToDefaults () |
QByteArray | serialize () const |
bool | deserialize (const QByteArray &data) |
Public Attributes | |
quint64 | m_centerFrequency |
bool | m_rangeLow |
bool | m_lnaGain |
bool | m_mixGain |
bool | m_biasT |
quint32 | m_ifGain |
qint32 | m_ifFilterIndex |
qint32 | m_rfFilterIndex |
qint32 | m_LOppmTenths |
quint32 | m_log2Decim |
fcPos_t | m_fcPos |
bool | m_dcBlock |
bool | m_iqImbalance |
bool | m_transverterMode |
qint64 | m_transverterDeltaFrequency |
QString | m_fileRecordName |
bool | m_useReverseAPI |
QString | m_reverseAPIAddress |
uint16_t | m_reverseAPIPort |
uint16_t | m_reverseAPIDeviceIndex |
Definition at line 23 of file fcdproplussettings.h.
Enumerator | |
---|---|
FC_POS_INFRA | |
FC_POS_SUPRA | |
FC_POS_CENTER |
Definition at line 24 of file fcdproplussettings.h.
FCDProPlusSettings::FCDProPlusSettings | ( | ) |
Definition at line 22 of file fcdproplussettings.cpp.
References resetToDefaults().
bool FCDProPlusSettings::deserialize | ( | const QByteArray & | data | ) |
Definition at line 76 of file fcdproplussettings.cpp.
References SimpleDeserializer::getVersion(), SimpleDeserializer::isValid(), m_biasT, m_dcBlock, m_fcPos, m_ifFilterIndex, m_ifGain, m_iqImbalance, m_log2Decim, m_LOppmTenths, m_mixGain, m_rangeLow, m_reverseAPIAddress, m_reverseAPIDeviceIndex, m_reverseAPIPort, m_rfFilterIndex, m_transverterDeltaFrequency, m_transverterMode, m_useReverseAPI, SimpleDeserializer::readBool(), SimpleDeserializer::readS32(), SimpleDeserializer::readS64(), SimpleDeserializer::readString(), SimpleDeserializer::readU32(), and resetToDefaults().
Referenced by FCDProPlusGui::deserialize(), and FCDProPlusInput::deserialize().
void FCDProPlusSettings::resetToDefaults | ( | ) |
Definition at line 27 of file fcdproplussettings.cpp.
References FC_POS_CENTER, m_biasT, m_centerFrequency, m_dcBlock, m_fcPos, m_fileRecordName, m_ifFilterIndex, m_ifGain, m_iqImbalance, m_lnaGain, m_log2Decim, m_LOppmTenths, m_mixGain, m_rangeLow, m_reverseAPIAddress, m_reverseAPIDeviceIndex, m_reverseAPIPort, m_rfFilterIndex, m_transverterDeltaFrequency, m_transverterMode, and m_useReverseAPI.
Referenced by deserialize(), FCDProPlusInput::deserialize(), FCDProPlusSettings(), and FCDProPlusGui::resetToDefaults().
QByteArray FCDProPlusSettings::serialize | ( | ) | const |
Definition at line 51 of file fcdproplussettings.cpp.
References SimpleSerializer::final(), m_biasT, m_dcBlock, m_fcPos, m_ifFilterIndex, m_ifGain, m_iqImbalance, m_log2Decim, m_LOppmTenths, m_mixGain, m_rangeLow, m_reverseAPIAddress, m_reverseAPIDeviceIndex, m_reverseAPIPort, m_rfFilterIndex, m_transverterDeltaFrequency, m_transverterMode, m_useReverseAPI, SimpleSerializer::writeBool(), SimpleSerializer::writeS32(), SimpleSerializer::writeS64(), SimpleSerializer::writeString(), and SimpleSerializer::writeU32().
Referenced by FCDProPlusGui::serialize(), and FCDProPlusInput::serialize().
bool FCDProPlusSettings::m_biasT |
Definition at line 34 of file fcdproplussettings.h.
Referenced by FCDProPlusInput::applySettings(), deserialize(), FCDProPlusGui::displaySettings(), FCDProPlusGui::on_checkBoxB_stateChanged(), resetToDefaults(), serialize(), FCDProPlusInput::webapiFormatDeviceSettings(), FCDProPlusInput::webapiReverseSendSettings(), and FCDProPlusInput::webapiSettingsPutPatch().
quint64 FCDProPlusSettings::m_centerFrequency |
Definition at line 30 of file fcdproplussettings.h.
Referenced by FCDProPlusInput::applySettings(), FCDProPlusGui::displaySettings(), FCDProPlusGui::getCenterFrequency(), FCDProPlusInput::getCenterFrequency(), FCDProPlusGui::on_centerFrequency_changed(), FCDProPlusGui::on_transverter_clicked(), resetToDefaults(), FCDProPlusGui::setCenterFrequency(), FCDProPlusInput::setCenterFrequency(), FCDProPlusInput::webapiFormatDeviceSettings(), FCDProPlusInput::webapiReverseSendSettings(), and FCDProPlusInput::webapiSettingsPutPatch().
bool FCDProPlusSettings::m_dcBlock |
Definition at line 41 of file fcdproplussettings.h.
Referenced by FCDProPlusInput::applySettings(), deserialize(), FCDProPlusGui::displaySettings(), FCDProPlusGui::on_dcOffset_toggled(), resetToDefaults(), serialize(), FCDProPlusInput::webapiFormatDeviceSettings(), FCDProPlusInput::webapiReverseSendSettings(), and FCDProPlusInput::webapiSettingsPutPatch().
fcPos_t FCDProPlusSettings::m_fcPos |
Definition at line 40 of file fcdproplussettings.h.
Referenced by FCDProPlusInput::applySettings(), deserialize(), FCDProPlusGui::displaySettings(), FCDProPlusGui::on_fcPos_currentIndexChanged(), resetToDefaults(), serialize(), FCDProPlusInput::webapiFormatDeviceSettings(), FCDProPlusInput::webapiReverseSendSettings(), and FCDProPlusInput::webapiSettingsPutPatch().
QString FCDProPlusSettings::m_fileRecordName |
Definition at line 45 of file fcdproplussettings.h.
Referenced by FCDProPlusInput::handleMessage(), resetToDefaults(), FCDProPlusInput::webapiFormatDeviceSettings(), FCDProPlusInput::webapiReverseSendSettings(), and FCDProPlusInput::webapiSettingsPutPatch().
qint32 FCDProPlusSettings::m_ifFilterIndex |
Definition at line 36 of file fcdproplussettings.h.
Referenced by FCDProPlusInput::applySettings(), deserialize(), FCDProPlusGui::displaySettings(), FCDProPlusGui::on_filterIF_currentIndexChanged(), resetToDefaults(), serialize(), FCDProPlusInput::webapiFormatDeviceSettings(), FCDProPlusInput::webapiReverseSendSettings(), and FCDProPlusInput::webapiSettingsPutPatch().
quint32 FCDProPlusSettings::m_ifGain |
Definition at line 35 of file fcdproplussettings.h.
Referenced by FCDProPlusInput::applySettings(), deserialize(), FCDProPlusGui::displaySettings(), FCDProPlusGui::on_ifGain_valueChanged(), resetToDefaults(), serialize(), FCDProPlusInput::webapiFormatDeviceSettings(), FCDProPlusInput::webapiReverseSendSettings(), and FCDProPlusInput::webapiSettingsPutPatch().
bool FCDProPlusSettings::m_iqImbalance |
Definition at line 42 of file fcdproplussettings.h.
Referenced by FCDProPlusInput::applySettings(), deserialize(), FCDProPlusGui::displaySettings(), FCDProPlusGui::on_iqImbalance_toggled(), resetToDefaults(), serialize(), FCDProPlusInput::webapiFormatDeviceSettings(), FCDProPlusInput::webapiReverseSendSettings(), and FCDProPlusInput::webapiSettingsPutPatch().
bool FCDProPlusSettings::m_lnaGain |
Definition at line 32 of file fcdproplussettings.h.
Referenced by FCDProPlusInput::applySettings(), FCDProPlusGui::displaySettings(), FCDProPlusGui::on_checkBoxG_stateChanged(), resetToDefaults(), FCDProPlusInput::webapiFormatDeviceSettings(), FCDProPlusInput::webapiReverseSendSettings(), and FCDProPlusInput::webapiSettingsPutPatch().
quint32 FCDProPlusSettings::m_log2Decim |
Definition at line 39 of file fcdproplussettings.h.
Referenced by FCDProPlusInput::applySettings(), deserialize(), FCDProPlusGui::displaySettings(), FCDProPlusInput::getSampleRate(), FCDProPlusGui::on_decim_currentIndexChanged(), resetToDefaults(), serialize(), FCDProPlusInput::webapiFormatDeviceSettings(), FCDProPlusInput::webapiReverseSendSettings(), and FCDProPlusInput::webapiSettingsPutPatch().
qint32 FCDProPlusSettings::m_LOppmTenths |
Definition at line 38 of file fcdproplussettings.h.
Referenced by FCDProPlusInput::applySettings(), deserialize(), FCDProPlusGui::displaySettings(), FCDProPlusGui::on_ppm_valueChanged(), resetToDefaults(), serialize(), FCDProPlusInput::set_center_freq(), FCDProPlusInput::webapiFormatDeviceSettings(), FCDProPlusInput::webapiReverseSendSettings(), and FCDProPlusInput::webapiSettingsPutPatch().
bool FCDProPlusSettings::m_mixGain |
Definition at line 33 of file fcdproplussettings.h.
Referenced by FCDProPlusInput::applySettings(), deserialize(), FCDProPlusGui::displaySettings(), FCDProPlusGui::on_mixGain_stateChanged(), resetToDefaults(), serialize(), FCDProPlusInput::webapiFormatDeviceSettings(), FCDProPlusInput::webapiReverseSendSettings(), and FCDProPlusInput::webapiSettingsPutPatch().
bool FCDProPlusSettings::m_rangeLow |
Definition at line 31 of file fcdproplussettings.h.
Referenced by deserialize(), resetToDefaults(), serialize(), FCDProPlusInput::webapiFormatDeviceSettings(), FCDProPlusInput::webapiReverseSendSettings(), and FCDProPlusInput::webapiSettingsPutPatch().
QString FCDProPlusSettings::m_reverseAPIAddress |
Definition at line 47 of file fcdproplussettings.h.
Referenced by FCDProPlusInput::applySettings(), deserialize(), FCDProPlusGui::openDeviceSettingsDialog(), resetToDefaults(), serialize(), FCDProPlusInput::webapiFormatDeviceSettings(), FCDProPlusInput::webapiReverseSendSettings(), FCDProPlusInput::webapiReverseSendStartStop(), and FCDProPlusInput::webapiSettingsPutPatch().
uint16_t FCDProPlusSettings::m_reverseAPIDeviceIndex |
Definition at line 49 of file fcdproplussettings.h.
Referenced by FCDProPlusInput::applySettings(), deserialize(), FCDProPlusGui::openDeviceSettingsDialog(), resetToDefaults(), serialize(), FCDProPlusInput::webapiFormatDeviceSettings(), FCDProPlusInput::webapiReverseSendSettings(), FCDProPlusInput::webapiReverseSendStartStop(), and FCDProPlusInput::webapiSettingsPutPatch().
uint16_t FCDProPlusSettings::m_reverseAPIPort |
Definition at line 48 of file fcdproplussettings.h.
Referenced by FCDProPlusInput::applySettings(), deserialize(), FCDProPlusGui::openDeviceSettingsDialog(), resetToDefaults(), serialize(), FCDProPlusInput::webapiFormatDeviceSettings(), FCDProPlusInput::webapiReverseSendSettings(), FCDProPlusInput::webapiReverseSendStartStop(), and FCDProPlusInput::webapiSettingsPutPatch().
qint32 FCDProPlusSettings::m_rfFilterIndex |
Definition at line 37 of file fcdproplussettings.h.
Referenced by FCDProPlusInput::applySettings(), deserialize(), FCDProPlusGui::displaySettings(), FCDProPlusGui::on_filterRF_currentIndexChanged(), resetToDefaults(), serialize(), FCDProPlusInput::webapiFormatDeviceSettings(), FCDProPlusInput::webapiReverseSendSettings(), and FCDProPlusInput::webapiSettingsPutPatch().
qint64 FCDProPlusSettings::m_transverterDeltaFrequency |
Definition at line 44 of file fcdproplussettings.h.
Referenced by FCDProPlusInput::applySettings(), deserialize(), FCDProPlusGui::displaySettings(), FCDProPlusGui::on_transverter_clicked(), resetToDefaults(), serialize(), FCDProPlusGui::updateFrequencyLimits(), FCDProPlusInput::webapiFormatDeviceSettings(), FCDProPlusInput::webapiReverseSendSettings(), and FCDProPlusInput::webapiSettingsPutPatch().
bool FCDProPlusSettings::m_transverterMode |
Definition at line 43 of file fcdproplussettings.h.
Referenced by FCDProPlusInput::applySettings(), deserialize(), FCDProPlusGui::displaySettings(), FCDProPlusGui::on_transverter_clicked(), resetToDefaults(), serialize(), FCDProPlusGui::updateFrequencyLimits(), FCDProPlusInput::webapiFormatDeviceSettings(), FCDProPlusInput::webapiReverseSendSettings(), and FCDProPlusInput::webapiSettingsPutPatch().
bool FCDProPlusSettings::m_useReverseAPI |
Definition at line 46 of file fcdproplussettings.h.
Referenced by FCDProPlusInput::applySettings(), deserialize(), FCDProPlusInput::handleMessage(), FCDProPlusGui::openDeviceSettingsDialog(), resetToDefaults(), serialize(), FCDProPlusInput::webapiFormatDeviceSettings(), and FCDProPlusInput::webapiSettingsPutPatch().