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 <SWGXtrxOutputSettings.h>
Private Attributes | |
qint64 | center_frequency |
bool | m_center_frequency_isSet |
qint32 | dev_sample_rate |
bool | m_dev_sample_rate_isSet |
qint32 | log2_hard_interp |
bool | m_log2_hard_interp_isSet |
qint32 | log2_soft_interp |
bool | m_log2_soft_interp_isSet |
qint32 | lpf_bw |
bool | m_lpf_bw_isSet |
qint32 | gain |
bool | m_gain_isSet |
qint32 | nco_enable |
bool | m_nco_enable_isSet |
qint32 | nco_frequency |
bool | m_nco_frequency_isSet |
qint32 | antenna_path |
bool | m_antenna_path_isSet |
qint32 | ext_clock |
bool | m_ext_clock_isSet |
qint32 | ext_clock_freq |
bool | m_ext_clock_freq_isSet |
qint32 | pwrmode |
bool | m_pwrmode_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 SWGXtrxOutputSettings.h.
SWGSDRangel::SWGXtrxOutputSettings::SWGXtrxOutputSettings | ( | ) |
Definition at line 30 of file SWGXtrxOutputSettings.cpp.
References antenna_path, center_frequency, dev_sample_rate, ext_clock, ext_clock_freq, gain, log2_hard_interp, log2_soft_interp, lpf_bw, m_antenna_path_isSet, m_center_frequency_isSet, m_dev_sample_rate_isSet, m_ext_clock_freq_isSet, m_ext_clock_isSet, m_gain_isSet, m_log2_hard_interp_isSet, m_log2_soft_interp_isSet, m_lpf_bw_isSet, m_nco_enable_isSet, m_nco_frequency_isSet, m_pwrmode_isSet, m_reverse_api_address_isSet, m_reverse_api_device_index_isSet, m_reverse_api_port_isSet, m_use_reverse_api_isSet, nco_enable, nco_frequency, pwrmode, reverse_api_address, reverse_api_device_index, reverse_api_port, and use_reverse_api.
SWGSDRangel::SWGXtrxOutputSettings::SWGXtrxOutputSettings | ( | QString * | json | ) |
Definition at line 25 of file SWGXtrxOutputSettings.cpp.
References fromJson(), and init().
|
virtual |
Definition at line 65 of file SWGXtrxOutputSettings.cpp.
References cleanup().
|
overridevirtual |
Reimplemented from SWGSDRangel::SWGObject.
Definition at line 173 of file SWGXtrxOutputSettings.cpp.
References asJsonObject().
|
overridevirtual |
Reimplemented from SWGSDRangel::SWGObject.
Definition at line 184 of file SWGXtrxOutputSettings.cpp.
References antenna_path, center_frequency, dev_sample_rate, ext_clock, ext_clock_freq, gain, log2_hard_interp, log2_soft_interp, lpf_bw, m_antenna_path_isSet, m_center_frequency_isSet, m_dev_sample_rate_isSet, m_ext_clock_freq_isSet, m_ext_clock_isSet, m_gain_isSet, m_log2_hard_interp_isSet, m_log2_soft_interp_isSet, m_lpf_bw_isSet, m_nco_enable_isSet, m_nco_frequency_isSet, m_pwrmode_isSet, m_reverse_api_device_index_isSet, m_reverse_api_port_isSet, m_use_reverse_api_isSet, nco_enable, nco_frequency, pwrmode, reverse_api_address, reverse_api_device_index, reverse_api_port, SWGSDRangel::toJsonValue(), and use_reverse_api.
Referenced by asJson().
void SWGSDRangel::SWGXtrxOutputSettings::cleanup | ( | ) |
Definition at line 106 of file SWGXtrxOutputSettings.cpp.
References reverse_api_address.
Referenced by ~SWGXtrxOutputSettings().
|
overridevirtual |
Reimplemented from SWGSDRangel::SWGObject.
Definition at line 128 of file SWGXtrxOutputSettings.cpp.
References fromJsonObject().
Referenced by SWGXtrxOutputSettings().
|
overridevirtual |
Reimplemented from SWGSDRangel::SWGObject.
Definition at line 137 of file SWGXtrxOutputSettings.cpp.
References antenna_path, center_frequency, dev_sample_rate, ext_clock, ext_clock_freq, gain, log2_hard_interp, log2_soft_interp, lpf_bw, nco_enable, nco_frequency, pwrmode, reverse_api_address, reverse_api_device_index, reverse_api_port, SWGSDRangel::setValue(), and use_reverse_api.
Referenced by fromJson(), and WebAPIRequestMapper::validateDeviceSettings().
qint32 SWGSDRangel::SWGXtrxOutputSettings::getAntennaPath | ( | ) |
Definition at line 319 of file SWGXtrxOutputSettings.cpp.
References antenna_path.
Referenced by XTRXOutput::webapiSettingsPutPatch().
qint64 SWGSDRangel::SWGXtrxOutputSettings::getCenterFrequency | ( | ) |
Definition at line 239 of file SWGXtrxOutputSettings.cpp.
References center_frequency.
Referenced by XTRXOutput::webapiSettingsPutPatch().
qint32 SWGSDRangel::SWGXtrxOutputSettings::getDevSampleRate | ( | ) |
Definition at line 249 of file SWGXtrxOutputSettings.cpp.
References dev_sample_rate.
Referenced by XTRXOutput::webapiSettingsPutPatch().
qint32 SWGSDRangel::SWGXtrxOutputSettings::getExtClock | ( | ) |
Definition at line 329 of file SWGXtrxOutputSettings.cpp.
References ext_clock.
Referenced by XTRXOutput::webapiSettingsPutPatch().
qint32 SWGSDRangel::SWGXtrxOutputSettings::getExtClockFreq | ( | ) |
Definition at line 339 of file SWGXtrxOutputSettings.cpp.
References ext_clock_freq.
Referenced by XTRXOutput::webapiSettingsPutPatch().
qint32 SWGSDRangel::SWGXtrxOutputSettings::getGain | ( | ) |
Definition at line 289 of file SWGXtrxOutputSettings.cpp.
References gain.
Referenced by XTRXOutput::webapiSettingsPutPatch().
qint32 SWGSDRangel::SWGXtrxOutputSettings::getLog2HardInterp | ( | ) |
Definition at line 259 of file SWGXtrxOutputSettings.cpp.
References log2_hard_interp.
Referenced by XTRXOutput::webapiSettingsPutPatch().
qint32 SWGSDRangel::SWGXtrxOutputSettings::getLog2SoftInterp | ( | ) |
Definition at line 269 of file SWGXtrxOutputSettings.cpp.
References log2_soft_interp.
Referenced by XTRXOutput::webapiSettingsPutPatch().
qint32 SWGSDRangel::SWGXtrxOutputSettings::getLpfBw | ( | ) |
Definition at line 279 of file SWGXtrxOutputSettings.cpp.
References lpf_bw.
Referenced by XTRXOutput::webapiSettingsPutPatch().
qint32 SWGSDRangel::SWGXtrxOutputSettings::getNcoEnable | ( | ) |
Definition at line 299 of file SWGXtrxOutputSettings.cpp.
References nco_enable.
Referenced by XTRXOutput::webapiSettingsPutPatch().
qint32 SWGSDRangel::SWGXtrxOutputSettings::getNcoFrequency | ( | ) |
Definition at line 309 of file SWGXtrxOutputSettings.cpp.
References nco_frequency.
Referenced by XTRXOutput::webapiSettingsPutPatch().
qint32 SWGSDRangel::SWGXtrxOutputSettings::getPwrmode | ( | ) |
Definition at line 349 of file SWGXtrxOutputSettings.cpp.
References pwrmode.
Referenced by XTRXOutput::webapiSettingsPutPatch().
QString * SWGSDRangel::SWGXtrxOutputSettings::getReverseApiAddress | ( | ) |
Definition at line 369 of file SWGXtrxOutputSettings.cpp.
References reverse_api_address.
Referenced by XTRXOutput::webapiFormatDeviceSettings(), and XTRXOutput::webapiSettingsPutPatch().
qint32 SWGSDRangel::SWGXtrxOutputSettings::getReverseApiDeviceIndex | ( | ) |
Definition at line 389 of file SWGXtrxOutputSettings.cpp.
References reverse_api_device_index.
Referenced by XTRXOutput::webapiSettingsPutPatch().
qint32 SWGSDRangel::SWGXtrxOutputSettings::getReverseApiPort | ( | ) |
Definition at line 379 of file SWGXtrxOutputSettings.cpp.
References reverse_api_port.
Referenced by XTRXOutput::webapiSettingsPutPatch().
qint32 SWGSDRangel::SWGXtrxOutputSettings::getUseReverseApi | ( | ) |
Definition at line 359 of file SWGXtrxOutputSettings.cpp.
References use_reverse_api.
Referenced by XTRXOutput::webapiSettingsPutPatch().
void SWGSDRangel::SWGXtrxOutputSettings::init | ( | ) |
Definition at line 70 of file SWGXtrxOutputSettings.cpp.
References antenna_path, center_frequency, dev_sample_rate, ext_clock, ext_clock_freq, gain, log2_hard_interp, log2_soft_interp, lpf_bw, m_antenna_path_isSet, m_center_frequency_isSet, m_dev_sample_rate_isSet, m_ext_clock_freq_isSet, m_ext_clock_isSet, m_gain_isSet, m_log2_hard_interp_isSet, m_log2_soft_interp_isSet, m_lpf_bw_isSet, m_nco_enable_isSet, m_nco_frequency_isSet, m_pwrmode_isSet, m_reverse_api_address_isSet, m_reverse_api_device_index_isSet, m_reverse_api_port_isSet, m_use_reverse_api_isSet, nco_enable, nco_frequency, pwrmode, reverse_api_address, reverse_api_device_index, reverse_api_port, and use_reverse_api.
Referenced by SWGXtrxOutputSettings(), and XTRXOutput::webapiSettingsGet().
|
overridevirtual |
Reimplemented from SWGSDRangel::SWGObject.
Definition at line 400 of file SWGXtrxOutputSettings.cpp.
References m_antenna_path_isSet, m_center_frequency_isSet, m_dev_sample_rate_isSet, m_ext_clock_freq_isSet, m_ext_clock_isSet, m_gain_isSet, m_log2_hard_interp_isSet, m_log2_soft_interp_isSet, m_lpf_bw_isSet, m_nco_enable_isSet, m_nco_frequency_isSet, m_pwrmode_isSet, m_reverse_api_device_index_isSet, m_reverse_api_port_isSet, m_use_reverse_api_isSet, and reverse_api_address.
Referenced by SWGSDRangel::SWGDeviceSettings::asJsonObject(), SWGSDRangel::SWGDeviceSettings_2::asJsonObject(), SWGSDRangel::SWGDeviceSettings_2::isSet(), and SWGSDRangel::SWGDeviceSettings::isSet().
void SWGSDRangel::SWGXtrxOutputSettings::setAntennaPath | ( | qint32 | antenna_path | ) |
Definition at line 323 of file SWGXtrxOutputSettings.cpp.
References antenna_path, and m_antenna_path_isSet.
Referenced by XTRXOutput::webapiFormatDeviceSettings(), and XTRXOutput::webapiReverseSendSettings().
void SWGSDRangel::SWGXtrxOutputSettings::setCenterFrequency | ( | qint64 | center_frequency | ) |
Definition at line 243 of file SWGXtrxOutputSettings.cpp.
References center_frequency, and m_center_frequency_isSet.
Referenced by XTRXOutput::webapiFormatDeviceSettings(), and XTRXOutput::webapiReverseSendSettings().
void SWGSDRangel::SWGXtrxOutputSettings::setDevSampleRate | ( | qint32 | dev_sample_rate | ) |
Definition at line 253 of file SWGXtrxOutputSettings.cpp.
References dev_sample_rate, and m_dev_sample_rate_isSet.
Referenced by XTRXOutput::webapiFormatDeviceSettings(), and XTRXOutput::webapiReverseSendSettings().
void SWGSDRangel::SWGXtrxOutputSettings::setExtClock | ( | qint32 | ext_clock | ) |
Definition at line 333 of file SWGXtrxOutputSettings.cpp.
References ext_clock, and m_ext_clock_isSet.
Referenced by XTRXOutput::webapiFormatDeviceSettings(), and XTRXOutput::webapiReverseSendSettings().
void SWGSDRangel::SWGXtrxOutputSettings::setExtClockFreq | ( | qint32 | ext_clock_freq | ) |
Definition at line 343 of file SWGXtrxOutputSettings.cpp.
References ext_clock_freq, and m_ext_clock_freq_isSet.
Referenced by XTRXOutput::webapiFormatDeviceSettings(), and XTRXOutput::webapiReverseSendSettings().
void SWGSDRangel::SWGXtrxOutputSettings::setGain | ( | qint32 | gain | ) |
Definition at line 293 of file SWGXtrxOutputSettings.cpp.
References gain, and m_gain_isSet.
Referenced by XTRXOutput::webapiFormatDeviceSettings(), and XTRXOutput::webapiReverseSendSettings().
void SWGSDRangel::SWGXtrxOutputSettings::setLog2HardInterp | ( | qint32 | log2_hard_interp | ) |
Definition at line 263 of file SWGXtrxOutputSettings.cpp.
References log2_hard_interp, and m_log2_hard_interp_isSet.
Referenced by XTRXOutput::webapiFormatDeviceSettings(), and XTRXOutput::webapiReverseSendSettings().
void SWGSDRangel::SWGXtrxOutputSettings::setLog2SoftInterp | ( | qint32 | log2_soft_interp | ) |
Definition at line 273 of file SWGXtrxOutputSettings.cpp.
References log2_soft_interp, and m_log2_soft_interp_isSet.
Referenced by XTRXOutput::webapiFormatDeviceSettings(), and XTRXOutput::webapiReverseSendSettings().
void SWGSDRangel::SWGXtrxOutputSettings::setLpfBw | ( | qint32 | lpf_bw | ) |
Definition at line 283 of file SWGXtrxOutputSettings.cpp.
References lpf_bw, and m_lpf_bw_isSet.
Referenced by XTRXOutput::webapiFormatDeviceSettings(), and XTRXOutput::webapiReverseSendSettings().
void SWGSDRangel::SWGXtrxOutputSettings::setNcoEnable | ( | qint32 | nco_enable | ) |
Definition at line 303 of file SWGXtrxOutputSettings.cpp.
References m_nco_enable_isSet, and nco_enable.
Referenced by XTRXOutput::webapiFormatDeviceSettings(), and XTRXOutput::webapiReverseSendSettings().
void SWGSDRangel::SWGXtrxOutputSettings::setNcoFrequency | ( | qint32 | nco_frequency | ) |
Definition at line 313 of file SWGXtrxOutputSettings.cpp.
References m_nco_frequency_isSet, and nco_frequency.
Referenced by XTRXOutput::webapiFormatDeviceSettings(), and XTRXOutput::webapiReverseSendSettings().
void SWGSDRangel::SWGXtrxOutputSettings::setPwrmode | ( | qint32 | pwrmode | ) |
Definition at line 353 of file SWGXtrxOutputSettings.cpp.
References m_pwrmode_isSet, and pwrmode.
Referenced by XTRXOutput::webapiFormatDeviceSettings(), and XTRXOutput::webapiReverseSendSettings().
void SWGSDRangel::SWGXtrxOutputSettings::setReverseApiAddress | ( | QString * | reverse_api_address | ) |
Definition at line 373 of file SWGXtrxOutputSettings.cpp.
References m_reverse_api_address_isSet, and reverse_api_address.
Referenced by XTRXOutput::webapiFormatDeviceSettings().
void SWGSDRangel::SWGXtrxOutputSettings::setReverseApiDeviceIndex | ( | qint32 | reverse_api_device_index | ) |
Definition at line 393 of file SWGXtrxOutputSettings.cpp.
References m_reverse_api_device_index_isSet, and reverse_api_device_index.
Referenced by XTRXOutput::webapiFormatDeviceSettings().
void SWGSDRangel::SWGXtrxOutputSettings::setReverseApiPort | ( | qint32 | reverse_api_port | ) |
Definition at line 383 of file SWGXtrxOutputSettings.cpp.
References m_reverse_api_port_isSet, and reverse_api_port.
Referenced by XTRXOutput::webapiFormatDeviceSettings().
void SWGSDRangel::SWGXtrxOutputSettings::setUseReverseApi | ( | qint32 | use_reverse_api | ) |
Definition at line 363 of file SWGXtrxOutputSettings.cpp.
References m_use_reverse_api_isSet, and use_reverse_api.
Referenced by XTRXOutput::webapiFormatDeviceSettings().
|
private |
Definition at line 121 of file SWGXtrxOutputSettings.h.
Referenced by asJsonObject(), fromJsonObject(), getAntennaPath(), init(), setAntennaPath(), and SWGXtrxOutputSettings().
|
private |
Definition at line 97 of file SWGXtrxOutputSettings.h.
Referenced by asJsonObject(), fromJsonObject(), getCenterFrequency(), init(), setCenterFrequency(), and SWGXtrxOutputSettings().
|
private |
Definition at line 100 of file SWGXtrxOutputSettings.h.
Referenced by asJsonObject(), fromJsonObject(), getDevSampleRate(), init(), setDevSampleRate(), and SWGXtrxOutputSettings().
|
private |
Definition at line 124 of file SWGXtrxOutputSettings.h.
Referenced by asJsonObject(), fromJsonObject(), getExtClock(), init(), setExtClock(), and SWGXtrxOutputSettings().
|
private |
Definition at line 127 of file SWGXtrxOutputSettings.h.
Referenced by asJsonObject(), fromJsonObject(), getExtClockFreq(), init(), setExtClockFreq(), and SWGXtrxOutputSettings().
|
private |
Definition at line 112 of file SWGXtrxOutputSettings.h.
Referenced by asJsonObject(), fromJsonObject(), getGain(), init(), setGain(), and SWGXtrxOutputSettings().
|
private |
Definition at line 103 of file SWGXtrxOutputSettings.h.
Referenced by asJsonObject(), fromJsonObject(), getLog2HardInterp(), init(), setLog2HardInterp(), and SWGXtrxOutputSettings().
|
private |
Definition at line 106 of file SWGXtrxOutputSettings.h.
Referenced by asJsonObject(), fromJsonObject(), getLog2SoftInterp(), init(), setLog2SoftInterp(), and SWGXtrxOutputSettings().
|
private |
Definition at line 109 of file SWGXtrxOutputSettings.h.
Referenced by asJsonObject(), fromJsonObject(), getLpfBw(), init(), setLpfBw(), and SWGXtrxOutputSettings().
|
private |
Definition at line 122 of file SWGXtrxOutputSettings.h.
Referenced by asJsonObject(), init(), isSet(), setAntennaPath(), and SWGXtrxOutputSettings().
|
private |
Definition at line 98 of file SWGXtrxOutputSettings.h.
Referenced by asJsonObject(), init(), isSet(), setCenterFrequency(), and SWGXtrxOutputSettings().
|
private |
Definition at line 101 of file SWGXtrxOutputSettings.h.
Referenced by asJsonObject(), init(), isSet(), setDevSampleRate(), and SWGXtrxOutputSettings().
|
private |
Definition at line 128 of file SWGXtrxOutputSettings.h.
Referenced by asJsonObject(), init(), isSet(), setExtClockFreq(), and SWGXtrxOutputSettings().
|
private |
Definition at line 125 of file SWGXtrxOutputSettings.h.
Referenced by asJsonObject(), init(), isSet(), setExtClock(), and SWGXtrxOutputSettings().
|
private |
Definition at line 113 of file SWGXtrxOutputSettings.h.
Referenced by asJsonObject(), init(), isSet(), setGain(), and SWGXtrxOutputSettings().
|
private |
Definition at line 104 of file SWGXtrxOutputSettings.h.
Referenced by asJsonObject(), init(), isSet(), setLog2HardInterp(), and SWGXtrxOutputSettings().
|
private |
Definition at line 107 of file SWGXtrxOutputSettings.h.
Referenced by asJsonObject(), init(), isSet(), setLog2SoftInterp(), and SWGXtrxOutputSettings().
|
private |
Definition at line 110 of file SWGXtrxOutputSettings.h.
Referenced by asJsonObject(), init(), isSet(), setLpfBw(), and SWGXtrxOutputSettings().
|
private |
Definition at line 116 of file SWGXtrxOutputSettings.h.
Referenced by asJsonObject(), init(), isSet(), setNcoEnable(), and SWGXtrxOutputSettings().
|
private |
Definition at line 119 of file SWGXtrxOutputSettings.h.
Referenced by asJsonObject(), init(), isSet(), setNcoFrequency(), and SWGXtrxOutputSettings().
|
private |
Definition at line 131 of file SWGXtrxOutputSettings.h.
Referenced by asJsonObject(), init(), isSet(), setPwrmode(), and SWGXtrxOutputSettings().
|
private |
Definition at line 137 of file SWGXtrxOutputSettings.h.
Referenced by init(), setReverseApiAddress(), and SWGXtrxOutputSettings().
|
private |
Definition at line 143 of file SWGXtrxOutputSettings.h.
Referenced by asJsonObject(), init(), isSet(), setReverseApiDeviceIndex(), and SWGXtrxOutputSettings().
|
private |
Definition at line 140 of file SWGXtrxOutputSettings.h.
Referenced by asJsonObject(), init(), isSet(), setReverseApiPort(), and SWGXtrxOutputSettings().
|
private |
Definition at line 134 of file SWGXtrxOutputSettings.h.
Referenced by asJsonObject(), init(), isSet(), setUseReverseApi(), and SWGXtrxOutputSettings().
|
private |
Definition at line 115 of file SWGXtrxOutputSettings.h.
Referenced by asJsonObject(), fromJsonObject(), getNcoEnable(), init(), setNcoEnable(), and SWGXtrxOutputSettings().
|
private |
Definition at line 118 of file SWGXtrxOutputSettings.h.
Referenced by asJsonObject(), fromJsonObject(), getNcoFrequency(), init(), setNcoFrequency(), and SWGXtrxOutputSettings().
|
private |
Definition at line 130 of file SWGXtrxOutputSettings.h.
Referenced by asJsonObject(), fromJsonObject(), getPwrmode(), init(), setPwrmode(), and SWGXtrxOutputSettings().
|
private |
Definition at line 136 of file SWGXtrxOutputSettings.h.
Referenced by asJsonObject(), cleanup(), fromJsonObject(), getReverseApiAddress(), init(), isSet(), setReverseApiAddress(), and SWGXtrxOutputSettings().
|
private |
Definition at line 142 of file SWGXtrxOutputSettings.h.
Referenced by asJsonObject(), fromJsonObject(), getReverseApiDeviceIndex(), init(), setReverseApiDeviceIndex(), and SWGXtrxOutputSettings().
|
private |
Definition at line 139 of file SWGXtrxOutputSettings.h.
Referenced by asJsonObject(), fromJsonObject(), getReverseApiPort(), init(), setReverseApiPort(), and SWGXtrxOutputSettings().
|
private |
Definition at line 133 of file SWGXtrxOutputSettings.h.
Referenced by asJsonObject(), fromJsonObject(), getUseReverseApi(), init(), setUseReverseApi(), and SWGXtrxOutputSettings().