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 <fcdprosettings.h>
Public Types | |
enum | fcPos_t { FC_POS_INFRA = 0, FC_POS_SUPRA, FC_POS_CENTER } |
Public Member Functions | |
FCDProSettings () | |
void | resetToDefaults () |
QByteArray | serialize () const |
bool | deserialize (const QByteArray &data) |
Public Attributes | |
quint64 | m_centerFrequency |
qint32 | m_LOppmTenths |
qint32 | m_lnaGainIndex |
qint32 | m_rfFilterIndex |
qint32 | m_lnaEnhanceIndex |
qint32 | m_bandIndex |
qint32 | m_mixerGainIndex |
qint32 | m_mixerFilterIndex |
qint32 | m_biasCurrentIndex |
qint32 | m_modeIndex |
qint32 | m_gain1Index |
qint32 | m_rcFilterIndex |
qint32 | m_gain2Index |
qint32 | m_gain3Index |
qint32 | m_gain4Index |
qint32 | m_ifFilterIndex |
qint32 | m_gain5Index |
qint32 | m_gain6Index |
quint32 | m_log2Decim |
fcPos_t | m_fcPos |
bool | m_dcBlock |
bool | m_iqCorrection |
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 fcdprosettings.h.
Enumerator | |
---|---|
FC_POS_INFRA | |
FC_POS_SUPRA | |
FC_POS_CENTER |
Definition at line 24 of file fcdprosettings.h.
FCDProSettings::FCDProSettings | ( | ) |
Definition at line 22 of file fcdprosettings.cpp.
References resetToDefaults().
bool FCDProSettings::deserialize | ( | const QByteArray & | data | ) |
Definition at line 95 of file fcdprosettings.cpp.
References SimpleDeserializer::getVersion(), SimpleDeserializer::isValid(), m_bandIndex, m_biasCurrentIndex, m_dcBlock, m_fcPos, m_gain1Index, m_gain2Index, m_gain3Index, m_gain4Index, m_gain5Index, m_gain6Index, m_ifFilterIndex, m_iqCorrection, m_lnaEnhanceIndex, m_lnaGainIndex, m_log2Decim, m_LOppmTenths, m_mixerFilterIndex, m_mixerGainIndex, m_modeIndex, m_rcFilterIndex, 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 FCDProGui::deserialize(), and FCDProInput::deserialize().
void FCDProSettings::resetToDefaults | ( | ) |
Definition at line 27 of file fcdprosettings.cpp.
References FC_POS_CENTER, m_bandIndex, m_biasCurrentIndex, m_centerFrequency, m_dcBlock, m_fcPos, m_fileRecordName, m_gain1Index, m_gain2Index, m_gain3Index, m_gain4Index, m_gain5Index, m_gain6Index, m_ifFilterIndex, m_iqCorrection, m_lnaEnhanceIndex, m_lnaGainIndex, m_log2Decim, m_LOppmTenths, m_mixerFilterIndex, m_mixerGainIndex, m_modeIndex, m_rcFilterIndex, m_reverseAPIAddress, m_reverseAPIDeviceIndex, m_reverseAPIPort, m_rfFilterIndex, m_transverterDeltaFrequency, m_transverterMode, and m_useReverseAPI.
Referenced by deserialize(), FCDProInput::deserialize(), FCDProSettings(), and FCDProGui::resetToDefaults().
QByteArray FCDProSettings::serialize | ( | ) | const |
Definition at line 60 of file fcdprosettings.cpp.
References SimpleSerializer::final(), m_bandIndex, m_biasCurrentIndex, m_dcBlock, m_fcPos, m_gain1Index, m_gain2Index, m_gain3Index, m_gain4Index, m_gain5Index, m_gain6Index, m_ifFilterIndex, m_iqCorrection, m_lnaEnhanceIndex, m_lnaGainIndex, m_log2Decim, m_LOppmTenths, m_mixerFilterIndex, m_mixerGainIndex, m_modeIndex, m_rcFilterIndex, 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 FCDProGui::serialize(), and FCDProInput::serialize().
qint32 FCDProSettings::m_bandIndex |
Definition at line 35 of file fcdprosettings.h.
Referenced by FCDProInput::applySettings(), deserialize(), FCDProGui::displaySettings(), FCDProGui::on_band_currentIndexChanged(), resetToDefaults(), serialize(), FCDProInput::webapiFormatDeviceSettings(), FCDProInput::webapiReverseSendSettings(), and FCDProInput::webapiSettingsPutPatch().
qint32 FCDProSettings::m_biasCurrentIndex |
Definition at line 38 of file fcdprosettings.h.
Referenced by FCDProInput::applySettings(), deserialize(), FCDProGui::displaySettings(), FCDProGui::on_bias_currentIndexChanged(), FCDProGui::on_setDefaults_clicked(), resetToDefaults(), serialize(), FCDProInput::webapiFormatDeviceSettings(), FCDProInput::webapiReverseSendSettings(), and FCDProInput::webapiSettingsPutPatch().
quint64 FCDProSettings::m_centerFrequency |
Definition at line 30 of file fcdprosettings.h.
Referenced by FCDProInput::applySettings(), FCDProGui::displaySettings(), FCDProGui::getCenterFrequency(), FCDProInput::getCenterFrequency(), FCDProGui::on_centerFrequency_changed(), FCDProGui::on_transverter_clicked(), resetToDefaults(), FCDProGui::setCenterFrequency(), FCDProInput::setCenterFrequency(), FCDProInput::webapiFormatDeviceSettings(), FCDProInput::webapiReverseSendSettings(), and FCDProInput::webapiSettingsPutPatch().
bool FCDProSettings::m_dcBlock |
Definition at line 50 of file fcdprosettings.h.
Referenced by FCDProInput::applySettings(), deserialize(), FCDProGui::displaySettings(), FCDProGui::on_dcOffset_toggled(), resetToDefaults(), serialize(), FCDProInput::webapiFormatDeviceSettings(), FCDProInput::webapiReverseSendSettings(), and FCDProInput::webapiSettingsPutPatch().
fcPos_t FCDProSettings::m_fcPos |
Definition at line 49 of file fcdprosettings.h.
Referenced by FCDProInput::applySettings(), deserialize(), FCDProGui::displaySettings(), FCDProGui::on_fcPos_currentIndexChanged(), resetToDefaults(), serialize(), FCDProInput::webapiFormatDeviceSettings(), FCDProInput::webapiReverseSendSettings(), and FCDProInput::webapiSettingsPutPatch().
QString FCDProSettings::m_fileRecordName |
Definition at line 54 of file fcdprosettings.h.
Referenced by FCDProInput::handleMessage(), resetToDefaults(), FCDProInput::webapiFormatDeviceSettings(), FCDProInput::webapiReverseSendSettings(), and FCDProInput::webapiSettingsPutPatch().
qint32 FCDProSettings::m_gain1Index |
Definition at line 40 of file fcdprosettings.h.
Referenced by FCDProInput::applySettings(), deserialize(), FCDProGui::displaySettings(), FCDProGui::on_gain1_currentIndexChanged(), FCDProGui::on_setDefaults_clicked(), resetToDefaults(), serialize(), FCDProInput::webapiFormatDeviceSettings(), FCDProInput::webapiReverseSendSettings(), and FCDProInput::webapiSettingsPutPatch().
qint32 FCDProSettings::m_gain2Index |
Definition at line 42 of file fcdprosettings.h.
Referenced by FCDProInput::applySettings(), deserialize(), FCDProGui::displaySettings(), FCDProGui::on_gain2_currentIndexChanged(), FCDProGui::on_setDefaults_clicked(), resetToDefaults(), serialize(), FCDProInput::webapiFormatDeviceSettings(), FCDProInput::webapiReverseSendSettings(), and FCDProInput::webapiSettingsPutPatch().
qint32 FCDProSettings::m_gain3Index |
Definition at line 43 of file fcdprosettings.h.
Referenced by FCDProInput::applySettings(), deserialize(), FCDProGui::displaySettings(), FCDProGui::on_gain3_currentIndexChanged(), FCDProGui::on_setDefaults_clicked(), resetToDefaults(), serialize(), FCDProInput::webapiFormatDeviceSettings(), FCDProInput::webapiReverseSendSettings(), and FCDProInput::webapiSettingsPutPatch().
qint32 FCDProSettings::m_gain4Index |
Definition at line 44 of file fcdprosettings.h.
Referenced by FCDProInput::applySettings(), deserialize(), FCDProGui::displaySettings(), FCDProGui::on_gain4_currentIndexChanged(), FCDProGui::on_setDefaults_clicked(), resetToDefaults(), serialize(), FCDProInput::webapiFormatDeviceSettings(), FCDProInput::webapiReverseSendSettings(), and FCDProInput::webapiSettingsPutPatch().
qint32 FCDProSettings::m_gain5Index |
Definition at line 46 of file fcdprosettings.h.
Referenced by FCDProInput::applySettings(), deserialize(), FCDProGui::displaySettings(), FCDProGui::on_gain5_currentIndexChanged(), FCDProGui::on_setDefaults_clicked(), resetToDefaults(), serialize(), FCDProInput::webapiFormatDeviceSettings(), FCDProInput::webapiReverseSendSettings(), and FCDProInput::webapiSettingsPutPatch().
qint32 FCDProSettings::m_gain6Index |
Definition at line 47 of file fcdprosettings.h.
Referenced by FCDProInput::applySettings(), deserialize(), FCDProGui::displaySettings(), FCDProGui::on_gain6_currentIndexChanged(), FCDProGui::on_setDefaults_clicked(), resetToDefaults(), serialize(), FCDProInput::webapiFormatDeviceSettings(), FCDProInput::webapiReverseSendSettings(), and FCDProInput::webapiSettingsPutPatch().
qint32 FCDProSettings::m_ifFilterIndex |
Definition at line 45 of file fcdprosettings.h.
Referenced by FCDProInput::applySettings(), deserialize(), FCDProGui::displaySettings(), FCDProGui::on_ifFilter_currentIndexChanged(), FCDProGui::on_setDefaults_clicked(), resetToDefaults(), serialize(), FCDProInput::webapiFormatDeviceSettings(), FCDProInput::webapiReverseSendSettings(), and FCDProInput::webapiSettingsPutPatch().
bool FCDProSettings::m_iqCorrection |
Definition at line 51 of file fcdprosettings.h.
Referenced by FCDProInput::applySettings(), deserialize(), FCDProGui::displaySettings(), FCDProGui::on_iqImbalance_toggled(), resetToDefaults(), serialize(), FCDProInput::webapiFormatDeviceSettings(), FCDProInput::webapiReverseSendSettings(), and FCDProInput::webapiSettingsPutPatch().
qint32 FCDProSettings::m_lnaEnhanceIndex |
Definition at line 34 of file fcdprosettings.h.
Referenced by FCDProInput::applySettings(), deserialize(), FCDProGui::displaySettings(), FCDProGui::on_lnaEnhance_currentIndexChanged(), FCDProGui::on_setDefaults_clicked(), resetToDefaults(), serialize(), FCDProInput::webapiFormatDeviceSettings(), FCDProInput::webapiReverseSendSettings(), and FCDProInput::webapiSettingsPutPatch().
qint32 FCDProSettings::m_lnaGainIndex |
Definition at line 32 of file fcdprosettings.h.
Referenced by FCDProInput::applySettings(), deserialize(), FCDProGui::displaySettings(), FCDProGui::on_lnaGain_currentIndexChanged(), FCDProGui::on_setDefaults_clicked(), resetToDefaults(), serialize(), FCDProInput::webapiFormatDeviceSettings(), FCDProInput::webapiReverseSendSettings(), and FCDProInput::webapiSettingsPutPatch().
quint32 FCDProSettings::m_log2Decim |
Definition at line 48 of file fcdprosettings.h.
Referenced by FCDProInput::applySettings(), deserialize(), FCDProGui::displaySettings(), FCDProInput::getSampleRate(), FCDProGui::on_decim_currentIndexChanged(), resetToDefaults(), serialize(), FCDProInput::webapiFormatDeviceSettings(), FCDProInput::webapiReverseSendSettings(), and FCDProInput::webapiSettingsPutPatch().
qint32 FCDProSettings::m_LOppmTenths |
Definition at line 31 of file fcdprosettings.h.
Referenced by FCDProInput::applySettings(), deserialize(), FCDProGui::displaySettings(), FCDProGui::on_ppm_valueChanged(), resetToDefaults(), serialize(), FCDProInput::set_center_freq(), FCDProInput::webapiFormatDeviceSettings(), FCDProInput::webapiReverseSendSettings(), and FCDProInput::webapiSettingsPutPatch().
qint32 FCDProSettings::m_mixerFilterIndex |
Definition at line 37 of file fcdprosettings.h.
Referenced by FCDProInput::applySettings(), deserialize(), FCDProGui::displaySettings(), FCDProGui::on_mixFilter_currentIndexChanged(), FCDProGui::on_setDefaults_clicked(), resetToDefaults(), serialize(), FCDProInput::webapiFormatDeviceSettings(), FCDProInput::webapiReverseSendSettings(), and FCDProInput::webapiSettingsPutPatch().
qint32 FCDProSettings::m_mixerGainIndex |
Definition at line 36 of file fcdprosettings.h.
Referenced by FCDProInput::applySettings(), deserialize(), FCDProGui::displaySettings(), FCDProGui::on_mixGain_currentIndexChanged(), FCDProGui::on_setDefaults_clicked(), resetToDefaults(), serialize(), FCDProInput::webapiFormatDeviceSettings(), FCDProInput::webapiReverseSendSettings(), and FCDProInput::webapiSettingsPutPatch().
qint32 FCDProSettings::m_modeIndex |
Definition at line 39 of file fcdprosettings.h.
Referenced by FCDProInput::applySettings(), deserialize(), FCDProGui::displaySettings(), FCDProGui::on_mode_currentIndexChanged(), FCDProGui::on_setDefaults_clicked(), resetToDefaults(), serialize(), FCDProInput::webapiFormatDeviceSettings(), FCDProInput::webapiReverseSendSettings(), and FCDProInput::webapiSettingsPutPatch().
qint32 FCDProSettings::m_rcFilterIndex |
Definition at line 41 of file fcdprosettings.h.
Referenced by FCDProInput::applySettings(), deserialize(), FCDProGui::displaySettings(), FCDProGui::on_rcFilter_currentIndexChanged(), FCDProGui::on_setDefaults_clicked(), resetToDefaults(), serialize(), FCDProInput::webapiFormatDeviceSettings(), FCDProInput::webapiReverseSendSettings(), and FCDProInput::webapiSettingsPutPatch().
QString FCDProSettings::m_reverseAPIAddress |
Definition at line 56 of file fcdprosettings.h.
Referenced by FCDProInput::applySettings(), deserialize(), FCDProGui::openDeviceSettingsDialog(), resetToDefaults(), serialize(), FCDProInput::webapiFormatDeviceSettings(), FCDProInput::webapiReverseSendSettings(), FCDProInput::webapiReverseSendStartStop(), and FCDProInput::webapiSettingsPutPatch().
uint16_t FCDProSettings::m_reverseAPIDeviceIndex |
Definition at line 58 of file fcdprosettings.h.
Referenced by FCDProInput::applySettings(), deserialize(), FCDProGui::openDeviceSettingsDialog(), resetToDefaults(), serialize(), FCDProInput::webapiFormatDeviceSettings(), FCDProInput::webapiReverseSendSettings(), FCDProInput::webapiReverseSendStartStop(), and FCDProInput::webapiSettingsPutPatch().
uint16_t FCDProSettings::m_reverseAPIPort |
Definition at line 57 of file fcdprosettings.h.
Referenced by FCDProInput::applySettings(), deserialize(), FCDProGui::openDeviceSettingsDialog(), resetToDefaults(), serialize(), FCDProInput::webapiFormatDeviceSettings(), FCDProInput::webapiReverseSendSettings(), FCDProInput::webapiReverseSendStartStop(), and FCDProInput::webapiSettingsPutPatch().
qint32 FCDProSettings::m_rfFilterIndex |
Definition at line 33 of file fcdprosettings.h.
Referenced by FCDProInput::applySettings(), deserialize(), FCDProGui::displaySettings(), FCDProGui::on_rfFilter_currentIndexChanged(), resetToDefaults(), serialize(), FCDProInput::webapiFormatDeviceSettings(), FCDProInput::webapiReverseSendSettings(), and FCDProInput::webapiSettingsPutPatch().
qint64 FCDProSettings::m_transverterDeltaFrequency |
Definition at line 53 of file fcdprosettings.h.
Referenced by FCDProInput::applySettings(), deserialize(), FCDProGui::displaySettings(), FCDProGui::on_transverter_clicked(), resetToDefaults(), serialize(), FCDProGui::updateFrequencyLimits(), FCDProInput::webapiFormatDeviceSettings(), FCDProInput::webapiReverseSendSettings(), and FCDProInput::webapiSettingsPutPatch().
bool FCDProSettings::m_transverterMode |
Definition at line 52 of file fcdprosettings.h.
Referenced by FCDProInput::applySettings(), deserialize(), FCDProGui::displaySettings(), FCDProGui::on_transverter_clicked(), resetToDefaults(), serialize(), FCDProGui::updateFrequencyLimits(), FCDProInput::webapiFormatDeviceSettings(), FCDProInput::webapiReverseSendSettings(), and FCDProInput::webapiSettingsPutPatch().
bool FCDProSettings::m_useReverseAPI |
Definition at line 55 of file fcdprosettings.h.
Referenced by FCDProInput::applySettings(), deserialize(), FCDProInput::handleMessage(), FCDProGui::openDeviceSettingsDialog(), resetToDefaults(), serialize(), FCDProInput::webapiFormatDeviceSettings(), and FCDProInput::webapiSettingsPutPatch().