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 <SWGPerseusSettings.h>
Private Attributes | |
qint64 | center_frequency |
bool | m_center_frequency_isSet |
qint32 | l_oppm_tenths |
bool | m_l_oppm_tenths_isSet |
qint32 | dev_sample_rate_index |
bool | m_dev_sample_rate_index_isSet |
qint32 | log2_decim |
bool | m_log2_decim_isSet |
qint32 | adc_dither |
bool | m_adc_dither_isSet |
qint32 | adc_preamp |
bool | m_adc_preamp_isSet |
qint32 | wide_band |
bool | m_wide_band_isSet |
qint32 | transverter_mode |
bool | m_transverter_mode_isSet |
qint64 | transverter_delta_frequency |
bool | m_transverter_delta_frequency_isSet |
QString * | file_record_name |
bool | m_file_record_name_isSet |
qint32 | attenuator |
bool | m_attenuator_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 SWGPerseusSettings.h.
SWGSDRangel::SWGPerseusSettings::SWGPerseusSettings | ( | ) |
Definition at line 30 of file SWGPerseusSettings.cpp.
References adc_dither, adc_preamp, attenuator, center_frequency, dev_sample_rate_index, file_record_name, l_oppm_tenths, log2_decim, m_adc_dither_isSet, m_adc_preamp_isSet, m_attenuator_isSet, m_center_frequency_isSet, m_dev_sample_rate_index_isSet, m_file_record_name_isSet, m_l_oppm_tenths_isSet, m_log2_decim_isSet, m_reverse_api_address_isSet, m_reverse_api_device_index_isSet, m_reverse_api_port_isSet, m_transverter_delta_frequency_isSet, m_transverter_mode_isSet, m_use_reverse_api_isSet, m_wide_band_isSet, reverse_api_address, reverse_api_device_index, reverse_api_port, transverter_delta_frequency, transverter_mode, use_reverse_api, and wide_band.
SWGSDRangel::SWGPerseusSettings::SWGPerseusSettings | ( | QString * | json | ) |
Definition at line 25 of file SWGPerseusSettings.cpp.
References fromJson(), and init().
|
virtual |
Definition at line 63 of file SWGPerseusSettings.cpp.
References cleanup().
|
overridevirtual |
Reimplemented from SWGSDRangel::SWGObject.
Definition at line 168 of file SWGPerseusSettings.cpp.
References asJsonObject().
|
overridevirtual |
Reimplemented from SWGSDRangel::SWGObject.
Definition at line 179 of file SWGPerseusSettings.cpp.
References adc_dither, adc_preamp, attenuator, center_frequency, dev_sample_rate_index, file_record_name, l_oppm_tenths, log2_decim, m_adc_dither_isSet, m_adc_preamp_isSet, m_attenuator_isSet, m_center_frequency_isSet, m_dev_sample_rate_index_isSet, m_l_oppm_tenths_isSet, m_log2_decim_isSet, m_reverse_api_device_index_isSet, m_reverse_api_port_isSet, m_transverter_delta_frequency_isSet, m_transverter_mode_isSet, m_use_reverse_api_isSet, m_wide_band_isSet, reverse_api_address, reverse_api_device_index, reverse_api_port, SWGSDRangel::toJsonValue(), transverter_delta_frequency, transverter_mode, use_reverse_api, and wide_band.
Referenced by asJson().
void SWGSDRangel::SWGPerseusSettings::cleanup | ( | ) |
Definition at line 102 of file SWGPerseusSettings.cpp.
References file_record_name, and reverse_api_address.
Referenced by ~SWGPerseusSettings().
|
overridevirtual |
Reimplemented from SWGSDRangel::SWGObject.
Definition at line 125 of file SWGPerseusSettings.cpp.
References fromJsonObject().
Referenced by SWGPerseusSettings().
|
overridevirtual |
Reimplemented from SWGSDRangel::SWGObject.
Definition at line 134 of file SWGPerseusSettings.cpp.
References adc_dither, adc_preamp, attenuator, center_frequency, dev_sample_rate_index, file_record_name, l_oppm_tenths, log2_decim, reverse_api_address, reverse_api_device_index, reverse_api_port, SWGSDRangel::setValue(), transverter_delta_frequency, transverter_mode, use_reverse_api, and wide_band.
Referenced by fromJson(), and WebAPIRequestMapper::validateDeviceSettings().
qint32 SWGSDRangel::SWGPerseusSettings::getAdcDither | ( | ) |
Definition at line 271 of file SWGPerseusSettings.cpp.
References adc_dither.
Referenced by PerseusInput::webapiSettingsPutPatch().
qint32 SWGSDRangel::SWGPerseusSettings::getAdcPreamp | ( | ) |
Definition at line 281 of file SWGPerseusSettings.cpp.
References adc_preamp.
Referenced by PerseusInput::webapiSettingsPutPatch().
qint32 SWGSDRangel::SWGPerseusSettings::getAttenuator | ( | ) |
Definition at line 331 of file SWGPerseusSettings.cpp.
References attenuator.
Referenced by PerseusInput::webapiSettingsPutPatch().
qint64 SWGSDRangel::SWGPerseusSettings::getCenterFrequency | ( | ) |
Definition at line 231 of file SWGPerseusSettings.cpp.
References center_frequency.
Referenced by PerseusInput::webapiSettingsPutPatch().
qint32 SWGSDRangel::SWGPerseusSettings::getDevSampleRateIndex | ( | ) |
Definition at line 251 of file SWGPerseusSettings.cpp.
References dev_sample_rate_index.
Referenced by PerseusInput::webapiSettingsPutPatch().
QString * SWGSDRangel::SWGPerseusSettings::getFileRecordName | ( | ) |
Definition at line 321 of file SWGPerseusSettings.cpp.
References file_record_name.
Referenced by PerseusInput::webapiFormatDeviceSettings(), and PerseusInput::webapiSettingsPutPatch().
qint32 SWGSDRangel::SWGPerseusSettings::getLog2Decim | ( | ) |
Definition at line 261 of file SWGPerseusSettings.cpp.
References log2_decim.
Referenced by PerseusInput::webapiSettingsPutPatch().
qint32 SWGSDRangel::SWGPerseusSettings::getLOppmTenths | ( | ) |
Definition at line 241 of file SWGPerseusSettings.cpp.
References l_oppm_tenths.
Referenced by PerseusInput::webapiSettingsPutPatch().
QString * SWGSDRangel::SWGPerseusSettings::getReverseApiAddress | ( | ) |
Definition at line 351 of file SWGPerseusSettings.cpp.
References reverse_api_address.
Referenced by PerseusInput::webapiFormatDeviceSettings(), and PerseusInput::webapiSettingsPutPatch().
qint32 SWGSDRangel::SWGPerseusSettings::getReverseApiDeviceIndex | ( | ) |
Definition at line 371 of file SWGPerseusSettings.cpp.
References reverse_api_device_index.
Referenced by PerseusInput::webapiSettingsPutPatch().
qint32 SWGSDRangel::SWGPerseusSettings::getReverseApiPort | ( | ) |
Definition at line 361 of file SWGPerseusSettings.cpp.
References reverse_api_port.
Referenced by PerseusInput::webapiSettingsPutPatch().
qint64 SWGSDRangel::SWGPerseusSettings::getTransverterDeltaFrequency | ( | ) |
Definition at line 311 of file SWGPerseusSettings.cpp.
References transverter_delta_frequency.
Referenced by PerseusInput::webapiSettingsPutPatch().
qint32 SWGSDRangel::SWGPerseusSettings::getTransverterMode | ( | ) |
Definition at line 301 of file SWGPerseusSettings.cpp.
References transverter_mode.
Referenced by PerseusInput::webapiSettingsPutPatch().
qint32 SWGSDRangel::SWGPerseusSettings::getUseReverseApi | ( | ) |
Definition at line 341 of file SWGPerseusSettings.cpp.
References use_reverse_api.
Referenced by PerseusInput::webapiSettingsPutPatch().
qint32 SWGSDRangel::SWGPerseusSettings::getWideBand | ( | ) |
Definition at line 291 of file SWGPerseusSettings.cpp.
References wide_band.
Referenced by PerseusInput::webapiSettingsPutPatch().
void SWGSDRangel::SWGPerseusSettings::init | ( | ) |
Definition at line 68 of file SWGPerseusSettings.cpp.
References adc_dither, adc_preamp, attenuator, center_frequency, dev_sample_rate_index, file_record_name, l_oppm_tenths, log2_decim, m_adc_dither_isSet, m_adc_preamp_isSet, m_attenuator_isSet, m_center_frequency_isSet, m_dev_sample_rate_index_isSet, m_file_record_name_isSet, m_l_oppm_tenths_isSet, m_log2_decim_isSet, m_reverse_api_address_isSet, m_reverse_api_device_index_isSet, m_reverse_api_port_isSet, m_transverter_delta_frequency_isSet, m_transverter_mode_isSet, m_use_reverse_api_isSet, m_wide_band_isSet, reverse_api_address, reverse_api_device_index, reverse_api_port, transverter_delta_frequency, transverter_mode, use_reverse_api, and wide_band.
Referenced by SWGPerseusSettings(), and PerseusInput::webapiSettingsGet().
|
overridevirtual |
Reimplemented from SWGSDRangel::SWGObject.
Definition at line 382 of file SWGPerseusSettings.cpp.
References file_record_name, m_adc_dither_isSet, m_adc_preamp_isSet, m_attenuator_isSet, m_center_frequency_isSet, m_dev_sample_rate_index_isSet, m_l_oppm_tenths_isSet, m_log2_decim_isSet, m_reverse_api_device_index_isSet, m_reverse_api_port_isSet, m_transverter_delta_frequency_isSet, m_transverter_mode_isSet, m_use_reverse_api_isSet, m_wide_band_isSet, and reverse_api_address.
Referenced by SWGSDRangel::SWGDeviceSettings::asJsonObject(), SWGSDRangel::SWGDeviceSettings_2::asJsonObject(), SWGSDRangel::SWGDeviceSettings_2::isSet(), and SWGSDRangel::SWGDeviceSettings::isSet().
void SWGSDRangel::SWGPerseusSettings::setAdcDither | ( | qint32 | adc_dither | ) |
Definition at line 275 of file SWGPerseusSettings.cpp.
References adc_dither, and m_adc_dither_isSet.
Referenced by PerseusInput::webapiFormatDeviceSettings(), and PerseusInput::webapiReverseSendSettings().
void SWGSDRangel::SWGPerseusSettings::setAdcPreamp | ( | qint32 | adc_preamp | ) |
Definition at line 285 of file SWGPerseusSettings.cpp.
References adc_preamp, and m_adc_preamp_isSet.
Referenced by PerseusInput::webapiFormatDeviceSettings(), and PerseusInput::webapiReverseSendSettings().
void SWGSDRangel::SWGPerseusSettings::setAttenuator | ( | qint32 | attenuator | ) |
Definition at line 335 of file SWGPerseusSettings.cpp.
References attenuator, and m_attenuator_isSet.
Referenced by PerseusInput::webapiFormatDeviceSettings(), and PerseusInput::webapiReverseSendSettings().
void SWGSDRangel::SWGPerseusSettings::setCenterFrequency | ( | qint64 | center_frequency | ) |
Definition at line 235 of file SWGPerseusSettings.cpp.
References center_frequency, and m_center_frequency_isSet.
Referenced by PerseusInput::webapiFormatDeviceSettings(), and PerseusInput::webapiReverseSendSettings().
void SWGSDRangel::SWGPerseusSettings::setDevSampleRateIndex | ( | qint32 | dev_sample_rate_index | ) |
Definition at line 255 of file SWGPerseusSettings.cpp.
References dev_sample_rate_index, and m_dev_sample_rate_index_isSet.
Referenced by PerseusInput::webapiFormatDeviceSettings(), and PerseusInput::webapiReverseSendSettings().
void SWGSDRangel::SWGPerseusSettings::setFileRecordName | ( | QString * | file_record_name | ) |
Definition at line 325 of file SWGPerseusSettings.cpp.
References file_record_name, and m_file_record_name_isSet.
Referenced by PerseusInput::webapiFormatDeviceSettings(), and PerseusInput::webapiReverseSendSettings().
void SWGSDRangel::SWGPerseusSettings::setLog2Decim | ( | qint32 | log2_decim | ) |
Definition at line 265 of file SWGPerseusSettings.cpp.
References log2_decim, and m_log2_decim_isSet.
Referenced by PerseusInput::webapiFormatDeviceSettings(), and PerseusInput::webapiReverseSendSettings().
void SWGSDRangel::SWGPerseusSettings::setLOppmTenths | ( | qint32 | l_oppm_tenths | ) |
Definition at line 245 of file SWGPerseusSettings.cpp.
References l_oppm_tenths, and m_l_oppm_tenths_isSet.
Referenced by PerseusInput::webapiFormatDeviceSettings(), and PerseusInput::webapiReverseSendSettings().
void SWGSDRangel::SWGPerseusSettings::setReverseApiAddress | ( | QString * | reverse_api_address | ) |
Definition at line 355 of file SWGPerseusSettings.cpp.
References m_reverse_api_address_isSet, and reverse_api_address.
Referenced by PerseusInput::webapiFormatDeviceSettings().
void SWGSDRangel::SWGPerseusSettings::setReverseApiDeviceIndex | ( | qint32 | reverse_api_device_index | ) |
Definition at line 375 of file SWGPerseusSettings.cpp.
References m_reverse_api_device_index_isSet, and reverse_api_device_index.
Referenced by PerseusInput::webapiFormatDeviceSettings().
void SWGSDRangel::SWGPerseusSettings::setReverseApiPort | ( | qint32 | reverse_api_port | ) |
Definition at line 365 of file SWGPerseusSettings.cpp.
References m_reverse_api_port_isSet, and reverse_api_port.
Referenced by PerseusInput::webapiFormatDeviceSettings().
void SWGSDRangel::SWGPerseusSettings::setTransverterDeltaFrequency | ( | qint64 | transverter_delta_frequency | ) |
Definition at line 315 of file SWGPerseusSettings.cpp.
References m_transverter_delta_frequency_isSet, and transverter_delta_frequency.
Referenced by PerseusInput::webapiFormatDeviceSettings(), and PerseusInput::webapiReverseSendSettings().
void SWGSDRangel::SWGPerseusSettings::setTransverterMode | ( | qint32 | transverter_mode | ) |
Definition at line 305 of file SWGPerseusSettings.cpp.
References m_transverter_mode_isSet, and transverter_mode.
Referenced by PerseusInput::webapiFormatDeviceSettings(), and PerseusInput::webapiReverseSendSettings().
void SWGSDRangel::SWGPerseusSettings::setUseReverseApi | ( | qint32 | use_reverse_api | ) |
Definition at line 345 of file SWGPerseusSettings.cpp.
References m_use_reverse_api_isSet, and use_reverse_api.
Referenced by PerseusInput::webapiFormatDeviceSettings().
void SWGSDRangel::SWGPerseusSettings::setWideBand | ( | qint32 | wide_band | ) |
Definition at line 295 of file SWGPerseusSettings.cpp.
References m_wide_band_isSet, and wide_band.
Referenced by PerseusInput::webapiFormatDeviceSettings(), and PerseusInput::webapiReverseSendSettings().
|
private |
Definition at line 106 of file SWGPerseusSettings.h.
Referenced by asJsonObject(), fromJsonObject(), getAdcDither(), init(), setAdcDither(), and SWGPerseusSettings().
|
private |
Definition at line 109 of file SWGPerseusSettings.h.
Referenced by asJsonObject(), fromJsonObject(), getAdcPreamp(), init(), setAdcPreamp(), and SWGPerseusSettings().
|
private |
Definition at line 124 of file SWGPerseusSettings.h.
Referenced by asJsonObject(), fromJsonObject(), getAttenuator(), init(), setAttenuator(), and SWGPerseusSettings().
|
private |
Definition at line 94 of file SWGPerseusSettings.h.
Referenced by asJsonObject(), fromJsonObject(), getCenterFrequency(), init(), setCenterFrequency(), and SWGPerseusSettings().
|
private |
Definition at line 100 of file SWGPerseusSettings.h.
Referenced by asJsonObject(), fromJsonObject(), getDevSampleRateIndex(), init(), setDevSampleRateIndex(), and SWGPerseusSettings().
|
private |
Definition at line 121 of file SWGPerseusSettings.h.
Referenced by asJsonObject(), cleanup(), fromJsonObject(), getFileRecordName(), init(), isSet(), setFileRecordName(), and SWGPerseusSettings().
|
private |
Definition at line 97 of file SWGPerseusSettings.h.
Referenced by asJsonObject(), fromJsonObject(), getLOppmTenths(), init(), setLOppmTenths(), and SWGPerseusSettings().
|
private |
Definition at line 103 of file SWGPerseusSettings.h.
Referenced by asJsonObject(), fromJsonObject(), getLog2Decim(), init(), setLog2Decim(), and SWGPerseusSettings().
|
private |
Definition at line 107 of file SWGPerseusSettings.h.
Referenced by asJsonObject(), init(), isSet(), setAdcDither(), and SWGPerseusSettings().
|
private |
Definition at line 110 of file SWGPerseusSettings.h.
Referenced by asJsonObject(), init(), isSet(), setAdcPreamp(), and SWGPerseusSettings().
|
private |
Definition at line 125 of file SWGPerseusSettings.h.
Referenced by asJsonObject(), init(), isSet(), setAttenuator(), and SWGPerseusSettings().
|
private |
Definition at line 95 of file SWGPerseusSettings.h.
Referenced by asJsonObject(), init(), isSet(), setCenterFrequency(), and SWGPerseusSettings().
|
private |
Definition at line 101 of file SWGPerseusSettings.h.
Referenced by asJsonObject(), init(), isSet(), setDevSampleRateIndex(), and SWGPerseusSettings().
|
private |
Definition at line 122 of file SWGPerseusSettings.h.
Referenced by init(), setFileRecordName(), and SWGPerseusSettings().
|
private |
Definition at line 98 of file SWGPerseusSettings.h.
Referenced by asJsonObject(), init(), isSet(), setLOppmTenths(), and SWGPerseusSettings().
|
private |
Definition at line 104 of file SWGPerseusSettings.h.
Referenced by asJsonObject(), init(), isSet(), setLog2Decim(), and SWGPerseusSettings().
|
private |
Definition at line 131 of file SWGPerseusSettings.h.
Referenced by init(), setReverseApiAddress(), and SWGPerseusSettings().
|
private |
Definition at line 137 of file SWGPerseusSettings.h.
Referenced by asJsonObject(), init(), isSet(), setReverseApiDeviceIndex(), and SWGPerseusSettings().
|
private |
Definition at line 134 of file SWGPerseusSettings.h.
Referenced by asJsonObject(), init(), isSet(), setReverseApiPort(), and SWGPerseusSettings().
|
private |
Definition at line 119 of file SWGPerseusSettings.h.
Referenced by asJsonObject(), init(), isSet(), setTransverterDeltaFrequency(), and SWGPerseusSettings().
|
private |
Definition at line 116 of file SWGPerseusSettings.h.
Referenced by asJsonObject(), init(), isSet(), setTransverterMode(), and SWGPerseusSettings().
|
private |
Definition at line 128 of file SWGPerseusSettings.h.
Referenced by asJsonObject(), init(), isSet(), setUseReverseApi(), and SWGPerseusSettings().
|
private |
Definition at line 113 of file SWGPerseusSettings.h.
Referenced by asJsonObject(), init(), isSet(), setWideBand(), and SWGPerseusSettings().
|
private |
Definition at line 130 of file SWGPerseusSettings.h.
Referenced by asJsonObject(), cleanup(), fromJsonObject(), getReverseApiAddress(), init(), isSet(), setReverseApiAddress(), and SWGPerseusSettings().
|
private |
Definition at line 136 of file SWGPerseusSettings.h.
Referenced by asJsonObject(), fromJsonObject(), getReverseApiDeviceIndex(), init(), setReverseApiDeviceIndex(), and SWGPerseusSettings().
|
private |
Definition at line 133 of file SWGPerseusSettings.h.
Referenced by asJsonObject(), fromJsonObject(), getReverseApiPort(), init(), setReverseApiPort(), and SWGPerseusSettings().
|
private |
Definition at line 118 of file SWGPerseusSettings.h.
Referenced by asJsonObject(), fromJsonObject(), getTransverterDeltaFrequency(), init(), setTransverterDeltaFrequency(), and SWGPerseusSettings().
|
private |
Definition at line 115 of file SWGPerseusSettings.h.
Referenced by asJsonObject(), fromJsonObject(), getTransverterMode(), init(), setTransverterMode(), and SWGPerseusSettings().
|
private |
Definition at line 127 of file SWGPerseusSettings.h.
Referenced by asJsonObject(), fromJsonObject(), getUseReverseApi(), init(), setUseReverseApi(), and SWGPerseusSettings().
|
private |
Definition at line 112 of file SWGPerseusSettings.h.
Referenced by asJsonObject(), fromJsonObject(), getWideBand(), init(), setWideBand(), and SWGPerseusSettings().