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 <SWGBFMDemodSettings.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_stereo |
bool | m_audio_stereo_isSet |
qint32 | lsb_stereo |
bool | m_lsb_stereo_isSet |
qint32 | show_pilot |
bool | m_show_pilot_isSet |
qint32 | rds_active |
bool | m_rds_active_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 SWGBFMDemodSettings.h.
SWGSDRangel::SWGBFMDemodSettings::SWGBFMDemodSettings | ( | ) |
Definition at line 30 of file SWGBFMDemodSettings.cpp.
References af_bandwidth, audio_device_name, audio_stereo, input_frequency_offset, lsb_stereo, m_af_bandwidth_isSet, m_audio_device_name_isSet, m_audio_stereo_isSet, m_input_frequency_offset_isSet, m_lsb_stereo_isSet, m_rds_active_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_show_pilot_isSet, m_squelch_isSet, m_title_isSet, m_use_reverse_api_isSet, m_volume_isSet, rds_active, reverse_api_address, reverse_api_channel_index, reverse_api_device_index, reverse_api_port, rf_bandwidth, rgb_color, show_pilot, squelch, title, use_reverse_api, and volume.
SWGSDRangel::SWGBFMDemodSettings::SWGBFMDemodSettings | ( | QString * | json | ) |
Definition at line 25 of file SWGBFMDemodSettings.cpp.
References fromJson(), and init().
|
virtual |
Definition at line 67 of file SWGBFMDemodSettings.cpp.
References cleanup().
|
overridevirtual |
Reimplemented from SWGSDRangel::SWGObject.
Definition at line 184 of file SWGBFMDemodSettings.cpp.
References asJsonObject().
|
overridevirtual |
Reimplemented from SWGSDRangel::SWGObject.
Definition at line 195 of file SWGBFMDemodSettings.cpp.
References af_bandwidth, audio_device_name, audio_stereo, input_frequency_offset, lsb_stereo, m_af_bandwidth_isSet, m_audio_stereo_isSet, m_input_frequency_offset_isSet, m_lsb_stereo_isSet, m_rds_active_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_show_pilot_isSet, m_squelch_isSet, m_use_reverse_api_isSet, m_volume_isSet, rds_active, reverse_api_address, reverse_api_channel_index, reverse_api_device_index, reverse_api_port, rf_bandwidth, rgb_color, show_pilot, squelch, title, SWGSDRangel::toJsonValue(), use_reverse_api, and volume.
Referenced by asJson().
void SWGSDRangel::SWGBFMDemodSettings::cleanup | ( | ) |
Definition at line 110 of file SWGBFMDemodSettings.cpp.
References audio_device_name, reverse_api_address, and title.
Referenced by ~SWGBFMDemodSettings().
|
overridevirtual |
Reimplemented from SWGSDRangel::SWGObject.
Definition at line 137 of file SWGBFMDemodSettings.cpp.
References fromJsonObject().
Referenced by SWGBFMDemodSettings().
|
overridevirtual |
Reimplemented from SWGSDRangel::SWGObject.
Definition at line 146 of file SWGBFMDemodSettings.cpp.
References af_bandwidth, audio_device_name, audio_stereo, input_frequency_offset, lsb_stereo, rds_active, reverse_api_address, reverse_api_channel_index, reverse_api_device_index, reverse_api_port, rf_bandwidth, rgb_color, SWGSDRangel::setValue(), show_pilot, squelch, title, use_reverse_api, and volume.
Referenced by fromJson(), and WebAPIRequestMapper::validateChannelSettings().
float SWGSDRangel::SWGBFMDemodSettings::getAfBandwidth | ( | ) |
Definition at line 273 of file SWGBFMDemodSettings.cpp.
References af_bandwidth.
Referenced by BFMDemod::webapiSettingsPutPatch().
QString * SWGSDRangel::SWGBFMDemodSettings::getAudioDeviceName | ( | ) |
Definition at line 363 of file SWGBFMDemodSettings.cpp.
References audio_device_name.
Referenced by BFMDemod::webapiFormatChannelSettings(), and BFMDemod::webapiSettingsPutPatch().
qint32 SWGSDRangel::SWGBFMDemodSettings::getAudioStereo | ( | ) |
Definition at line 303 of file SWGBFMDemodSettings.cpp.
References audio_stereo.
Referenced by BFMDemod::webapiSettingsPutPatch().
qint64 SWGSDRangel::SWGBFMDemodSettings::getInputFrequencyOffset | ( | ) |
Definition at line 253 of file SWGBFMDemodSettings.cpp.
References input_frequency_offset.
Referenced by BFMDemod::webapiSettingsPutPatch().
qint32 SWGSDRangel::SWGBFMDemodSettings::getLsbStereo | ( | ) |
Definition at line 313 of file SWGBFMDemodSettings.cpp.
References lsb_stereo.
Referenced by BFMDemod::webapiSettingsPutPatch().
qint32 SWGSDRangel::SWGBFMDemodSettings::getRdsActive | ( | ) |
Definition at line 333 of file SWGBFMDemodSettings.cpp.
References rds_active.
Referenced by BFMDemod::webapiSettingsPutPatch().
QString * SWGSDRangel::SWGBFMDemodSettings::getReverseApiAddress | ( | ) |
Definition at line 383 of file SWGBFMDemodSettings.cpp.
References reverse_api_address.
Referenced by BFMDemod::webapiFormatChannelSettings(), and BFMDemod::webapiSettingsPutPatch().
qint32 SWGSDRangel::SWGBFMDemodSettings::getReverseApiChannelIndex | ( | ) |
Definition at line 413 of file SWGBFMDemodSettings.cpp.
References reverse_api_channel_index.
Referenced by BFMDemod::webapiSettingsPutPatch().
qint32 SWGSDRangel::SWGBFMDemodSettings::getReverseApiDeviceIndex | ( | ) |
Definition at line 403 of file SWGBFMDemodSettings.cpp.
References reverse_api_device_index.
Referenced by BFMDemod::webapiSettingsPutPatch().
qint32 SWGSDRangel::SWGBFMDemodSettings::getReverseApiPort | ( | ) |
Definition at line 393 of file SWGBFMDemodSettings.cpp.
References reverse_api_port.
Referenced by BFMDemod::webapiSettingsPutPatch().
float SWGSDRangel::SWGBFMDemodSettings::getRfBandwidth | ( | ) |
Definition at line 263 of file SWGBFMDemodSettings.cpp.
References rf_bandwidth.
Referenced by BFMDemod::webapiSettingsPutPatch().
qint32 SWGSDRangel::SWGBFMDemodSettings::getRgbColor | ( | ) |
Definition at line 343 of file SWGBFMDemodSettings.cpp.
References rgb_color.
Referenced by BFMDemod::webapiSettingsPutPatch().
qint32 SWGSDRangel::SWGBFMDemodSettings::getShowPilot | ( | ) |
Definition at line 323 of file SWGBFMDemodSettings.cpp.
References show_pilot.
Referenced by BFMDemod::webapiSettingsPutPatch().
float SWGSDRangel::SWGBFMDemodSettings::getSquelch | ( | ) |
Definition at line 293 of file SWGBFMDemodSettings.cpp.
References squelch.
Referenced by BFMDemod::webapiSettingsPutPatch().
QString * SWGSDRangel::SWGBFMDemodSettings::getTitle | ( | ) |
Definition at line 353 of file SWGBFMDemodSettings.cpp.
References title.
Referenced by BFMDemod::webapiFormatChannelSettings(), and BFMDemod::webapiSettingsPutPatch().
qint32 SWGSDRangel::SWGBFMDemodSettings::getUseReverseApi | ( | ) |
Definition at line 373 of file SWGBFMDemodSettings.cpp.
References use_reverse_api.
Referenced by BFMDemod::webapiSettingsPutPatch().
float SWGSDRangel::SWGBFMDemodSettings::getVolume | ( | ) |
Definition at line 283 of file SWGBFMDemodSettings.cpp.
References volume.
Referenced by BFMDemod::webapiSettingsPutPatch().
void SWGSDRangel::SWGBFMDemodSettings::init | ( | ) |
Definition at line 72 of file SWGBFMDemodSettings.cpp.
References af_bandwidth, audio_device_name, audio_stereo, input_frequency_offset, lsb_stereo, m_af_bandwidth_isSet, m_audio_device_name_isSet, m_audio_stereo_isSet, m_input_frequency_offset_isSet, m_lsb_stereo_isSet, m_rds_active_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_show_pilot_isSet, m_squelch_isSet, m_title_isSet, m_use_reverse_api_isSet, m_volume_isSet, rds_active, reverse_api_address, reverse_api_channel_index, reverse_api_device_index, reverse_api_port, rf_bandwidth, rgb_color, show_pilot, squelch, title, use_reverse_api, and volume.
Referenced by SWGBFMDemodSettings(), and BFMDemod::webapiSettingsGet().
|
overridevirtual |
Reimplemented from SWGSDRangel::SWGObject.
Definition at line 424 of file SWGBFMDemodSettings.cpp.
References audio_device_name, m_af_bandwidth_isSet, m_audio_stereo_isSet, m_input_frequency_offset_isSet, m_lsb_stereo_isSet, m_rds_active_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_show_pilot_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::SWGBFMDemodSettings::setAfBandwidth | ( | float | af_bandwidth | ) |
Definition at line 277 of file SWGBFMDemodSettings.cpp.
References af_bandwidth, and m_af_bandwidth_isSet.
Referenced by BFMDemod::webapiFormatChannelSettings(), and BFMDemod::webapiReverseSendSettings().
void SWGSDRangel::SWGBFMDemodSettings::setAudioDeviceName | ( | QString * | audio_device_name | ) |
Definition at line 367 of file SWGBFMDemodSettings.cpp.
References audio_device_name, and m_audio_device_name_isSet.
Referenced by BFMDemod::webapiFormatChannelSettings(), and BFMDemod::webapiReverseSendSettings().
void SWGSDRangel::SWGBFMDemodSettings::setAudioStereo | ( | qint32 | audio_stereo | ) |
Definition at line 307 of file SWGBFMDemodSettings.cpp.
References audio_stereo, and m_audio_stereo_isSet.
Referenced by BFMDemod::webapiFormatChannelSettings(), and BFMDemod::webapiReverseSendSettings().
void SWGSDRangel::SWGBFMDemodSettings::setInputFrequencyOffset | ( | qint64 | input_frequency_offset | ) |
Definition at line 257 of file SWGBFMDemodSettings.cpp.
References input_frequency_offset, and m_input_frequency_offset_isSet.
Referenced by BFMDemod::webapiFormatChannelSettings(), and BFMDemod::webapiReverseSendSettings().
void SWGSDRangel::SWGBFMDemodSettings::setLsbStereo | ( | qint32 | lsb_stereo | ) |
Definition at line 317 of file SWGBFMDemodSettings.cpp.
References lsb_stereo, and m_lsb_stereo_isSet.
Referenced by BFMDemod::webapiFormatChannelSettings(), and BFMDemod::webapiReverseSendSettings().
void SWGSDRangel::SWGBFMDemodSettings::setRdsActive | ( | qint32 | rds_active | ) |
Definition at line 337 of file SWGBFMDemodSettings.cpp.
References m_rds_active_isSet, and rds_active.
Referenced by BFMDemod::webapiFormatChannelSettings(), and BFMDemod::webapiReverseSendSettings().
void SWGSDRangel::SWGBFMDemodSettings::setReverseApiAddress | ( | QString * | reverse_api_address | ) |
Definition at line 387 of file SWGBFMDemodSettings.cpp.
References m_reverse_api_address_isSet, and reverse_api_address.
Referenced by BFMDemod::webapiFormatChannelSettings().
void SWGSDRangel::SWGBFMDemodSettings::setReverseApiChannelIndex | ( | qint32 | reverse_api_channel_index | ) |
Definition at line 417 of file SWGBFMDemodSettings.cpp.
References m_reverse_api_channel_index_isSet, and reverse_api_channel_index.
Referenced by BFMDemod::webapiFormatChannelSettings().
void SWGSDRangel::SWGBFMDemodSettings::setReverseApiDeviceIndex | ( | qint32 | reverse_api_device_index | ) |
Definition at line 407 of file SWGBFMDemodSettings.cpp.
References m_reverse_api_device_index_isSet, and reverse_api_device_index.
Referenced by BFMDemod::webapiFormatChannelSettings().
void SWGSDRangel::SWGBFMDemodSettings::setReverseApiPort | ( | qint32 | reverse_api_port | ) |
Definition at line 397 of file SWGBFMDemodSettings.cpp.
References m_reverse_api_port_isSet, and reverse_api_port.
Referenced by BFMDemod::webapiFormatChannelSettings().
void SWGSDRangel::SWGBFMDemodSettings::setRfBandwidth | ( | float | rf_bandwidth | ) |
Definition at line 267 of file SWGBFMDemodSettings.cpp.
References m_rf_bandwidth_isSet, and rf_bandwidth.
Referenced by BFMDemod::webapiFormatChannelSettings(), and BFMDemod::webapiReverseSendSettings().
void SWGSDRangel::SWGBFMDemodSettings::setRgbColor | ( | qint32 | rgb_color | ) |
Definition at line 347 of file SWGBFMDemodSettings.cpp.
References m_rgb_color_isSet, and rgb_color.
Referenced by BFMDemod::webapiFormatChannelSettings(), and BFMDemod::webapiReverseSendSettings().
void SWGSDRangel::SWGBFMDemodSettings::setShowPilot | ( | qint32 | show_pilot | ) |
Definition at line 327 of file SWGBFMDemodSettings.cpp.
References m_show_pilot_isSet, and show_pilot.
Referenced by BFMDemod::webapiFormatChannelSettings(), and BFMDemod::webapiReverseSendSettings().
void SWGSDRangel::SWGBFMDemodSettings::setSquelch | ( | float | squelch | ) |
Definition at line 297 of file SWGBFMDemodSettings.cpp.
References m_squelch_isSet, and squelch.
Referenced by BFMDemod::webapiFormatChannelSettings(), and BFMDemod::webapiReverseSendSettings().
void SWGSDRangel::SWGBFMDemodSettings::setTitle | ( | QString * | title | ) |
Definition at line 357 of file SWGBFMDemodSettings.cpp.
References m_title_isSet, and title.
Referenced by BFMDemod::webapiFormatChannelSettings(), and BFMDemod::webapiReverseSendSettings().
void SWGSDRangel::SWGBFMDemodSettings::setUseReverseApi | ( | qint32 | use_reverse_api | ) |
Definition at line 377 of file SWGBFMDemodSettings.cpp.
References m_use_reverse_api_isSet, and use_reverse_api.
Referenced by BFMDemod::webapiFormatChannelSettings().
void SWGSDRangel::SWGBFMDemodSettings::setVolume | ( | float | volume | ) |
Definition at line 287 of file SWGBFMDemodSettings.cpp.
References m_volume_isSet, and volume.
Referenced by BFMDemod::webapiFormatChannelSettings(), and BFMDemod::webapiReverseSendSettings().
|
private |
Definition at line 106 of file SWGBFMDemodSettings.h.
Referenced by asJsonObject(), fromJsonObject(), getAfBandwidth(), init(), setAfBandwidth(), and SWGBFMDemodSettings().
|
private |
Definition at line 133 of file SWGBFMDemodSettings.h.
Referenced by asJsonObject(), cleanup(), fromJsonObject(), getAudioDeviceName(), init(), isSet(), setAudioDeviceName(), and SWGBFMDemodSettings().
|
private |
Definition at line 115 of file SWGBFMDemodSettings.h.
Referenced by asJsonObject(), fromJsonObject(), getAudioStereo(), init(), setAudioStereo(), and SWGBFMDemodSettings().
|
private |
Definition at line 100 of file SWGBFMDemodSettings.h.
Referenced by asJsonObject(), fromJsonObject(), getInputFrequencyOffset(), init(), setInputFrequencyOffset(), and SWGBFMDemodSettings().
|
private |
Definition at line 118 of file SWGBFMDemodSettings.h.
Referenced by asJsonObject(), fromJsonObject(), getLsbStereo(), init(), setLsbStereo(), and SWGBFMDemodSettings().
|
private |
Definition at line 107 of file SWGBFMDemodSettings.h.
Referenced by asJsonObject(), init(), isSet(), setAfBandwidth(), and SWGBFMDemodSettings().
|
private |
Definition at line 134 of file SWGBFMDemodSettings.h.
Referenced by init(), setAudioDeviceName(), and SWGBFMDemodSettings().
|
private |
Definition at line 116 of file SWGBFMDemodSettings.h.
Referenced by asJsonObject(), init(), isSet(), setAudioStereo(), and SWGBFMDemodSettings().
|
private |
Definition at line 101 of file SWGBFMDemodSettings.h.
Referenced by asJsonObject(), init(), isSet(), setInputFrequencyOffset(), and SWGBFMDemodSettings().
|
private |
Definition at line 119 of file SWGBFMDemodSettings.h.
Referenced by asJsonObject(), init(), isSet(), setLsbStereo(), and SWGBFMDemodSettings().
|
private |
Definition at line 125 of file SWGBFMDemodSettings.h.
Referenced by asJsonObject(), init(), isSet(), setRdsActive(), and SWGBFMDemodSettings().
|
private |
Definition at line 140 of file SWGBFMDemodSettings.h.
Referenced by init(), setReverseApiAddress(), and SWGBFMDemodSettings().
|
private |
Definition at line 149 of file SWGBFMDemodSettings.h.
Referenced by asJsonObject(), init(), isSet(), setReverseApiChannelIndex(), and SWGBFMDemodSettings().
|
private |
Definition at line 146 of file SWGBFMDemodSettings.h.
Referenced by asJsonObject(), init(), isSet(), setReverseApiDeviceIndex(), and SWGBFMDemodSettings().
|
private |
Definition at line 143 of file SWGBFMDemodSettings.h.
Referenced by asJsonObject(), init(), isSet(), setReverseApiPort(), and SWGBFMDemodSettings().
|
private |
Definition at line 104 of file SWGBFMDemodSettings.h.
Referenced by asJsonObject(), init(), isSet(), setRfBandwidth(), and SWGBFMDemodSettings().
|
private |
Definition at line 128 of file SWGBFMDemodSettings.h.
Referenced by asJsonObject(), init(), isSet(), setRgbColor(), and SWGBFMDemodSettings().
|
private |
Definition at line 122 of file SWGBFMDemodSettings.h.
Referenced by asJsonObject(), init(), isSet(), setShowPilot(), and SWGBFMDemodSettings().
|
private |
Definition at line 113 of file SWGBFMDemodSettings.h.
Referenced by asJsonObject(), init(), isSet(), setSquelch(), and SWGBFMDemodSettings().
|
private |
Definition at line 131 of file SWGBFMDemodSettings.h.
Referenced by init(), setTitle(), and SWGBFMDemodSettings().
|
private |
Definition at line 137 of file SWGBFMDemodSettings.h.
Referenced by asJsonObject(), init(), isSet(), setUseReverseApi(), and SWGBFMDemodSettings().
|
private |
Definition at line 110 of file SWGBFMDemodSettings.h.
Referenced by asJsonObject(), init(), isSet(), setVolume(), and SWGBFMDemodSettings().
|
private |
Definition at line 124 of file SWGBFMDemodSettings.h.
Referenced by asJsonObject(), fromJsonObject(), getRdsActive(), init(), setRdsActive(), and SWGBFMDemodSettings().
|
private |
Definition at line 139 of file SWGBFMDemodSettings.h.
Referenced by asJsonObject(), cleanup(), fromJsonObject(), getReverseApiAddress(), init(), isSet(), setReverseApiAddress(), and SWGBFMDemodSettings().
|
private |
Definition at line 148 of file SWGBFMDemodSettings.h.
Referenced by asJsonObject(), fromJsonObject(), getReverseApiChannelIndex(), init(), setReverseApiChannelIndex(), and SWGBFMDemodSettings().
|
private |
Definition at line 145 of file SWGBFMDemodSettings.h.
Referenced by asJsonObject(), fromJsonObject(), getReverseApiDeviceIndex(), init(), setReverseApiDeviceIndex(), and SWGBFMDemodSettings().
|
private |
Definition at line 142 of file SWGBFMDemodSettings.h.
Referenced by asJsonObject(), fromJsonObject(), getReverseApiPort(), init(), setReverseApiPort(), and SWGBFMDemodSettings().
|
private |
Definition at line 103 of file SWGBFMDemodSettings.h.
Referenced by asJsonObject(), fromJsonObject(), getRfBandwidth(), init(), setRfBandwidth(), and SWGBFMDemodSettings().
|
private |
Definition at line 127 of file SWGBFMDemodSettings.h.
Referenced by asJsonObject(), fromJsonObject(), getRgbColor(), init(), setRgbColor(), and SWGBFMDemodSettings().
|
private |
Definition at line 121 of file SWGBFMDemodSettings.h.
Referenced by asJsonObject(), fromJsonObject(), getShowPilot(), init(), setShowPilot(), and SWGBFMDemodSettings().
|
private |
Definition at line 112 of file SWGBFMDemodSettings.h.
Referenced by asJsonObject(), fromJsonObject(), getSquelch(), init(), setSquelch(), and SWGBFMDemodSettings().
|
private |
Definition at line 130 of file SWGBFMDemodSettings.h.
Referenced by asJsonObject(), cleanup(), fromJsonObject(), getTitle(), init(), isSet(), setTitle(), and SWGBFMDemodSettings().
|
private |
Definition at line 136 of file SWGBFMDemodSettings.h.
Referenced by asJsonObject(), fromJsonObject(), getUseReverseApi(), init(), setUseReverseApi(), and SWGBFMDemodSettings().
|
private |
Definition at line 109 of file SWGBFMDemodSettings.h.
Referenced by asJsonObject(), fromJsonObject(), getVolume(), init(), setVolume(), and SWGBFMDemodSettings().