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 <SWGAMDemodSettings.h>
Private Attributes | |
qint64 | input_frequency_offset |
bool | m_input_frequency_offset_isSet |
float | rf_bandwidth |
bool | m_rf_bandwidth_isSet |
float | squelch |
bool | m_squelch_isSet |
float | volume |
bool | m_volume_isSet |
qint32 | audio_mute |
bool | m_audio_mute_isSet |
qint32 | bandpass_enable |
bool | m_bandpass_enable_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 | pll |
bool | m_pll_isSet |
qint32 | sync_am_operation |
bool | m_sync_am_operation_isSet |
qint32 | stream_index |
bool | m_stream_index_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 SWGAMDemodSettings.h.
SWGSDRangel::SWGAMDemodSettings::SWGAMDemodSettings | ( | ) |
Definition at line 30 of file SWGAMDemodSettings.cpp.
References audio_device_name, audio_mute, bandpass_enable, input_frequency_offset, m_audio_device_name_isSet, m_audio_mute_isSet, m_bandpass_enable_isSet, m_input_frequency_offset_isSet, m_pll_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_stream_index_isSet, m_sync_am_operation_isSet, m_title_isSet, m_use_reverse_api_isSet, m_volume_isSet, pll, reverse_api_address, reverse_api_channel_index, reverse_api_device_index, reverse_api_port, rf_bandwidth, rgb_color, squelch, stream_index, sync_am_operation, title, use_reverse_api, and volume.
SWGSDRangel::SWGAMDemodSettings::SWGAMDemodSettings | ( | QString * | json | ) |
Definition at line 25 of file SWGAMDemodSettings.cpp.
References fromJson(), and init().
|
virtual |
Definition at line 67 of file SWGAMDemodSettings.cpp.
References cleanup().
|
overridevirtual |
Reimplemented from SWGSDRangel::SWGObject.
Definition at line 184 of file SWGAMDemodSettings.cpp.
References asJsonObject().
|
overridevirtual |
Reimplemented from SWGSDRangel::SWGObject.
Definition at line 195 of file SWGAMDemodSettings.cpp.
References audio_device_name, audio_mute, bandpass_enable, input_frequency_offset, m_audio_mute_isSet, m_bandpass_enable_isSet, m_input_frequency_offset_isSet, m_pll_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_stream_index_isSet, m_sync_am_operation_isSet, m_use_reverse_api_isSet, m_volume_isSet, pll, reverse_api_address, reverse_api_channel_index, reverse_api_device_index, reverse_api_port, rf_bandwidth, rgb_color, squelch, stream_index, sync_am_operation, title, SWGSDRangel::toJsonValue(), use_reverse_api, and volume.
Referenced by asJson().
void SWGSDRangel::SWGAMDemodSettings::cleanup | ( | ) |
Definition at line 110 of file SWGAMDemodSettings.cpp.
References audio_device_name, reverse_api_address, and title.
Referenced by ~SWGAMDemodSettings().
|
overridevirtual |
Reimplemented from SWGSDRangel::SWGObject.
Definition at line 137 of file SWGAMDemodSettings.cpp.
References fromJsonObject().
Referenced by SWGAMDemodSettings().
|
overridevirtual |
Reimplemented from SWGSDRangel::SWGObject.
Definition at line 146 of file SWGAMDemodSettings.cpp.
References audio_device_name, audio_mute, bandpass_enable, input_frequency_offset, pll, reverse_api_address, reverse_api_channel_index, reverse_api_device_index, reverse_api_port, rf_bandwidth, rgb_color, SWGSDRangel::setValue(), squelch, stream_index, sync_am_operation, title, use_reverse_api, and volume.
Referenced by fromJson(), and WebAPIRequestMapper::validateChannelSettings().
QString * SWGSDRangel::SWGAMDemodSettings::getAudioDeviceName | ( | ) |
Definition at line 333 of file SWGAMDemodSettings.cpp.
References audio_device_name.
Referenced by AMDemod::webapiFormatChannelSettings(), and AMDemod::webapiSettingsPutPatch().
qint32 SWGSDRangel::SWGAMDemodSettings::getAudioMute | ( | ) |
Definition at line 293 of file SWGAMDemodSettings.cpp.
References audio_mute.
Referenced by AMDemod::webapiSettingsPutPatch().
qint32 SWGSDRangel::SWGAMDemodSettings::getBandpassEnable | ( | ) |
Definition at line 303 of file SWGAMDemodSettings.cpp.
References bandpass_enable.
Referenced by AMDemod::webapiSettingsPutPatch().
qint64 SWGSDRangel::SWGAMDemodSettings::getInputFrequencyOffset | ( | ) |
Definition at line 253 of file SWGAMDemodSettings.cpp.
References input_frequency_offset.
Referenced by AMDemod::webapiSettingsPutPatch().
qint32 SWGSDRangel::SWGAMDemodSettings::getPll | ( | ) |
Definition at line 343 of file SWGAMDemodSettings.cpp.
References pll.
Referenced by AMDemod::webapiSettingsPutPatch().
QString * SWGSDRangel::SWGAMDemodSettings::getReverseApiAddress | ( | ) |
Definition at line 383 of file SWGAMDemodSettings.cpp.
References reverse_api_address.
Referenced by AMDemod::webapiFormatChannelSettings(), AMDemod::webapiSettingsPutPatch(), and FreqTracker::webapiSettingsPutPatch().
qint32 SWGSDRangel::SWGAMDemodSettings::getReverseApiChannelIndex | ( | ) |
Definition at line 413 of file SWGAMDemodSettings.cpp.
References reverse_api_channel_index.
Referenced by AMDemod::webapiSettingsPutPatch(), and FreqTracker::webapiSettingsPutPatch().
qint32 SWGSDRangel::SWGAMDemodSettings::getReverseApiDeviceIndex | ( | ) |
Definition at line 403 of file SWGAMDemodSettings.cpp.
References reverse_api_device_index.
Referenced by AMDemod::webapiSettingsPutPatch(), and FreqTracker::webapiSettingsPutPatch().
qint32 SWGSDRangel::SWGAMDemodSettings::getReverseApiPort | ( | ) |
Definition at line 393 of file SWGAMDemodSettings.cpp.
References reverse_api_port.
Referenced by AMDemod::webapiSettingsPutPatch(), and FreqTracker::webapiSettingsPutPatch().
float SWGSDRangel::SWGAMDemodSettings::getRfBandwidth | ( | ) |
Definition at line 263 of file SWGAMDemodSettings.cpp.
References rf_bandwidth.
Referenced by AMDemod::webapiSettingsPutPatch().
qint32 SWGSDRangel::SWGAMDemodSettings::getRgbColor | ( | ) |
Definition at line 313 of file SWGAMDemodSettings.cpp.
References rgb_color.
Referenced by AMDemod::webapiSettingsPutPatch().
float SWGSDRangel::SWGAMDemodSettings::getSquelch | ( | ) |
Definition at line 273 of file SWGAMDemodSettings.cpp.
References squelch.
Referenced by AMDemod::webapiSettingsPutPatch().
qint32 SWGSDRangel::SWGAMDemodSettings::getStreamIndex | ( | ) |
Definition at line 363 of file SWGAMDemodSettings.cpp.
References stream_index.
Referenced by AMDemod::webapiSettingsPutPatch().
qint32 SWGSDRangel::SWGAMDemodSettings::getSyncAmOperation | ( | ) |
Definition at line 353 of file SWGAMDemodSettings.cpp.
References sync_am_operation.
Referenced by AMDemod::webapiSettingsPutPatch().
QString * SWGSDRangel::SWGAMDemodSettings::getTitle | ( | ) |
Definition at line 323 of file SWGAMDemodSettings.cpp.
References title.
Referenced by AMDemod::webapiFormatChannelSettings(), and AMDemod::webapiSettingsPutPatch().
qint32 SWGSDRangel::SWGAMDemodSettings::getUseReverseApi | ( | ) |
Definition at line 373 of file SWGAMDemodSettings.cpp.
References use_reverse_api.
Referenced by AMDemod::webapiSettingsPutPatch(), and FreqTracker::webapiSettingsPutPatch().
float SWGSDRangel::SWGAMDemodSettings::getVolume | ( | ) |
Definition at line 283 of file SWGAMDemodSettings.cpp.
References volume.
Referenced by AMDemod::webapiSettingsPutPatch().
void SWGSDRangel::SWGAMDemodSettings::init | ( | ) |
Definition at line 72 of file SWGAMDemodSettings.cpp.
References audio_device_name, audio_mute, bandpass_enable, input_frequency_offset, m_audio_device_name_isSet, m_audio_mute_isSet, m_bandpass_enable_isSet, m_input_frequency_offset_isSet, m_pll_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_stream_index_isSet, m_sync_am_operation_isSet, m_title_isSet, m_use_reverse_api_isSet, m_volume_isSet, pll, reverse_api_address, reverse_api_channel_index, reverse_api_device_index, reverse_api_port, rf_bandwidth, rgb_color, squelch, stream_index, sync_am_operation, title, use_reverse_api, and volume.
Referenced by SWGAMDemodSettings(), and AMDemod::webapiSettingsGet().
|
overridevirtual |
Reimplemented from SWGSDRangel::SWGObject.
Definition at line 424 of file SWGAMDemodSettings.cpp.
References audio_device_name, m_audio_mute_isSet, m_bandpass_enable_isSet, m_input_frequency_offset_isSet, m_pll_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_stream_index_isSet, m_sync_am_operation_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::SWGAMDemodSettings::setAudioDeviceName | ( | QString * | audio_device_name | ) |
Definition at line 337 of file SWGAMDemodSettings.cpp.
References audio_device_name, and m_audio_device_name_isSet.
Referenced by AMDemod::webapiFormatChannelSettings(), and AMDemod::webapiReverseSendSettings().
void SWGSDRangel::SWGAMDemodSettings::setAudioMute | ( | qint32 | audio_mute | ) |
Definition at line 297 of file SWGAMDemodSettings.cpp.
References audio_mute, and m_audio_mute_isSet.
Referenced by AMDemod::webapiFormatChannelSettings(), and AMDemod::webapiReverseSendSettings().
void SWGSDRangel::SWGAMDemodSettings::setBandpassEnable | ( | qint32 | bandpass_enable | ) |
Definition at line 307 of file SWGAMDemodSettings.cpp.
References bandpass_enable, and m_bandpass_enable_isSet.
Referenced by AMDemod::webapiFormatChannelSettings(), and AMDemod::webapiReverseSendSettings().
void SWGSDRangel::SWGAMDemodSettings::setInputFrequencyOffset | ( | qint64 | input_frequency_offset | ) |
Definition at line 257 of file SWGAMDemodSettings.cpp.
References input_frequency_offset, and m_input_frequency_offset_isSet.
Referenced by AMDemod::webapiFormatChannelSettings(), and AMDemod::webapiReverseSendSettings().
void SWGSDRangel::SWGAMDemodSettings::setPll | ( | qint32 | pll | ) |
Definition at line 347 of file SWGAMDemodSettings.cpp.
References m_pll_isSet, and pll.
Referenced by AMDemod::webapiFormatChannelSettings(), and AMDemod::webapiReverseSendSettings().
void SWGSDRangel::SWGAMDemodSettings::setReverseApiAddress | ( | QString * | reverse_api_address | ) |
Definition at line 387 of file SWGAMDemodSettings.cpp.
References m_reverse_api_address_isSet, and reverse_api_address.
Referenced by AMDemod::webapiFormatChannelSettings().
void SWGSDRangel::SWGAMDemodSettings::setReverseApiChannelIndex | ( | qint32 | reverse_api_channel_index | ) |
Definition at line 417 of file SWGAMDemodSettings.cpp.
References m_reverse_api_channel_index_isSet, and reverse_api_channel_index.
Referenced by AMDemod::webapiFormatChannelSettings().
void SWGSDRangel::SWGAMDemodSettings::setReverseApiDeviceIndex | ( | qint32 | reverse_api_device_index | ) |
Definition at line 407 of file SWGAMDemodSettings.cpp.
References m_reverse_api_device_index_isSet, and reverse_api_device_index.
Referenced by AMDemod::webapiFormatChannelSettings().
void SWGSDRangel::SWGAMDemodSettings::setReverseApiPort | ( | qint32 | reverse_api_port | ) |
Definition at line 397 of file SWGAMDemodSettings.cpp.
References m_reverse_api_port_isSet, and reverse_api_port.
Referenced by AMDemod::webapiFormatChannelSettings().
void SWGSDRangel::SWGAMDemodSettings::setRfBandwidth | ( | float | rf_bandwidth | ) |
Definition at line 267 of file SWGAMDemodSettings.cpp.
References m_rf_bandwidth_isSet, and rf_bandwidth.
Referenced by AMDemod::webapiFormatChannelSettings(), and AMDemod::webapiReverseSendSettings().
void SWGSDRangel::SWGAMDemodSettings::setRgbColor | ( | qint32 | rgb_color | ) |
Definition at line 317 of file SWGAMDemodSettings.cpp.
References m_rgb_color_isSet, and rgb_color.
Referenced by AMDemod::webapiFormatChannelSettings(), and AMDemod::webapiReverseSendSettings().
void SWGSDRangel::SWGAMDemodSettings::setSquelch | ( | float | squelch | ) |
Definition at line 277 of file SWGAMDemodSettings.cpp.
References m_squelch_isSet, and squelch.
Referenced by AMDemod::webapiFormatChannelSettings(), and AMDemod::webapiReverseSendSettings().
void SWGSDRangel::SWGAMDemodSettings::setStreamIndex | ( | qint32 | stream_index | ) |
Definition at line 367 of file SWGAMDemodSettings.cpp.
References m_stream_index_isSet, and stream_index.
Referenced by AMDemod::webapiFormatChannelSettings(), and AMDemod::webapiReverseSendSettings().
void SWGSDRangel::SWGAMDemodSettings::setSyncAmOperation | ( | qint32 | sync_am_operation | ) |
Definition at line 357 of file SWGAMDemodSettings.cpp.
References m_sync_am_operation_isSet, and sync_am_operation.
Referenced by AMDemod::webapiFormatChannelSettings(), and AMDemod::webapiReverseSendSettings().
void SWGSDRangel::SWGAMDemodSettings::setTitle | ( | QString * | title | ) |
Definition at line 327 of file SWGAMDemodSettings.cpp.
References m_title_isSet, and title.
Referenced by AMDemod::webapiFormatChannelSettings(), and AMDemod::webapiReverseSendSettings().
void SWGSDRangel::SWGAMDemodSettings::setUseReverseApi | ( | qint32 | use_reverse_api | ) |
Definition at line 377 of file SWGAMDemodSettings.cpp.
References m_use_reverse_api_isSet, and use_reverse_api.
Referenced by AMDemod::webapiFormatChannelSettings().
void SWGSDRangel::SWGAMDemodSettings::setVolume | ( | float | volume | ) |
Definition at line 287 of file SWGAMDemodSettings.cpp.
References m_volume_isSet, and volume.
Referenced by AMDemod::webapiFormatChannelSettings(), and AMDemod::webapiReverseSendSettings().
|
private |
Definition at line 124 of file SWGAMDemodSettings.h.
Referenced by asJsonObject(), cleanup(), fromJsonObject(), getAudioDeviceName(), init(), isSet(), setAudioDeviceName(), and SWGAMDemodSettings().
|
private |
Definition at line 112 of file SWGAMDemodSettings.h.
Referenced by asJsonObject(), fromJsonObject(), getAudioMute(), init(), setAudioMute(), and SWGAMDemodSettings().
|
private |
Definition at line 115 of file SWGAMDemodSettings.h.
Referenced by asJsonObject(), fromJsonObject(), getBandpassEnable(), init(), setBandpassEnable(), and SWGAMDemodSettings().
|
private |
Definition at line 100 of file SWGAMDemodSettings.h.
Referenced by asJsonObject(), fromJsonObject(), getInputFrequencyOffset(), init(), setInputFrequencyOffset(), and SWGAMDemodSettings().
|
private |
Definition at line 125 of file SWGAMDemodSettings.h.
Referenced by init(), setAudioDeviceName(), and SWGAMDemodSettings().
|
private |
Definition at line 113 of file SWGAMDemodSettings.h.
Referenced by asJsonObject(), init(), isSet(), setAudioMute(), and SWGAMDemodSettings().
|
private |
Definition at line 116 of file SWGAMDemodSettings.h.
Referenced by asJsonObject(), init(), isSet(), setBandpassEnable(), and SWGAMDemodSettings().
|
private |
Definition at line 101 of file SWGAMDemodSettings.h.
Referenced by asJsonObject(), init(), isSet(), setInputFrequencyOffset(), and SWGAMDemodSettings().
|
private |
Definition at line 128 of file SWGAMDemodSettings.h.
Referenced by asJsonObject(), init(), isSet(), setPll(), and SWGAMDemodSettings().
|
private |
Definition at line 140 of file SWGAMDemodSettings.h.
Referenced by init(), setReverseApiAddress(), and SWGAMDemodSettings().
|
private |
Definition at line 149 of file SWGAMDemodSettings.h.
Referenced by asJsonObject(), init(), isSet(), setReverseApiChannelIndex(), and SWGAMDemodSettings().
|
private |
Definition at line 146 of file SWGAMDemodSettings.h.
Referenced by asJsonObject(), init(), isSet(), setReverseApiDeviceIndex(), and SWGAMDemodSettings().
|
private |
Definition at line 143 of file SWGAMDemodSettings.h.
Referenced by asJsonObject(), init(), isSet(), setReverseApiPort(), and SWGAMDemodSettings().
|
private |
Definition at line 104 of file SWGAMDemodSettings.h.
Referenced by asJsonObject(), init(), isSet(), setRfBandwidth(), and SWGAMDemodSettings().
|
private |
Definition at line 119 of file SWGAMDemodSettings.h.
Referenced by asJsonObject(), init(), isSet(), setRgbColor(), and SWGAMDemodSettings().
|
private |
Definition at line 107 of file SWGAMDemodSettings.h.
Referenced by asJsonObject(), init(), isSet(), setSquelch(), and SWGAMDemodSettings().
|
private |
Definition at line 134 of file SWGAMDemodSettings.h.
Referenced by asJsonObject(), init(), isSet(), setStreamIndex(), and SWGAMDemodSettings().
|
private |
Definition at line 131 of file SWGAMDemodSettings.h.
Referenced by asJsonObject(), init(), isSet(), setSyncAmOperation(), and SWGAMDemodSettings().
|
private |
Definition at line 122 of file SWGAMDemodSettings.h.
Referenced by init(), setTitle(), and SWGAMDemodSettings().
|
private |
Definition at line 137 of file SWGAMDemodSettings.h.
Referenced by asJsonObject(), init(), isSet(), setUseReverseApi(), and SWGAMDemodSettings().
|
private |
Definition at line 110 of file SWGAMDemodSettings.h.
Referenced by asJsonObject(), init(), isSet(), setVolume(), and SWGAMDemodSettings().
|
private |
Definition at line 127 of file SWGAMDemodSettings.h.
Referenced by asJsonObject(), fromJsonObject(), getPll(), init(), setPll(), and SWGAMDemodSettings().
|
private |
Definition at line 139 of file SWGAMDemodSettings.h.
Referenced by asJsonObject(), cleanup(), fromJsonObject(), getReverseApiAddress(), init(), isSet(), setReverseApiAddress(), and SWGAMDemodSettings().
|
private |
Definition at line 148 of file SWGAMDemodSettings.h.
Referenced by asJsonObject(), fromJsonObject(), getReverseApiChannelIndex(), init(), setReverseApiChannelIndex(), and SWGAMDemodSettings().
|
private |
Definition at line 145 of file SWGAMDemodSettings.h.
Referenced by asJsonObject(), fromJsonObject(), getReverseApiDeviceIndex(), init(), setReverseApiDeviceIndex(), and SWGAMDemodSettings().
|
private |
Definition at line 142 of file SWGAMDemodSettings.h.
Referenced by asJsonObject(), fromJsonObject(), getReverseApiPort(), init(), setReverseApiPort(), and SWGAMDemodSettings().
|
private |
Definition at line 103 of file SWGAMDemodSettings.h.
Referenced by asJsonObject(), fromJsonObject(), getRfBandwidth(), init(), setRfBandwidth(), and SWGAMDemodSettings().
|
private |
Definition at line 118 of file SWGAMDemodSettings.h.
Referenced by asJsonObject(), fromJsonObject(), getRgbColor(), init(), setRgbColor(), and SWGAMDemodSettings().
|
private |
Definition at line 106 of file SWGAMDemodSettings.h.
Referenced by asJsonObject(), fromJsonObject(), getSquelch(), init(), setSquelch(), and SWGAMDemodSettings().
|
private |
Definition at line 133 of file SWGAMDemodSettings.h.
Referenced by asJsonObject(), fromJsonObject(), getStreamIndex(), init(), setStreamIndex(), and SWGAMDemodSettings().
|
private |
Definition at line 130 of file SWGAMDemodSettings.h.
Referenced by asJsonObject(), fromJsonObject(), getSyncAmOperation(), init(), setSyncAmOperation(), and SWGAMDemodSettings().
|
private |
Definition at line 121 of file SWGAMDemodSettings.h.
Referenced by asJsonObject(), cleanup(), fromJsonObject(), getTitle(), init(), isSet(), setTitle(), and SWGAMDemodSettings().
|
private |
Definition at line 136 of file SWGAMDemodSettings.h.
Referenced by asJsonObject(), fromJsonObject(), getUseReverseApi(), init(), setUseReverseApi(), and SWGAMDemodSettings().
|
private |
Definition at line 109 of file SWGAMDemodSettings.h.
Referenced by asJsonObject(), fromJsonObject(), getVolume(), init(), setVolume(), and SWGAMDemodSettings().