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 <SWGHackRFInputSettings.h>
Private Attributes | |
qint64 | center_frequency |
bool | m_center_frequency_isSet |
qint32 | l_oppm_tenths |
bool | m_l_oppm_tenths_isSet |
qint32 | bandwidth |
bool | m_bandwidth_isSet |
qint32 | lna_gain |
bool | m_lna_gain_isSet |
qint32 | vga_gain |
bool | m_vga_gain_isSet |
qint32 | log2_decim |
bool | m_log2_decim_isSet |
qint32 | fc_pos |
bool | m_fc_pos_isSet |
qint32 | dev_sample_rate |
bool | m_dev_sample_rate_isSet |
qint32 | bias_t |
bool | m_bias_t_isSet |
qint32 | lna_ext |
bool | m_lna_ext_isSet |
qint32 | dc_block |
bool | m_dc_block_isSet |
qint32 | iq_correction |
bool | m_iq_correction_isSet |
QString * | file_record_name |
bool | m_file_record_name_isSet |
qint32 | use_reverse_api |
bool | m_use_reverse_api_isSet |
QString * | reverse_api_address |
bool | m_reverse_api_address_isSet |
qint32 | reverse_api_port |
bool | m_reverse_api_port_isSet |
qint32 | reverse_api_device_index |
bool | m_reverse_api_device_index_isSet |
Definition at line 32 of file SWGHackRFInputSettings.h.
SWGSDRangel::SWGHackRFInputSettings::SWGHackRFInputSettings | ( | ) |
Definition at line 30 of file SWGHackRFInputSettings.cpp.
References bandwidth, bias_t, center_frequency, dc_block, dev_sample_rate, fc_pos, file_record_name, iq_correction, l_oppm_tenths, lna_ext, lna_gain, log2_decim, m_bandwidth_isSet, m_bias_t_isSet, m_center_frequency_isSet, m_dc_block_isSet, m_dev_sample_rate_isSet, m_fc_pos_isSet, m_file_record_name_isSet, m_iq_correction_isSet, m_l_oppm_tenths_isSet, m_lna_ext_isSet, m_lna_gain_isSet, m_log2_decim_isSet, m_reverse_api_address_isSet, m_reverse_api_device_index_isSet, m_reverse_api_port_isSet, m_use_reverse_api_isSet, m_vga_gain_isSet, reverse_api_address, reverse_api_device_index, reverse_api_port, use_reverse_api, and vga_gain.
SWGSDRangel::SWGHackRFInputSettings::SWGHackRFInputSettings | ( | QString * | json | ) |
Definition at line 25 of file SWGHackRFInputSettings.cpp.
References fromJson(), and init().
|
virtual |
Definition at line 67 of file SWGHackRFInputSettings.cpp.
References cleanup().
|
overridevirtual |
Reimplemented from SWGSDRangel::SWGObject.
Definition at line 182 of file SWGHackRFInputSettings.cpp.
References asJsonObject().
|
overridevirtual |
Reimplemented from SWGSDRangel::SWGObject.
Definition at line 193 of file SWGHackRFInputSettings.cpp.
References bandwidth, bias_t, center_frequency, dc_block, dev_sample_rate, fc_pos, file_record_name, iq_correction, l_oppm_tenths, lna_ext, lna_gain, log2_decim, m_bandwidth_isSet, m_bias_t_isSet, m_center_frequency_isSet, m_dc_block_isSet, m_dev_sample_rate_isSet, m_fc_pos_isSet, m_iq_correction_isSet, m_l_oppm_tenths_isSet, m_lna_ext_isSet, m_lna_gain_isSet, m_log2_decim_isSet, m_reverse_api_device_index_isSet, m_reverse_api_port_isSet, m_use_reverse_api_isSet, m_vga_gain_isSet, reverse_api_address, reverse_api_device_index, reverse_api_port, SWGSDRangel::toJsonValue(), use_reverse_api, and vga_gain.
Referenced by asJson().
void SWGSDRangel::SWGHackRFInputSettings::cleanup | ( | ) |
Definition at line 110 of file SWGHackRFInputSettings.cpp.
References file_record_name, and reverse_api_address.
Referenced by ~SWGHackRFInputSettings().
|
overridevirtual |
Reimplemented from SWGSDRangel::SWGObject.
Definition at line 135 of file SWGHackRFInputSettings.cpp.
References fromJsonObject().
Referenced by SWGHackRFInputSettings().
|
overridevirtual |
Reimplemented from SWGSDRangel::SWGObject.
Definition at line 144 of file SWGHackRFInputSettings.cpp.
References bandwidth, bias_t, center_frequency, dc_block, dev_sample_rate, fc_pos, file_record_name, iq_correction, l_oppm_tenths, lna_ext, lna_gain, log2_decim, reverse_api_address, reverse_api_device_index, reverse_api_port, SWGSDRangel::setValue(), use_reverse_api, and vga_gain.
Referenced by fromJson(), and WebAPIRequestMapper::validateDeviceSettings().
qint32 SWGSDRangel::SWGHackRFInputSettings::getBandwidth | ( | ) |
Definition at line 271 of file SWGHackRFInputSettings.cpp.
References bandwidth.
Referenced by HackRFInput::webapiSettingsPutPatch().
qint32 SWGSDRangel::SWGHackRFInputSettings::getBiasT | ( | ) |
Definition at line 331 of file SWGHackRFInputSettings.cpp.
References bias_t.
Referenced by HackRFInput::webapiSettingsPutPatch().
qint64 SWGSDRangel::SWGHackRFInputSettings::getCenterFrequency | ( | ) |
Definition at line 251 of file SWGHackRFInputSettings.cpp.
References center_frequency.
Referenced by HackRFInput::webapiSettingsPutPatch().
qint32 SWGSDRangel::SWGHackRFInputSettings::getDcBlock | ( | ) |
Definition at line 351 of file SWGHackRFInputSettings.cpp.
References dc_block.
Referenced by HackRFInput::webapiSettingsPutPatch().
qint32 SWGSDRangel::SWGHackRFInputSettings::getDevSampleRate | ( | ) |
Definition at line 321 of file SWGHackRFInputSettings.cpp.
References dev_sample_rate.
Referenced by HackRFInput::webapiSettingsPutPatch().
qint32 SWGSDRangel::SWGHackRFInputSettings::getFcPos | ( | ) |
Definition at line 311 of file SWGHackRFInputSettings.cpp.
References fc_pos.
Referenced by HackRFInput::webapiSettingsPutPatch().
QString * SWGSDRangel::SWGHackRFInputSettings::getFileRecordName | ( | ) |
Definition at line 371 of file SWGHackRFInputSettings.cpp.
References file_record_name.
Referenced by HackRFInput::webapiFormatDeviceSettings(), and HackRFInput::webapiSettingsPutPatch().
qint32 SWGSDRangel::SWGHackRFInputSettings::getIqCorrection | ( | ) |
Definition at line 361 of file SWGHackRFInputSettings.cpp.
References iq_correction.
Referenced by HackRFInput::webapiSettingsPutPatch().
qint32 SWGSDRangel::SWGHackRFInputSettings::getLnaExt | ( | ) |
Definition at line 341 of file SWGHackRFInputSettings.cpp.
References lna_ext.
Referenced by HackRFInput::webapiSettingsPutPatch().
qint32 SWGSDRangel::SWGHackRFInputSettings::getLnaGain | ( | ) |
Definition at line 281 of file SWGHackRFInputSettings.cpp.
References lna_gain.
Referenced by HackRFInput::webapiSettingsPutPatch().
qint32 SWGSDRangel::SWGHackRFInputSettings::getLog2Decim | ( | ) |
Definition at line 301 of file SWGHackRFInputSettings.cpp.
References log2_decim.
Referenced by HackRFInput::webapiSettingsPutPatch().
qint32 SWGSDRangel::SWGHackRFInputSettings::getLOppmTenths | ( | ) |
Definition at line 261 of file SWGHackRFInputSettings.cpp.
References l_oppm_tenths.
Referenced by HackRFInput::webapiSettingsPutPatch().
QString * SWGSDRangel::SWGHackRFInputSettings::getReverseApiAddress | ( | ) |
Definition at line 391 of file SWGHackRFInputSettings.cpp.
References reverse_api_address.
Referenced by HackRFInput::webapiFormatDeviceSettings(), and HackRFInput::webapiSettingsPutPatch().
qint32 SWGSDRangel::SWGHackRFInputSettings::getReverseApiDeviceIndex | ( | ) |
Definition at line 411 of file SWGHackRFInputSettings.cpp.
References reverse_api_device_index.
Referenced by HackRFInput::webapiSettingsPutPatch().
qint32 SWGSDRangel::SWGHackRFInputSettings::getReverseApiPort | ( | ) |
Definition at line 401 of file SWGHackRFInputSettings.cpp.
References reverse_api_port.
Referenced by HackRFInput::webapiSettingsPutPatch().
qint32 SWGSDRangel::SWGHackRFInputSettings::getUseReverseApi | ( | ) |
Definition at line 381 of file SWGHackRFInputSettings.cpp.
References use_reverse_api.
Referenced by HackRFInput::webapiSettingsPutPatch().
qint32 SWGSDRangel::SWGHackRFInputSettings::getVgaGain | ( | ) |
Definition at line 291 of file SWGHackRFInputSettings.cpp.
References vga_gain.
Referenced by HackRFInput::webapiSettingsPutPatch().
void SWGSDRangel::SWGHackRFInputSettings::init | ( | ) |
Definition at line 72 of file SWGHackRFInputSettings.cpp.
References bandwidth, bias_t, center_frequency, dc_block, dev_sample_rate, fc_pos, file_record_name, iq_correction, l_oppm_tenths, lna_ext, lna_gain, log2_decim, m_bandwidth_isSet, m_bias_t_isSet, m_center_frequency_isSet, m_dc_block_isSet, m_dev_sample_rate_isSet, m_fc_pos_isSet, m_file_record_name_isSet, m_iq_correction_isSet, m_l_oppm_tenths_isSet, m_lna_ext_isSet, m_lna_gain_isSet, m_log2_decim_isSet, m_reverse_api_address_isSet, m_reverse_api_device_index_isSet, m_reverse_api_port_isSet, m_use_reverse_api_isSet, m_vga_gain_isSet, reverse_api_address, reverse_api_device_index, reverse_api_port, use_reverse_api, and vga_gain.
Referenced by SWGHackRFInputSettings(), and HackRFInput::webapiSettingsGet().
|
overridevirtual |
Reimplemented from SWGSDRangel::SWGObject.
Definition at line 422 of file SWGHackRFInputSettings.cpp.
References file_record_name, m_bandwidth_isSet, m_bias_t_isSet, m_center_frequency_isSet, m_dc_block_isSet, m_dev_sample_rate_isSet, m_fc_pos_isSet, m_iq_correction_isSet, m_l_oppm_tenths_isSet, m_lna_ext_isSet, m_lna_gain_isSet, m_log2_decim_isSet, m_reverse_api_device_index_isSet, m_reverse_api_port_isSet, m_use_reverse_api_isSet, m_vga_gain_isSet, and reverse_api_address.
Referenced by SWGSDRangel::SWGDeviceSettings::asJsonObject(), SWGSDRangel::SWGDeviceSettings_2::asJsonObject(), SWGSDRangel::SWGDeviceSettings_2::isSet(), and SWGSDRangel::SWGDeviceSettings::isSet().
void SWGSDRangel::SWGHackRFInputSettings::setBandwidth | ( | qint32 | bandwidth | ) |
Definition at line 275 of file SWGHackRFInputSettings.cpp.
References bandwidth, and m_bandwidth_isSet.
Referenced by HackRFInput::webapiFormatDeviceSettings(), and HackRFInput::webapiReverseSendSettings().
void SWGSDRangel::SWGHackRFInputSettings::setBiasT | ( | qint32 | bias_t | ) |
Definition at line 335 of file SWGHackRFInputSettings.cpp.
References bias_t, and m_bias_t_isSet.
Referenced by HackRFInput::webapiFormatDeviceSettings(), and HackRFInput::webapiReverseSendSettings().
void SWGSDRangel::SWGHackRFInputSettings::setCenterFrequency | ( | qint64 | center_frequency | ) |
Definition at line 255 of file SWGHackRFInputSettings.cpp.
References center_frequency, and m_center_frequency_isSet.
Referenced by HackRFInput::webapiFormatDeviceSettings(), and HackRFInput::webapiReverseSendSettings().
void SWGSDRangel::SWGHackRFInputSettings::setDcBlock | ( | qint32 | dc_block | ) |
Definition at line 355 of file SWGHackRFInputSettings.cpp.
References dc_block, and m_dc_block_isSet.
Referenced by HackRFInput::webapiFormatDeviceSettings(), and HackRFInput::webapiReverseSendSettings().
void SWGSDRangel::SWGHackRFInputSettings::setDevSampleRate | ( | qint32 | dev_sample_rate | ) |
Definition at line 325 of file SWGHackRFInputSettings.cpp.
References dev_sample_rate, and m_dev_sample_rate_isSet.
Referenced by HackRFInput::webapiFormatDeviceSettings(), and HackRFInput::webapiReverseSendSettings().
void SWGSDRangel::SWGHackRFInputSettings::setFcPos | ( | qint32 | fc_pos | ) |
Definition at line 315 of file SWGHackRFInputSettings.cpp.
References fc_pos, and m_fc_pos_isSet.
Referenced by HackRFInput::webapiFormatDeviceSettings(), and HackRFInput::webapiReverseSendSettings().
void SWGSDRangel::SWGHackRFInputSettings::setFileRecordName | ( | QString * | file_record_name | ) |
Definition at line 375 of file SWGHackRFInputSettings.cpp.
References file_record_name, and m_file_record_name_isSet.
Referenced by HackRFInput::webapiFormatDeviceSettings(), and HackRFInput::webapiReverseSendSettings().
void SWGSDRangel::SWGHackRFInputSettings::setIqCorrection | ( | qint32 | iq_correction | ) |
Definition at line 365 of file SWGHackRFInputSettings.cpp.
References iq_correction, and m_iq_correction_isSet.
Referenced by HackRFInput::webapiFormatDeviceSettings(), and HackRFInput::webapiReverseSendSettings().
void SWGSDRangel::SWGHackRFInputSettings::setLnaExt | ( | qint32 | lna_ext | ) |
Definition at line 345 of file SWGHackRFInputSettings.cpp.
References lna_ext, and m_lna_ext_isSet.
Referenced by HackRFInput::webapiFormatDeviceSettings(), and HackRFInput::webapiReverseSendSettings().
void SWGSDRangel::SWGHackRFInputSettings::setLnaGain | ( | qint32 | lna_gain | ) |
Definition at line 285 of file SWGHackRFInputSettings.cpp.
References lna_gain, and m_lna_gain_isSet.
Referenced by HackRFInput::webapiFormatDeviceSettings(), and HackRFInput::webapiReverseSendSettings().
void SWGSDRangel::SWGHackRFInputSettings::setLog2Decim | ( | qint32 | log2_decim | ) |
Definition at line 305 of file SWGHackRFInputSettings.cpp.
References log2_decim, and m_log2_decim_isSet.
Referenced by HackRFInput::webapiFormatDeviceSettings(), and HackRFInput::webapiReverseSendSettings().
void SWGSDRangel::SWGHackRFInputSettings::setLOppmTenths | ( | qint32 | l_oppm_tenths | ) |
Definition at line 265 of file SWGHackRFInputSettings.cpp.
References l_oppm_tenths, and m_l_oppm_tenths_isSet.
Referenced by HackRFInput::webapiFormatDeviceSettings(), and HackRFInput::webapiReverseSendSettings().
void SWGSDRangel::SWGHackRFInputSettings::setReverseApiAddress | ( | QString * | reverse_api_address | ) |
Definition at line 395 of file SWGHackRFInputSettings.cpp.
References m_reverse_api_address_isSet, and reverse_api_address.
Referenced by HackRFInput::webapiFormatDeviceSettings().
void SWGSDRangel::SWGHackRFInputSettings::setReverseApiDeviceIndex | ( | qint32 | reverse_api_device_index | ) |
Definition at line 415 of file SWGHackRFInputSettings.cpp.
References m_reverse_api_device_index_isSet, and reverse_api_device_index.
Referenced by HackRFInput::webapiFormatDeviceSettings().
void SWGSDRangel::SWGHackRFInputSettings::setReverseApiPort | ( | qint32 | reverse_api_port | ) |
Definition at line 405 of file SWGHackRFInputSettings.cpp.
References m_reverse_api_port_isSet, and reverse_api_port.
Referenced by HackRFInput::webapiFormatDeviceSettings().
void SWGSDRangel::SWGHackRFInputSettings::setUseReverseApi | ( | qint32 | use_reverse_api | ) |
Definition at line 385 of file SWGHackRFInputSettings.cpp.
References m_use_reverse_api_isSet, and use_reverse_api.
Referenced by HackRFInput::webapiFormatDeviceSettings().
void SWGSDRangel::SWGHackRFInputSettings::setVgaGain | ( | qint32 | vga_gain | ) |
Definition at line 295 of file SWGHackRFInputSettings.cpp.
References m_vga_gain_isSet, and vga_gain.
Referenced by HackRFInput::webapiFormatDeviceSettings(), and HackRFInput::webapiReverseSendSettings().
|
private |
Definition at line 106 of file SWGHackRFInputSettings.h.
Referenced by asJsonObject(), fromJsonObject(), getBandwidth(), init(), setBandwidth(), and SWGHackRFInputSettings().
|
private |
Definition at line 124 of file SWGHackRFInputSettings.h.
Referenced by asJsonObject(), fromJsonObject(), getBiasT(), init(), setBiasT(), and SWGHackRFInputSettings().
|
private |
Definition at line 100 of file SWGHackRFInputSettings.h.
Referenced by asJsonObject(), fromJsonObject(), getCenterFrequency(), init(), setCenterFrequency(), and SWGHackRFInputSettings().
|
private |
Definition at line 130 of file SWGHackRFInputSettings.h.
Referenced by asJsonObject(), fromJsonObject(), getDcBlock(), init(), setDcBlock(), and SWGHackRFInputSettings().
|
private |
Definition at line 121 of file SWGHackRFInputSettings.h.
Referenced by asJsonObject(), fromJsonObject(), getDevSampleRate(), init(), setDevSampleRate(), and SWGHackRFInputSettings().
|
private |
Definition at line 118 of file SWGHackRFInputSettings.h.
Referenced by asJsonObject(), fromJsonObject(), getFcPos(), init(), setFcPos(), and SWGHackRFInputSettings().
|
private |
Definition at line 136 of file SWGHackRFInputSettings.h.
Referenced by asJsonObject(), cleanup(), fromJsonObject(), getFileRecordName(), init(), isSet(), setFileRecordName(), and SWGHackRFInputSettings().
|
private |
Definition at line 133 of file SWGHackRFInputSettings.h.
Referenced by asJsonObject(), fromJsonObject(), getIqCorrection(), init(), setIqCorrection(), and SWGHackRFInputSettings().
|
private |
Definition at line 103 of file SWGHackRFInputSettings.h.
Referenced by asJsonObject(), fromJsonObject(), getLOppmTenths(), init(), setLOppmTenths(), and SWGHackRFInputSettings().
|
private |
Definition at line 127 of file SWGHackRFInputSettings.h.
Referenced by asJsonObject(), fromJsonObject(), getLnaExt(), init(), setLnaExt(), and SWGHackRFInputSettings().
|
private |
Definition at line 109 of file SWGHackRFInputSettings.h.
Referenced by asJsonObject(), fromJsonObject(), getLnaGain(), init(), setLnaGain(), and SWGHackRFInputSettings().
|
private |
Definition at line 115 of file SWGHackRFInputSettings.h.
Referenced by asJsonObject(), fromJsonObject(), getLog2Decim(), init(), setLog2Decim(), and SWGHackRFInputSettings().
|
private |
Definition at line 107 of file SWGHackRFInputSettings.h.
Referenced by asJsonObject(), init(), isSet(), setBandwidth(), and SWGHackRFInputSettings().
|
private |
Definition at line 125 of file SWGHackRFInputSettings.h.
Referenced by asJsonObject(), init(), isSet(), setBiasT(), and SWGHackRFInputSettings().
|
private |
Definition at line 101 of file SWGHackRFInputSettings.h.
Referenced by asJsonObject(), init(), isSet(), setCenterFrequency(), and SWGHackRFInputSettings().
|
private |
Definition at line 131 of file SWGHackRFInputSettings.h.
Referenced by asJsonObject(), init(), isSet(), setDcBlock(), and SWGHackRFInputSettings().
|
private |
Definition at line 122 of file SWGHackRFInputSettings.h.
Referenced by asJsonObject(), init(), isSet(), setDevSampleRate(), and SWGHackRFInputSettings().
|
private |
Definition at line 119 of file SWGHackRFInputSettings.h.
Referenced by asJsonObject(), init(), isSet(), setFcPos(), and SWGHackRFInputSettings().
|
private |
Definition at line 137 of file SWGHackRFInputSettings.h.
Referenced by init(), setFileRecordName(), and SWGHackRFInputSettings().
|
private |
Definition at line 134 of file SWGHackRFInputSettings.h.
Referenced by asJsonObject(), init(), isSet(), setIqCorrection(), and SWGHackRFInputSettings().
|
private |
Definition at line 104 of file SWGHackRFInputSettings.h.
Referenced by asJsonObject(), init(), isSet(), setLOppmTenths(), and SWGHackRFInputSettings().
|
private |
Definition at line 128 of file SWGHackRFInputSettings.h.
Referenced by asJsonObject(), init(), isSet(), setLnaExt(), and SWGHackRFInputSettings().
|
private |
Definition at line 110 of file SWGHackRFInputSettings.h.
Referenced by asJsonObject(), init(), isSet(), setLnaGain(), and SWGHackRFInputSettings().
|
private |
Definition at line 116 of file SWGHackRFInputSettings.h.
Referenced by asJsonObject(), init(), isSet(), setLog2Decim(), and SWGHackRFInputSettings().
|
private |
Definition at line 143 of file SWGHackRFInputSettings.h.
Referenced by init(), setReverseApiAddress(), and SWGHackRFInputSettings().
|
private |
Definition at line 149 of file SWGHackRFInputSettings.h.
Referenced by asJsonObject(), init(), isSet(), setReverseApiDeviceIndex(), and SWGHackRFInputSettings().
|
private |
Definition at line 146 of file SWGHackRFInputSettings.h.
Referenced by asJsonObject(), init(), isSet(), setReverseApiPort(), and SWGHackRFInputSettings().
|
private |
Definition at line 140 of file SWGHackRFInputSettings.h.
Referenced by asJsonObject(), init(), isSet(), setUseReverseApi(), and SWGHackRFInputSettings().
|
private |
Definition at line 113 of file SWGHackRFInputSettings.h.
Referenced by asJsonObject(), init(), isSet(), setVgaGain(), and SWGHackRFInputSettings().
|
private |
Definition at line 142 of file SWGHackRFInputSettings.h.
Referenced by asJsonObject(), cleanup(), fromJsonObject(), getReverseApiAddress(), init(), isSet(), setReverseApiAddress(), and SWGHackRFInputSettings().
|
private |
Definition at line 148 of file SWGHackRFInputSettings.h.
Referenced by asJsonObject(), fromJsonObject(), getReverseApiDeviceIndex(), init(), setReverseApiDeviceIndex(), and SWGHackRFInputSettings().
|
private |
Definition at line 145 of file SWGHackRFInputSettings.h.
Referenced by asJsonObject(), fromJsonObject(), getReverseApiPort(), init(), setReverseApiPort(), and SWGHackRFInputSettings().
|
private |
Definition at line 139 of file SWGHackRFInputSettings.h.
Referenced by asJsonObject(), fromJsonObject(), getUseReverseApi(), init(), setUseReverseApi(), and SWGHackRFInputSettings().
|
private |
Definition at line 112 of file SWGHackRFInputSettings.h.
Referenced by asJsonObject(), fromJsonObject(), getVgaGain(), init(), setVgaGain(), and SWGHackRFInputSettings().