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 <SWGHackRFOutputSettings.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 | vga_gain |
bool | m_vga_gain_isSet |
qint32 | log2_interp |
bool | m_log2_interp_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 | 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 SWGHackRFOutputSettings.h.
SWGSDRangel::SWGHackRFOutputSettings::SWGHackRFOutputSettings | ( | ) |
Definition at line 30 of file SWGHackRFOutputSettings.cpp.
References bandwidth, bias_t, center_frequency, dev_sample_rate, fc_pos, l_oppm_tenths, lna_ext, log2_interp, m_bandwidth_isSet, m_bias_t_isSet, m_center_frequency_isSet, m_dev_sample_rate_isSet, m_fc_pos_isSet, m_l_oppm_tenths_isSet, m_lna_ext_isSet, m_log2_interp_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::SWGHackRFOutputSettings::SWGHackRFOutputSettings | ( | QString * | json | ) |
Definition at line 25 of file SWGHackRFOutputSettings.cpp.
References fromJson(), and init().
|
virtual |
Definition at line 59 of file SWGHackRFOutputSettings.cpp.
References cleanup().
|
overridevirtual |
Reimplemented from SWGSDRangel::SWGObject.
Definition at line 152 of file SWGHackRFOutputSettings.cpp.
References asJsonObject().
|
overridevirtual |
Reimplemented from SWGSDRangel::SWGObject.
Definition at line 163 of file SWGHackRFOutputSettings.cpp.
References bandwidth, bias_t, center_frequency, dev_sample_rate, fc_pos, l_oppm_tenths, lna_ext, log2_interp, m_bandwidth_isSet, m_bias_t_isSet, m_center_frequency_isSet, m_dev_sample_rate_isSet, m_fc_pos_isSet, m_l_oppm_tenths_isSet, m_lna_ext_isSet, m_log2_interp_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::SWGHackRFOutputSettings::cleanup | ( | ) |
Definition at line 94 of file SWGHackRFOutputSettings.cpp.
References reverse_api_address.
Referenced by ~SWGHackRFOutputSettings().
|
overridevirtual |
Reimplemented from SWGSDRangel::SWGObject.
Definition at line 113 of file SWGHackRFOutputSettings.cpp.
References fromJsonObject().
Referenced by SWGHackRFOutputSettings().
|
overridevirtual |
Reimplemented from SWGSDRangel::SWGObject.
Definition at line 122 of file SWGHackRFOutputSettings.cpp.
References bandwidth, bias_t, center_frequency, dev_sample_rate, fc_pos, l_oppm_tenths, lna_ext, log2_interp, 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::SWGHackRFOutputSettings::getBandwidth | ( | ) |
Definition at line 229 of file SWGHackRFOutputSettings.cpp.
References bandwidth.
Referenced by HackRFOutput::webapiSettingsPutPatch().
qint32 SWGSDRangel::SWGHackRFOutputSettings::getBiasT | ( | ) |
Definition at line 279 of file SWGHackRFOutputSettings.cpp.
References bias_t.
Referenced by HackRFOutput::webapiSettingsPutPatch().
qint64 SWGSDRangel::SWGHackRFOutputSettings::getCenterFrequency | ( | ) |
Definition at line 209 of file SWGHackRFOutputSettings.cpp.
References center_frequency.
Referenced by HackRFOutput::webapiSettingsPutPatch().
qint32 SWGSDRangel::SWGHackRFOutputSettings::getDevSampleRate | ( | ) |
Definition at line 269 of file SWGHackRFOutputSettings.cpp.
References dev_sample_rate.
Referenced by HackRFOutput::webapiSettingsPutPatch().
qint32 SWGSDRangel::SWGHackRFOutputSettings::getFcPos | ( | ) |
Definition at line 259 of file SWGHackRFOutputSettings.cpp.
References fc_pos.
Referenced by HackRFOutput::webapiSettingsPutPatch().
qint32 SWGSDRangel::SWGHackRFOutputSettings::getLnaExt | ( | ) |
Definition at line 289 of file SWGHackRFOutputSettings.cpp.
References lna_ext.
Referenced by HackRFOutput::webapiSettingsPutPatch().
qint32 SWGSDRangel::SWGHackRFOutputSettings::getLog2Interp | ( | ) |
Definition at line 249 of file SWGHackRFOutputSettings.cpp.
References log2_interp.
Referenced by HackRFOutput::webapiSettingsPutPatch().
qint32 SWGSDRangel::SWGHackRFOutputSettings::getLOppmTenths | ( | ) |
Definition at line 219 of file SWGHackRFOutputSettings.cpp.
References l_oppm_tenths.
Referenced by HackRFOutput::webapiSettingsPutPatch().
QString * SWGSDRangel::SWGHackRFOutputSettings::getReverseApiAddress | ( | ) |
Definition at line 309 of file SWGHackRFOutputSettings.cpp.
References reverse_api_address.
Referenced by HackRFOutput::webapiFormatDeviceSettings(), and HackRFOutput::webapiSettingsPutPatch().
qint32 SWGSDRangel::SWGHackRFOutputSettings::getReverseApiDeviceIndex | ( | ) |
Definition at line 329 of file SWGHackRFOutputSettings.cpp.
References reverse_api_device_index.
Referenced by HackRFOutput::webapiSettingsPutPatch().
qint32 SWGSDRangel::SWGHackRFOutputSettings::getReverseApiPort | ( | ) |
Definition at line 319 of file SWGHackRFOutputSettings.cpp.
References reverse_api_port.
Referenced by HackRFOutput::webapiSettingsPutPatch().
qint32 SWGSDRangel::SWGHackRFOutputSettings::getUseReverseApi | ( | ) |
Definition at line 299 of file SWGHackRFOutputSettings.cpp.
References use_reverse_api.
Referenced by HackRFOutput::webapiSettingsPutPatch().
qint32 SWGSDRangel::SWGHackRFOutputSettings::getVgaGain | ( | ) |
Definition at line 239 of file SWGHackRFOutputSettings.cpp.
References vga_gain.
Referenced by HackRFOutput::webapiSettingsPutPatch().
void SWGSDRangel::SWGHackRFOutputSettings::init | ( | ) |
Definition at line 64 of file SWGHackRFOutputSettings.cpp.
References bandwidth, bias_t, center_frequency, dev_sample_rate, fc_pos, l_oppm_tenths, lna_ext, log2_interp, m_bandwidth_isSet, m_bias_t_isSet, m_center_frequency_isSet, m_dev_sample_rate_isSet, m_fc_pos_isSet, m_l_oppm_tenths_isSet, m_lna_ext_isSet, m_log2_interp_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 SWGHackRFOutputSettings(), and HackRFOutput::webapiSettingsGet().
|
overridevirtual |
Reimplemented from SWGSDRangel::SWGObject.
Definition at line 340 of file SWGHackRFOutputSettings.cpp.
References m_bandwidth_isSet, m_bias_t_isSet, m_center_frequency_isSet, m_dev_sample_rate_isSet, m_fc_pos_isSet, m_l_oppm_tenths_isSet, m_lna_ext_isSet, m_log2_interp_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::SWGHackRFOutputSettings::setBandwidth | ( | qint32 | bandwidth | ) |
Definition at line 233 of file SWGHackRFOutputSettings.cpp.
References bandwidth, and m_bandwidth_isSet.
Referenced by HackRFOutput::webapiFormatDeviceSettings(), and HackRFOutput::webapiReverseSendSettings().
void SWGSDRangel::SWGHackRFOutputSettings::setBiasT | ( | qint32 | bias_t | ) |
Definition at line 283 of file SWGHackRFOutputSettings.cpp.
References bias_t, and m_bias_t_isSet.
Referenced by HackRFOutput::webapiFormatDeviceSettings(), and HackRFOutput::webapiReverseSendSettings().
void SWGSDRangel::SWGHackRFOutputSettings::setCenterFrequency | ( | qint64 | center_frequency | ) |
Definition at line 213 of file SWGHackRFOutputSettings.cpp.
References center_frequency, and m_center_frequency_isSet.
Referenced by HackRFOutput::webapiFormatDeviceSettings(), and HackRFOutput::webapiReverseSendSettings().
void SWGSDRangel::SWGHackRFOutputSettings::setDevSampleRate | ( | qint32 | dev_sample_rate | ) |
Definition at line 273 of file SWGHackRFOutputSettings.cpp.
References dev_sample_rate, and m_dev_sample_rate_isSet.
Referenced by HackRFOutput::webapiFormatDeviceSettings(), and HackRFOutput::webapiReverseSendSettings().
void SWGSDRangel::SWGHackRFOutputSettings::setFcPos | ( | qint32 | fc_pos | ) |
Definition at line 263 of file SWGHackRFOutputSettings.cpp.
References fc_pos, and m_fc_pos_isSet.
Referenced by HackRFOutput::webapiFormatDeviceSettings(), and HackRFOutput::webapiReverseSendSettings().
void SWGSDRangel::SWGHackRFOutputSettings::setLnaExt | ( | qint32 | lna_ext | ) |
Definition at line 293 of file SWGHackRFOutputSettings.cpp.
References lna_ext, and m_lna_ext_isSet.
Referenced by HackRFOutput::webapiFormatDeviceSettings(), and HackRFOutput::webapiReverseSendSettings().
void SWGSDRangel::SWGHackRFOutputSettings::setLog2Interp | ( | qint32 | log2_interp | ) |
Definition at line 253 of file SWGHackRFOutputSettings.cpp.
References log2_interp, and m_log2_interp_isSet.
Referenced by HackRFOutput::webapiFormatDeviceSettings(), and HackRFOutput::webapiReverseSendSettings().
void SWGSDRangel::SWGHackRFOutputSettings::setLOppmTenths | ( | qint32 | l_oppm_tenths | ) |
Definition at line 223 of file SWGHackRFOutputSettings.cpp.
References l_oppm_tenths, and m_l_oppm_tenths_isSet.
Referenced by HackRFOutput::webapiFormatDeviceSettings(), and HackRFOutput::webapiReverseSendSettings().
void SWGSDRangel::SWGHackRFOutputSettings::setReverseApiAddress | ( | QString * | reverse_api_address | ) |
Definition at line 313 of file SWGHackRFOutputSettings.cpp.
References m_reverse_api_address_isSet, and reverse_api_address.
Referenced by HackRFOutput::webapiFormatDeviceSettings().
void SWGSDRangel::SWGHackRFOutputSettings::setReverseApiDeviceIndex | ( | qint32 | reverse_api_device_index | ) |
Definition at line 333 of file SWGHackRFOutputSettings.cpp.
References m_reverse_api_device_index_isSet, and reverse_api_device_index.
Referenced by HackRFOutput::webapiFormatDeviceSettings().
void SWGSDRangel::SWGHackRFOutputSettings::setReverseApiPort | ( | qint32 | reverse_api_port | ) |
Definition at line 323 of file SWGHackRFOutputSettings.cpp.
References m_reverse_api_port_isSet, and reverse_api_port.
Referenced by HackRFOutput::webapiFormatDeviceSettings().
void SWGSDRangel::SWGHackRFOutputSettings::setUseReverseApi | ( | qint32 | use_reverse_api | ) |
Definition at line 303 of file SWGHackRFOutputSettings.cpp.
References m_use_reverse_api_isSet, and use_reverse_api.
Referenced by HackRFOutput::webapiFormatDeviceSettings().
void SWGSDRangel::SWGHackRFOutputSettings::setVgaGain | ( | qint32 | vga_gain | ) |
Definition at line 243 of file SWGHackRFOutputSettings.cpp.
References m_vga_gain_isSet, and vga_gain.
Referenced by HackRFOutput::webapiFormatDeviceSettings(), and HackRFOutput::webapiReverseSendSettings().
|
private |
Definition at line 94 of file SWGHackRFOutputSettings.h.
Referenced by asJsonObject(), fromJsonObject(), getBandwidth(), init(), setBandwidth(), and SWGHackRFOutputSettings().
|
private |
Definition at line 109 of file SWGHackRFOutputSettings.h.
Referenced by asJsonObject(), fromJsonObject(), getBiasT(), init(), setBiasT(), and SWGHackRFOutputSettings().
|
private |
Definition at line 88 of file SWGHackRFOutputSettings.h.
Referenced by asJsonObject(), fromJsonObject(), getCenterFrequency(), init(), setCenterFrequency(), and SWGHackRFOutputSettings().
|
private |
Definition at line 106 of file SWGHackRFOutputSettings.h.
Referenced by asJsonObject(), fromJsonObject(), getDevSampleRate(), init(), setDevSampleRate(), and SWGHackRFOutputSettings().
|
private |
Definition at line 103 of file SWGHackRFOutputSettings.h.
Referenced by asJsonObject(), fromJsonObject(), getFcPos(), init(), setFcPos(), and SWGHackRFOutputSettings().
|
private |
Definition at line 91 of file SWGHackRFOutputSettings.h.
Referenced by asJsonObject(), fromJsonObject(), getLOppmTenths(), init(), setLOppmTenths(), and SWGHackRFOutputSettings().
|
private |
Definition at line 112 of file SWGHackRFOutputSettings.h.
Referenced by asJsonObject(), fromJsonObject(), getLnaExt(), init(), setLnaExt(), and SWGHackRFOutputSettings().
|
private |
Definition at line 100 of file SWGHackRFOutputSettings.h.
Referenced by asJsonObject(), fromJsonObject(), getLog2Interp(), init(), setLog2Interp(), and SWGHackRFOutputSettings().
|
private |
Definition at line 95 of file SWGHackRFOutputSettings.h.
Referenced by asJsonObject(), init(), isSet(), setBandwidth(), and SWGHackRFOutputSettings().
|
private |
Definition at line 110 of file SWGHackRFOutputSettings.h.
Referenced by asJsonObject(), init(), isSet(), setBiasT(), and SWGHackRFOutputSettings().
|
private |
Definition at line 89 of file SWGHackRFOutputSettings.h.
Referenced by asJsonObject(), init(), isSet(), setCenterFrequency(), and SWGHackRFOutputSettings().
|
private |
Definition at line 107 of file SWGHackRFOutputSettings.h.
Referenced by asJsonObject(), init(), isSet(), setDevSampleRate(), and SWGHackRFOutputSettings().
|
private |
Definition at line 104 of file SWGHackRFOutputSettings.h.
Referenced by asJsonObject(), init(), isSet(), setFcPos(), and SWGHackRFOutputSettings().
|
private |
Definition at line 92 of file SWGHackRFOutputSettings.h.
Referenced by asJsonObject(), init(), isSet(), setLOppmTenths(), and SWGHackRFOutputSettings().
|
private |
Definition at line 113 of file SWGHackRFOutputSettings.h.
Referenced by asJsonObject(), init(), isSet(), setLnaExt(), and SWGHackRFOutputSettings().
|
private |
Definition at line 101 of file SWGHackRFOutputSettings.h.
Referenced by asJsonObject(), init(), isSet(), setLog2Interp(), and SWGHackRFOutputSettings().
|
private |
Definition at line 119 of file SWGHackRFOutputSettings.h.
Referenced by init(), setReverseApiAddress(), and SWGHackRFOutputSettings().
|
private |
Definition at line 125 of file SWGHackRFOutputSettings.h.
Referenced by asJsonObject(), init(), isSet(), setReverseApiDeviceIndex(), and SWGHackRFOutputSettings().
|
private |
Definition at line 122 of file SWGHackRFOutputSettings.h.
Referenced by asJsonObject(), init(), isSet(), setReverseApiPort(), and SWGHackRFOutputSettings().
|
private |
Definition at line 116 of file SWGHackRFOutputSettings.h.
Referenced by asJsonObject(), init(), isSet(), setUseReverseApi(), and SWGHackRFOutputSettings().
|
private |
Definition at line 98 of file SWGHackRFOutputSettings.h.
Referenced by asJsonObject(), init(), isSet(), setVgaGain(), and SWGHackRFOutputSettings().
|
private |
Definition at line 118 of file SWGHackRFOutputSettings.h.
Referenced by asJsonObject(), cleanup(), fromJsonObject(), getReverseApiAddress(), init(), isSet(), setReverseApiAddress(), and SWGHackRFOutputSettings().
|
private |
Definition at line 124 of file SWGHackRFOutputSettings.h.
Referenced by asJsonObject(), fromJsonObject(), getReverseApiDeviceIndex(), init(), setReverseApiDeviceIndex(), and SWGHackRFOutputSettings().
|
private |
Definition at line 121 of file SWGHackRFOutputSettings.h.
Referenced by asJsonObject(), fromJsonObject(), getReverseApiPort(), init(), setReverseApiPort(), and SWGHackRFOutputSettings().
|
private |
Definition at line 115 of file SWGHackRFOutputSettings.h.
Referenced by asJsonObject(), fromJsonObject(), getUseReverseApi(), init(), setUseReverseApi(), and SWGHackRFOutputSettings().
|
private |
Definition at line 97 of file SWGHackRFOutputSettings.h.
Referenced by asJsonObject(), fromJsonObject(), getVgaGain(), init(), setVgaGain(), and SWGHackRFOutputSettings().