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 <SWGWFMDemodSettings.h>
Private Attributes | |
qint64 | input_frequency_offset |
bool | m_input_frequency_offset_isSet |
float | rf_bandwidth |
bool | m_rf_bandwidth_isSet |
float | af_bandwidth |
bool | m_af_bandwidth_isSet |
float | volume |
bool | m_volume_isSet |
float | squelch |
bool | m_squelch_isSet |
qint32 | audio_mute |
bool | m_audio_mute_isSet |
qint32 | rgb_color |
bool | m_rgb_color_isSet |
QString * | title |
bool | m_title_isSet |
QString * | audio_device_name |
bool | m_audio_device_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 |
qint32 | reverse_api_channel_index |
bool | m_reverse_api_channel_index_isSet |
Definition at line 32 of file SWGWFMDemodSettings.h.
SWGSDRangel::SWGWFMDemodSettings::SWGWFMDemodSettings | ( | ) |
Definition at line 30 of file SWGWFMDemodSettings.cpp.
References af_bandwidth, audio_device_name, audio_mute, input_frequency_offset, m_af_bandwidth_isSet, m_audio_device_name_isSet, m_audio_mute_isSet, m_input_frequency_offset_isSet, m_reverse_api_address_isSet, m_reverse_api_channel_index_isSet, m_reverse_api_device_index_isSet, m_reverse_api_port_isSet, m_rf_bandwidth_isSet, m_rgb_color_isSet, m_squelch_isSet, m_title_isSet, m_use_reverse_api_isSet, m_volume_isSet, reverse_api_address, reverse_api_channel_index, reverse_api_device_index, reverse_api_port, rf_bandwidth, rgb_color, squelch, title, use_reverse_api, and volume.
SWGSDRangel::SWGWFMDemodSettings::SWGWFMDemodSettings | ( | QString * | json | ) |
Definition at line 25 of file SWGWFMDemodSettings.cpp.
References fromJson(), and init().
|
virtual |
Definition at line 61 of file SWGWFMDemodSettings.cpp.
References cleanup().
|
overridevirtual |
Reimplemented from SWGSDRangel::SWGObject.
Definition at line 163 of file SWGWFMDemodSettings.cpp.
References asJsonObject().
|
overridevirtual |
Reimplemented from SWGSDRangel::SWGObject.
Definition at line 174 of file SWGWFMDemodSettings.cpp.
References af_bandwidth, audio_device_name, audio_mute, input_frequency_offset, m_af_bandwidth_isSet, m_audio_mute_isSet, m_input_frequency_offset_isSet, m_reverse_api_channel_index_isSet, m_reverse_api_device_index_isSet, m_reverse_api_port_isSet, m_rf_bandwidth_isSet, m_rgb_color_isSet, m_squelch_isSet, m_use_reverse_api_isSet, m_volume_isSet, reverse_api_address, reverse_api_channel_index, reverse_api_device_index, reverse_api_port, rf_bandwidth, rgb_color, squelch, title, SWGSDRangel::toJsonValue(), use_reverse_api, and volume.
Referenced by asJson().
void SWGSDRangel::SWGWFMDemodSettings::cleanup | ( | ) |
Definition at line 98 of file SWGWFMDemodSettings.cpp.
References audio_device_name, reverse_api_address, and title.
Referenced by ~SWGWFMDemodSettings().
|
overridevirtual |
Reimplemented from SWGSDRangel::SWGObject.
Definition at line 122 of file SWGWFMDemodSettings.cpp.
References fromJsonObject().
Referenced by SWGWFMDemodSettings().
|
overridevirtual |
Reimplemented from SWGSDRangel::SWGObject.
Definition at line 131 of file SWGWFMDemodSettings.cpp.
References af_bandwidth, audio_device_name, audio_mute, input_frequency_offset, reverse_api_address, reverse_api_channel_index, reverse_api_device_index, reverse_api_port, rf_bandwidth, rgb_color, SWGSDRangel::setValue(), squelch, title, use_reverse_api, and volume.
Referenced by fromJson(), and WebAPIRequestMapper::validateChannelSettings().
float SWGSDRangel::SWGWFMDemodSettings::getAfBandwidth | ( | ) |
Definition at line 243 of file SWGWFMDemodSettings.cpp.
References af_bandwidth.
Referenced by WFMDemod::webapiSettingsPutPatch().
QString * SWGSDRangel::SWGWFMDemodSettings::getAudioDeviceName | ( | ) |
Definition at line 303 of file SWGWFMDemodSettings.cpp.
References audio_device_name.
Referenced by WFMDemod::webapiFormatChannelSettings(), and WFMDemod::webapiSettingsPutPatch().
qint32 SWGSDRangel::SWGWFMDemodSettings::getAudioMute | ( | ) |
Definition at line 273 of file SWGWFMDemodSettings.cpp.
References audio_mute.
Referenced by WFMDemod::webapiSettingsPutPatch().
qint64 SWGSDRangel::SWGWFMDemodSettings::getInputFrequencyOffset | ( | ) |
Definition at line 223 of file SWGWFMDemodSettings.cpp.
References input_frequency_offset.
Referenced by WFMDemod::webapiSettingsPutPatch().
QString * SWGSDRangel::SWGWFMDemodSettings::getReverseApiAddress | ( | ) |
Definition at line 323 of file SWGWFMDemodSettings.cpp.
References reverse_api_address.
Referenced by WFMDemod::webapiFormatChannelSettings(), and WFMDemod::webapiSettingsPutPatch().
qint32 SWGSDRangel::SWGWFMDemodSettings::getReverseApiChannelIndex | ( | ) |
Definition at line 353 of file SWGWFMDemodSettings.cpp.
References reverse_api_channel_index.
Referenced by WFMDemod::webapiSettingsPutPatch().
qint32 SWGSDRangel::SWGWFMDemodSettings::getReverseApiDeviceIndex | ( | ) |
Definition at line 343 of file SWGWFMDemodSettings.cpp.
References reverse_api_device_index.
Referenced by WFMDemod::webapiSettingsPutPatch().
qint32 SWGSDRangel::SWGWFMDemodSettings::getReverseApiPort | ( | ) |
Definition at line 333 of file SWGWFMDemodSettings.cpp.
References reverse_api_port.
Referenced by WFMDemod::webapiSettingsPutPatch().
float SWGSDRangel::SWGWFMDemodSettings::getRfBandwidth | ( | ) |
Definition at line 233 of file SWGWFMDemodSettings.cpp.
References rf_bandwidth.
Referenced by WFMDemod::webapiSettingsPutPatch().
qint32 SWGSDRangel::SWGWFMDemodSettings::getRgbColor | ( | ) |
Definition at line 283 of file SWGWFMDemodSettings.cpp.
References rgb_color.
Referenced by WFMDemod::webapiSettingsPutPatch().
float SWGSDRangel::SWGWFMDemodSettings::getSquelch | ( | ) |
Definition at line 263 of file SWGWFMDemodSettings.cpp.
References squelch.
Referenced by WFMDemod::webapiSettingsPutPatch().
QString * SWGSDRangel::SWGWFMDemodSettings::getTitle | ( | ) |
Definition at line 293 of file SWGWFMDemodSettings.cpp.
References title.
Referenced by WFMDemod::webapiFormatChannelSettings(), and WFMDemod::webapiSettingsPutPatch().
qint32 SWGSDRangel::SWGWFMDemodSettings::getUseReverseApi | ( | ) |
Definition at line 313 of file SWGWFMDemodSettings.cpp.
References use_reverse_api.
Referenced by WFMDemod::webapiSettingsPutPatch().
float SWGSDRangel::SWGWFMDemodSettings::getVolume | ( | ) |
Definition at line 253 of file SWGWFMDemodSettings.cpp.
References volume.
Referenced by WFMDemod::webapiSettingsPutPatch().
void SWGSDRangel::SWGWFMDemodSettings::init | ( | ) |
Definition at line 66 of file SWGWFMDemodSettings.cpp.
References af_bandwidth, audio_device_name, audio_mute, input_frequency_offset, m_af_bandwidth_isSet, m_audio_device_name_isSet, m_audio_mute_isSet, m_input_frequency_offset_isSet, m_reverse_api_address_isSet, m_reverse_api_channel_index_isSet, m_reverse_api_device_index_isSet, m_reverse_api_port_isSet, m_rf_bandwidth_isSet, m_rgb_color_isSet, m_squelch_isSet, m_title_isSet, m_use_reverse_api_isSet, m_volume_isSet, reverse_api_address, reverse_api_channel_index, reverse_api_device_index, reverse_api_port, rf_bandwidth, rgb_color, squelch, title, use_reverse_api, and volume.
Referenced by SWGWFMDemodSettings(), and WFMDemod::webapiSettingsGet().
|
overridevirtual |
Reimplemented from SWGSDRangel::SWGObject.
Definition at line 364 of file SWGWFMDemodSettings.cpp.
References audio_device_name, m_af_bandwidth_isSet, m_audio_mute_isSet, m_input_frequency_offset_isSet, m_reverse_api_channel_index_isSet, m_reverse_api_device_index_isSet, m_reverse_api_port_isSet, m_rf_bandwidth_isSet, m_rgb_color_isSet, m_squelch_isSet, m_use_reverse_api_isSet, m_volume_isSet, reverse_api_address, and title.
Referenced by SWGSDRangel::SWGChannelSettings::asJsonObject(), SWGSDRangel::SWGChannelSettings_2::asJsonObject(), SWGSDRangel::SWGChannelSettings_2::isSet(), and SWGSDRangel::SWGChannelSettings::isSet().
void SWGSDRangel::SWGWFMDemodSettings::setAfBandwidth | ( | float | af_bandwidth | ) |
Definition at line 247 of file SWGWFMDemodSettings.cpp.
References af_bandwidth, and m_af_bandwidth_isSet.
Referenced by WFMDemod::webapiFormatChannelSettings(), and WFMDemod::webapiReverseSendSettings().
void SWGSDRangel::SWGWFMDemodSettings::setAudioDeviceName | ( | QString * | audio_device_name | ) |
Definition at line 307 of file SWGWFMDemodSettings.cpp.
References audio_device_name, and m_audio_device_name_isSet.
Referenced by WFMDemod::webapiFormatChannelSettings(), and WFMDemod::webapiReverseSendSettings().
void SWGSDRangel::SWGWFMDemodSettings::setAudioMute | ( | qint32 | audio_mute | ) |
Definition at line 277 of file SWGWFMDemodSettings.cpp.
References audio_mute, and m_audio_mute_isSet.
Referenced by WFMDemod::webapiFormatChannelSettings(), and WFMDemod::webapiReverseSendSettings().
void SWGSDRangel::SWGWFMDemodSettings::setInputFrequencyOffset | ( | qint64 | input_frequency_offset | ) |
Definition at line 227 of file SWGWFMDemodSettings.cpp.
References input_frequency_offset, and m_input_frequency_offset_isSet.
Referenced by WFMDemod::webapiFormatChannelSettings(), and WFMDemod::webapiReverseSendSettings().
void SWGSDRangel::SWGWFMDemodSettings::setReverseApiAddress | ( | QString * | reverse_api_address | ) |
Definition at line 327 of file SWGWFMDemodSettings.cpp.
References m_reverse_api_address_isSet, and reverse_api_address.
Referenced by WFMDemod::webapiFormatChannelSettings().
void SWGSDRangel::SWGWFMDemodSettings::setReverseApiChannelIndex | ( | qint32 | reverse_api_channel_index | ) |
Definition at line 357 of file SWGWFMDemodSettings.cpp.
References m_reverse_api_channel_index_isSet, and reverse_api_channel_index.
Referenced by WFMDemod::webapiFormatChannelSettings().
void SWGSDRangel::SWGWFMDemodSettings::setReverseApiDeviceIndex | ( | qint32 | reverse_api_device_index | ) |
Definition at line 347 of file SWGWFMDemodSettings.cpp.
References m_reverse_api_device_index_isSet, and reverse_api_device_index.
Referenced by WFMDemod::webapiFormatChannelSettings().
void SWGSDRangel::SWGWFMDemodSettings::setReverseApiPort | ( | qint32 | reverse_api_port | ) |
Definition at line 337 of file SWGWFMDemodSettings.cpp.
References m_reverse_api_port_isSet, and reverse_api_port.
Referenced by WFMDemod::webapiFormatChannelSettings().
void SWGSDRangel::SWGWFMDemodSettings::setRfBandwidth | ( | float | rf_bandwidth | ) |
Definition at line 237 of file SWGWFMDemodSettings.cpp.
References m_rf_bandwidth_isSet, and rf_bandwidth.
Referenced by WFMDemod::webapiFormatChannelSettings(), and WFMDemod::webapiReverseSendSettings().
void SWGSDRangel::SWGWFMDemodSettings::setRgbColor | ( | qint32 | rgb_color | ) |
Definition at line 287 of file SWGWFMDemodSettings.cpp.
References m_rgb_color_isSet, and rgb_color.
Referenced by WFMDemod::webapiFormatChannelSettings(), and WFMDemod::webapiReverseSendSettings().
void SWGSDRangel::SWGWFMDemodSettings::setSquelch | ( | float | squelch | ) |
Definition at line 267 of file SWGWFMDemodSettings.cpp.
References m_squelch_isSet, and squelch.
Referenced by WFMDemod::webapiFormatChannelSettings(), and WFMDemod::webapiReverseSendSettings().
void SWGSDRangel::SWGWFMDemodSettings::setTitle | ( | QString * | title | ) |
Definition at line 297 of file SWGWFMDemodSettings.cpp.
References m_title_isSet, and title.
Referenced by WFMDemod::webapiFormatChannelSettings(), and WFMDemod::webapiReverseSendSettings().
void SWGSDRangel::SWGWFMDemodSettings::setUseReverseApi | ( | qint32 | use_reverse_api | ) |
Definition at line 317 of file SWGWFMDemodSettings.cpp.
References m_use_reverse_api_isSet, and use_reverse_api.
Referenced by WFMDemod::webapiFormatChannelSettings().
void SWGSDRangel::SWGWFMDemodSettings::setVolume | ( | float | volume | ) |
Definition at line 257 of file SWGWFMDemodSettings.cpp.
References m_volume_isSet, and volume.
Referenced by WFMDemod::webapiFormatChannelSettings(), and WFMDemod::webapiReverseSendSettings().
|
private |
Definition at line 97 of file SWGWFMDemodSettings.h.
Referenced by asJsonObject(), fromJsonObject(), getAfBandwidth(), init(), setAfBandwidth(), and SWGWFMDemodSettings().
|
private |
Definition at line 115 of file SWGWFMDemodSettings.h.
Referenced by asJsonObject(), cleanup(), fromJsonObject(), getAudioDeviceName(), init(), isSet(), setAudioDeviceName(), and SWGWFMDemodSettings().
|
private |
Definition at line 106 of file SWGWFMDemodSettings.h.
Referenced by asJsonObject(), fromJsonObject(), getAudioMute(), init(), setAudioMute(), and SWGWFMDemodSettings().
|
private |
Definition at line 91 of file SWGWFMDemodSettings.h.
Referenced by asJsonObject(), fromJsonObject(), getInputFrequencyOffset(), init(), setInputFrequencyOffset(), and SWGWFMDemodSettings().
|
private |
Definition at line 98 of file SWGWFMDemodSettings.h.
Referenced by asJsonObject(), init(), isSet(), setAfBandwidth(), and SWGWFMDemodSettings().
|
private |
Definition at line 116 of file SWGWFMDemodSettings.h.
Referenced by init(), setAudioDeviceName(), and SWGWFMDemodSettings().
|
private |
Definition at line 107 of file SWGWFMDemodSettings.h.
Referenced by asJsonObject(), init(), isSet(), setAudioMute(), and SWGWFMDemodSettings().
|
private |
Definition at line 92 of file SWGWFMDemodSettings.h.
Referenced by asJsonObject(), init(), isSet(), setInputFrequencyOffset(), and SWGWFMDemodSettings().
|
private |
Definition at line 122 of file SWGWFMDemodSettings.h.
Referenced by init(), setReverseApiAddress(), and SWGWFMDemodSettings().
|
private |
Definition at line 131 of file SWGWFMDemodSettings.h.
Referenced by asJsonObject(), init(), isSet(), setReverseApiChannelIndex(), and SWGWFMDemodSettings().
|
private |
Definition at line 128 of file SWGWFMDemodSettings.h.
Referenced by asJsonObject(), init(), isSet(), setReverseApiDeviceIndex(), and SWGWFMDemodSettings().
|
private |
Definition at line 125 of file SWGWFMDemodSettings.h.
Referenced by asJsonObject(), init(), isSet(), setReverseApiPort(), and SWGWFMDemodSettings().
|
private |
Definition at line 95 of file SWGWFMDemodSettings.h.
Referenced by asJsonObject(), init(), isSet(), setRfBandwidth(), and SWGWFMDemodSettings().
|
private |
Definition at line 110 of file SWGWFMDemodSettings.h.
Referenced by asJsonObject(), init(), isSet(), setRgbColor(), and SWGWFMDemodSettings().
|
private |
Definition at line 104 of file SWGWFMDemodSettings.h.
Referenced by asJsonObject(), init(), isSet(), setSquelch(), and SWGWFMDemodSettings().
|
private |
Definition at line 113 of file SWGWFMDemodSettings.h.
Referenced by init(), setTitle(), and SWGWFMDemodSettings().
|
private |
Definition at line 119 of file SWGWFMDemodSettings.h.
Referenced by asJsonObject(), init(), isSet(), setUseReverseApi(), and SWGWFMDemodSettings().
|
private |
Definition at line 101 of file SWGWFMDemodSettings.h.
Referenced by asJsonObject(), init(), isSet(), setVolume(), and SWGWFMDemodSettings().
|
private |
Definition at line 121 of file SWGWFMDemodSettings.h.
Referenced by asJsonObject(), cleanup(), fromJsonObject(), getReverseApiAddress(), init(), isSet(), setReverseApiAddress(), and SWGWFMDemodSettings().
|
private |
Definition at line 130 of file SWGWFMDemodSettings.h.
Referenced by asJsonObject(), fromJsonObject(), getReverseApiChannelIndex(), init(), setReverseApiChannelIndex(), and SWGWFMDemodSettings().
|
private |
Definition at line 127 of file SWGWFMDemodSettings.h.
Referenced by asJsonObject(), fromJsonObject(), getReverseApiDeviceIndex(), init(), setReverseApiDeviceIndex(), and SWGWFMDemodSettings().
|
private |
Definition at line 124 of file SWGWFMDemodSettings.h.
Referenced by asJsonObject(), fromJsonObject(), getReverseApiPort(), init(), setReverseApiPort(), and SWGWFMDemodSettings().
|
private |
Definition at line 94 of file SWGWFMDemodSettings.h.
Referenced by asJsonObject(), fromJsonObject(), getRfBandwidth(), init(), setRfBandwidth(), and SWGWFMDemodSettings().
|
private |
Definition at line 109 of file SWGWFMDemodSettings.h.
Referenced by asJsonObject(), fromJsonObject(), getRgbColor(), init(), setRgbColor(), and SWGWFMDemodSettings().
|
private |
Definition at line 103 of file SWGWFMDemodSettings.h.
Referenced by asJsonObject(), fromJsonObject(), getSquelch(), init(), setSquelch(), and SWGWFMDemodSettings().
|
private |
Definition at line 112 of file SWGWFMDemodSettings.h.
Referenced by asJsonObject(), cleanup(), fromJsonObject(), getTitle(), init(), isSet(), setTitle(), and SWGWFMDemodSettings().
|
private |
Definition at line 118 of file SWGWFMDemodSettings.h.
Referenced by asJsonObject(), fromJsonObject(), getUseReverseApi(), init(), setUseReverseApi(), and SWGWFMDemodSettings().
|
private |
Definition at line 100 of file SWGWFMDemodSettings.h.
Referenced by asJsonObject(), fromJsonObject(), getVolume(), init(), setVolume(), and SWGWFMDemodSettings().