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 <SWGKiwiSDRSettings.h>
Private Attributes | |
qint32 | gain |
bool | m_gain_isSet |
qint32 | use_agc |
bool | m_use_agc_isSet |
qint32 | dc_block |
bool | m_dc_block_isSet |
qint64 | center_frequency |
bool | m_center_frequency_isSet |
QString * | server_address |
bool | m_server_address_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 SWGKiwiSDRSettings.h.
SWGSDRangel::SWGKiwiSDRSettings::SWGKiwiSDRSettings | ( | ) |
Definition at line 30 of file SWGKiwiSDRSettings.cpp.
References center_frequency, dc_block, file_record_name, gain, m_center_frequency_isSet, m_dc_block_isSet, m_file_record_name_isSet, m_gain_isSet, m_reverse_api_address_isSet, m_reverse_api_device_index_isSet, m_reverse_api_port_isSet, m_server_address_isSet, m_use_agc_isSet, m_use_reverse_api_isSet, reverse_api_address, reverse_api_device_index, reverse_api_port, server_address, use_agc, and use_reverse_api.
SWGSDRangel::SWGKiwiSDRSettings::SWGKiwiSDRSettings | ( | QString * | json | ) |
Definition at line 25 of file SWGKiwiSDRSettings.cpp.
References fromJson(), and init().
|
virtual |
Definition at line 53 of file SWGKiwiSDRSettings.cpp.
References cleanup().
|
overridevirtual |
Reimplemented from SWGSDRangel::SWGObject.
Definition at line 135 of file SWGKiwiSDRSettings.cpp.
References asJsonObject().
|
overridevirtual |
Reimplemented from SWGSDRangel::SWGObject.
Definition at line 146 of file SWGKiwiSDRSettings.cpp.
References center_frequency, dc_block, file_record_name, gain, m_center_frequency_isSet, m_dc_block_isSet, m_gain_isSet, m_reverse_api_device_index_isSet, m_reverse_api_port_isSet, m_use_agc_isSet, m_use_reverse_api_isSet, reverse_api_address, reverse_api_device_index, reverse_api_port, server_address, SWGSDRangel::toJsonValue(), use_agc, and use_reverse_api.
Referenced by asJson().
void SWGSDRangel::SWGKiwiSDRSettings::cleanup | ( | ) |
Definition at line 82 of file SWGKiwiSDRSettings.cpp.
References file_record_name, reverse_api_address, and server_address.
Referenced by ~SWGKiwiSDRSettings().
|
overridevirtual |
Reimplemented from SWGSDRangel::SWGObject.
Definition at line 102 of file SWGKiwiSDRSettings.cpp.
References fromJsonObject().
Referenced by SWGKiwiSDRSettings().
|
overridevirtual |
Reimplemented from SWGSDRangel::SWGObject.
Definition at line 111 of file SWGKiwiSDRSettings.cpp.
References center_frequency, dc_block, file_record_name, gain, reverse_api_address, reverse_api_device_index, reverse_api_port, server_address, SWGSDRangel::setValue(), use_agc, and use_reverse_api.
Referenced by fromJson(), and WebAPIRequestMapper::validateDeviceSettings().
qint64 SWGSDRangel::SWGKiwiSDRSettings::getCenterFrequency | ( | ) |
Definition at line 213 of file SWGKiwiSDRSettings.cpp.
References center_frequency.
Referenced by KiwiSDRInput::webapiSettingsPutPatch().
qint32 SWGSDRangel::SWGKiwiSDRSettings::getDcBlock | ( | ) |
Definition at line 203 of file SWGKiwiSDRSettings.cpp.
References dc_block.
Referenced by KiwiSDRInput::webapiSettingsPutPatch().
QString * SWGSDRangel::SWGKiwiSDRSettings::getFileRecordName | ( | ) |
Definition at line 233 of file SWGKiwiSDRSettings.cpp.
References file_record_name.
Referenced by KiwiSDRInput::webapiFormatDeviceSettings(), and KiwiSDRInput::webapiSettingsPutPatch().
qint32 SWGSDRangel::SWGKiwiSDRSettings::getGain | ( | ) |
Definition at line 183 of file SWGKiwiSDRSettings.cpp.
References gain.
Referenced by KiwiSDRInput::webapiSettingsPutPatch().
QString * SWGSDRangel::SWGKiwiSDRSettings::getReverseApiAddress | ( | ) |
Definition at line 253 of file SWGKiwiSDRSettings.cpp.
References reverse_api_address.
Referenced by KiwiSDRInput::webapiFormatDeviceSettings(), and KiwiSDRInput::webapiSettingsPutPatch().
qint32 SWGSDRangel::SWGKiwiSDRSettings::getReverseApiDeviceIndex | ( | ) |
Definition at line 273 of file SWGKiwiSDRSettings.cpp.
References reverse_api_device_index.
Referenced by KiwiSDRInput::webapiSettingsPutPatch().
qint32 SWGSDRangel::SWGKiwiSDRSettings::getReverseApiPort | ( | ) |
Definition at line 263 of file SWGKiwiSDRSettings.cpp.
References reverse_api_port.
Referenced by KiwiSDRInput::webapiSettingsPutPatch().
QString * SWGSDRangel::SWGKiwiSDRSettings::getServerAddress | ( | ) |
Definition at line 223 of file SWGKiwiSDRSettings.cpp.
References server_address.
Referenced by KiwiSDRInput::webapiFormatDeviceSettings(), and KiwiSDRInput::webapiSettingsPutPatch().
qint32 SWGSDRangel::SWGKiwiSDRSettings::getUseAgc | ( | ) |
Definition at line 193 of file SWGKiwiSDRSettings.cpp.
References use_agc.
Referenced by KiwiSDRInput::webapiSettingsPutPatch().
qint32 SWGSDRangel::SWGKiwiSDRSettings::getUseReverseApi | ( | ) |
Definition at line 243 of file SWGKiwiSDRSettings.cpp.
References use_reverse_api.
Referenced by KiwiSDRInput::webapiSettingsPutPatch().
void SWGSDRangel::SWGKiwiSDRSettings::init | ( | ) |
Definition at line 58 of file SWGKiwiSDRSettings.cpp.
References center_frequency, dc_block, file_record_name, gain, m_center_frequency_isSet, m_dc_block_isSet, m_file_record_name_isSet, m_gain_isSet, m_reverse_api_address_isSet, m_reverse_api_device_index_isSet, m_reverse_api_port_isSet, m_server_address_isSet, m_use_agc_isSet, m_use_reverse_api_isSet, reverse_api_address, reverse_api_device_index, reverse_api_port, server_address, use_agc, and use_reverse_api.
Referenced by SWGKiwiSDRSettings(), and KiwiSDRInput::webapiSettingsGet().
|
overridevirtual |
Reimplemented from SWGSDRangel::SWGObject.
Definition at line 284 of file SWGKiwiSDRSettings.cpp.
References file_record_name, m_center_frequency_isSet, m_dc_block_isSet, m_gain_isSet, m_reverse_api_device_index_isSet, m_reverse_api_port_isSet, m_use_agc_isSet, m_use_reverse_api_isSet, reverse_api_address, and server_address.
Referenced by SWGSDRangel::SWGDeviceSettings::asJsonObject(), SWGSDRangel::SWGDeviceSettings_2::asJsonObject(), SWGSDRangel::SWGDeviceSettings_2::isSet(), and SWGSDRangel::SWGDeviceSettings::isSet().
void SWGSDRangel::SWGKiwiSDRSettings::setCenterFrequency | ( | qint64 | center_frequency | ) |
Definition at line 217 of file SWGKiwiSDRSettings.cpp.
References center_frequency, and m_center_frequency_isSet.
Referenced by KiwiSDRInput::webapiFormatDeviceSettings(), and KiwiSDRInput::webapiReverseSendSettings().
void SWGSDRangel::SWGKiwiSDRSettings::setDcBlock | ( | qint32 | dc_block | ) |
Definition at line 207 of file SWGKiwiSDRSettings.cpp.
References dc_block, and m_dc_block_isSet.
Referenced by KiwiSDRInput::webapiFormatDeviceSettings(), and KiwiSDRInput::webapiReverseSendSettings().
void SWGSDRangel::SWGKiwiSDRSettings::setFileRecordName | ( | QString * | file_record_name | ) |
Definition at line 237 of file SWGKiwiSDRSettings.cpp.
References file_record_name, and m_file_record_name_isSet.
Referenced by KiwiSDRInput::webapiFormatDeviceSettings(), and KiwiSDRInput::webapiReverseSendSettings().
void SWGSDRangel::SWGKiwiSDRSettings::setGain | ( | qint32 | gain | ) |
Definition at line 187 of file SWGKiwiSDRSettings.cpp.
References gain, and m_gain_isSet.
Referenced by KiwiSDRInput::webapiFormatDeviceSettings(), and KiwiSDRInput::webapiReverseSendSettings().
void SWGSDRangel::SWGKiwiSDRSettings::setReverseApiAddress | ( | QString * | reverse_api_address | ) |
Definition at line 257 of file SWGKiwiSDRSettings.cpp.
References m_reverse_api_address_isSet, and reverse_api_address.
Referenced by KiwiSDRInput::webapiFormatDeviceSettings().
void SWGSDRangel::SWGKiwiSDRSettings::setReverseApiDeviceIndex | ( | qint32 | reverse_api_device_index | ) |
Definition at line 277 of file SWGKiwiSDRSettings.cpp.
References m_reverse_api_device_index_isSet, and reverse_api_device_index.
Referenced by KiwiSDRInput::webapiFormatDeviceSettings().
void SWGSDRangel::SWGKiwiSDRSettings::setReverseApiPort | ( | qint32 | reverse_api_port | ) |
Definition at line 267 of file SWGKiwiSDRSettings.cpp.
References m_reverse_api_port_isSet, and reverse_api_port.
Referenced by KiwiSDRInput::webapiFormatDeviceSettings().
void SWGSDRangel::SWGKiwiSDRSettings::setServerAddress | ( | QString * | server_address | ) |
Definition at line 227 of file SWGKiwiSDRSettings.cpp.
References m_server_address_isSet, and server_address.
Referenced by KiwiSDRInput::webapiFormatDeviceSettings(), and KiwiSDRInput::webapiReverseSendSettings().
void SWGSDRangel::SWGKiwiSDRSettings::setUseAgc | ( | qint32 | use_agc | ) |
Definition at line 197 of file SWGKiwiSDRSettings.cpp.
References m_use_agc_isSet, and use_agc.
Referenced by KiwiSDRInput::webapiFormatDeviceSettings(), and KiwiSDRInput::webapiReverseSendSettings().
void SWGSDRangel::SWGKiwiSDRSettings::setUseReverseApi | ( | qint32 | use_reverse_api | ) |
Definition at line 247 of file SWGKiwiSDRSettings.cpp.
References m_use_reverse_api_isSet, and use_reverse_api.
Referenced by KiwiSDRInput::webapiFormatDeviceSettings().
|
private |
Definition at line 88 of file SWGKiwiSDRSettings.h.
Referenced by asJsonObject(), fromJsonObject(), getCenterFrequency(), init(), setCenterFrequency(), and SWGKiwiSDRSettings().
|
private |
Definition at line 85 of file SWGKiwiSDRSettings.h.
Referenced by asJsonObject(), fromJsonObject(), getDcBlock(), init(), setDcBlock(), and SWGKiwiSDRSettings().
|
private |
Definition at line 94 of file SWGKiwiSDRSettings.h.
Referenced by asJsonObject(), cleanup(), fromJsonObject(), getFileRecordName(), init(), isSet(), setFileRecordName(), and SWGKiwiSDRSettings().
|
private |
Definition at line 79 of file SWGKiwiSDRSettings.h.
Referenced by asJsonObject(), fromJsonObject(), getGain(), init(), setGain(), and SWGKiwiSDRSettings().
|
private |
Definition at line 89 of file SWGKiwiSDRSettings.h.
Referenced by asJsonObject(), init(), isSet(), setCenterFrequency(), and SWGKiwiSDRSettings().
|
private |
Definition at line 86 of file SWGKiwiSDRSettings.h.
Referenced by asJsonObject(), init(), isSet(), setDcBlock(), and SWGKiwiSDRSettings().
|
private |
Definition at line 95 of file SWGKiwiSDRSettings.h.
Referenced by init(), setFileRecordName(), and SWGKiwiSDRSettings().
|
private |
Definition at line 80 of file SWGKiwiSDRSettings.h.
Referenced by asJsonObject(), init(), isSet(), setGain(), and SWGKiwiSDRSettings().
|
private |
Definition at line 101 of file SWGKiwiSDRSettings.h.
Referenced by init(), setReverseApiAddress(), and SWGKiwiSDRSettings().
|
private |
Definition at line 107 of file SWGKiwiSDRSettings.h.
Referenced by asJsonObject(), init(), isSet(), setReverseApiDeviceIndex(), and SWGKiwiSDRSettings().
|
private |
Definition at line 104 of file SWGKiwiSDRSettings.h.
Referenced by asJsonObject(), init(), isSet(), setReverseApiPort(), and SWGKiwiSDRSettings().
|
private |
Definition at line 92 of file SWGKiwiSDRSettings.h.
Referenced by init(), setServerAddress(), and SWGKiwiSDRSettings().
|
private |
Definition at line 83 of file SWGKiwiSDRSettings.h.
Referenced by asJsonObject(), init(), isSet(), setUseAgc(), and SWGKiwiSDRSettings().
|
private |
Definition at line 98 of file SWGKiwiSDRSettings.h.
Referenced by asJsonObject(), init(), isSet(), setUseReverseApi(), and SWGKiwiSDRSettings().
|
private |
Definition at line 100 of file SWGKiwiSDRSettings.h.
Referenced by asJsonObject(), cleanup(), fromJsonObject(), getReverseApiAddress(), init(), isSet(), setReverseApiAddress(), and SWGKiwiSDRSettings().
|
private |
Definition at line 106 of file SWGKiwiSDRSettings.h.
Referenced by asJsonObject(), fromJsonObject(), getReverseApiDeviceIndex(), init(), setReverseApiDeviceIndex(), and SWGKiwiSDRSettings().
|
private |
Definition at line 103 of file SWGKiwiSDRSettings.h.
Referenced by asJsonObject(), fromJsonObject(), getReverseApiPort(), init(), setReverseApiPort(), and SWGKiwiSDRSettings().
|
private |
Definition at line 91 of file SWGKiwiSDRSettings.h.
Referenced by asJsonObject(), cleanup(), fromJsonObject(), getServerAddress(), init(), isSet(), setServerAddress(), and SWGKiwiSDRSettings().
|
private |
Definition at line 82 of file SWGKiwiSDRSettings.h.
Referenced by asJsonObject(), fromJsonObject(), getUseAgc(), init(), setUseAgc(), and SWGKiwiSDRSettings().
|
private |
Definition at line 97 of file SWGKiwiSDRSettings.h.
Referenced by asJsonObject(), fromJsonObject(), getUseReverseApi(), init(), setUseReverseApi(), and SWGKiwiSDRSettings().