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 <SWGAMModSettings.h>
Private Attributes | |
qint64 | input_frequency_offset |
bool | m_input_frequency_offset_isSet |
float | rf_bandwidth |
bool | m_rf_bandwidth_isSet |
float | mod_factor |
bool | m_mod_factor_isSet |
float | tone_frequency |
bool | m_tone_frequency_isSet |
float | volume_factor |
bool | m_volume_factor_isSet |
qint32 | channel_mute |
bool | m_channel_mute_isSet |
qint32 | play_loop |
bool | m_play_loop_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 | mod_af_input |
bool | m_mod_af_input_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 |
SWGCWKeyerSettings * | cw_keyer |
bool | m_cw_keyer_isSet |
Definition at line 33 of file SWGAMModSettings.h.
SWGSDRangel::SWGAMModSettings::SWGAMModSettings | ( | ) |
Definition at line 30 of file SWGAMModSettings.cpp.
References audio_device_name, channel_mute, cw_keyer, input_frequency_offset, m_audio_device_name_isSet, m_channel_mute_isSet, m_cw_keyer_isSet, m_input_frequency_offset_isSet, m_mod_af_input_isSet, m_mod_factor_isSet, m_play_loop_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_title_isSet, m_tone_frequency_isSet, m_use_reverse_api_isSet, m_volume_factor_isSet, mod_af_input, mod_factor, play_loop, reverse_api_address, reverse_api_channel_index, reverse_api_device_index, reverse_api_port, rf_bandwidth, rgb_color, title, tone_frequency, use_reverse_api, and volume_factor.
SWGSDRangel::SWGAMModSettings::SWGAMModSettings | ( | QString * | json | ) |
Definition at line 25 of file SWGAMModSettings.cpp.
References fromJson(), and init().
|
virtual |
Definition at line 67 of file SWGAMModSettings.cpp.
References cleanup().
|
overridevirtual |
Reimplemented from SWGSDRangel::SWGObject.
Definition at line 186 of file SWGAMModSettings.cpp.
References asJsonObject().
|
overridevirtual |
Reimplemented from SWGSDRangel::SWGObject.
Definition at line 197 of file SWGAMModSettings.cpp.
References audio_device_name, channel_mute, cw_keyer, input_frequency_offset, SWGSDRangel::SWGCWKeyerSettings::isSet(), m_channel_mute_isSet, m_input_frequency_offset_isSet, m_mod_af_input_isSet, m_mod_factor_isSet, m_play_loop_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_tone_frequency_isSet, m_use_reverse_api_isSet, m_volume_factor_isSet, mod_af_input, mod_factor, play_loop, reverse_api_address, reverse_api_channel_index, reverse_api_device_index, reverse_api_port, rf_bandwidth, rgb_color, title, SWGSDRangel::toJsonValue(), tone_frequency, use_reverse_api, and volume_factor.
Referenced by asJson().
void SWGSDRangel::SWGAMModSettings::cleanup | ( | ) |
Definition at line 110 of file SWGAMModSettings.cpp.
References audio_device_name, cw_keyer, reverse_api_address, and title.
Referenced by ~SWGAMModSettings().
|
overridevirtual |
Reimplemented from SWGSDRangel::SWGObject.
Definition at line 139 of file SWGAMModSettings.cpp.
References fromJsonObject().
Referenced by SWGAMModSettings().
|
overridevirtual |
Reimplemented from SWGSDRangel::SWGObject.
Definition at line 148 of file SWGAMModSettings.cpp.
References audio_device_name, channel_mute, cw_keyer, input_frequency_offset, mod_af_input, mod_factor, play_loop, reverse_api_address, reverse_api_channel_index, reverse_api_device_index, reverse_api_port, rf_bandwidth, rgb_color, SWGSDRangel::setValue(), title, tone_frequency, use_reverse_api, and volume_factor.
Referenced by fromJson(), and WebAPIRequestMapper::validateChannelSettings().
QString * SWGSDRangel::SWGAMModSettings::getAudioDeviceName | ( | ) |
Definition at line 345 of file SWGAMModSettings.cpp.
References audio_device_name.
Referenced by AMMod::webapiFormatChannelSettings(), and AMMod::webapiSettingsPutPatch().
qint32 SWGSDRangel::SWGAMModSettings::getChannelMute | ( | ) |
Definition at line 305 of file SWGAMModSettings.cpp.
References channel_mute.
Referenced by AMMod::webapiSettingsPutPatch().
SWGCWKeyerSettings * SWGSDRangel::SWGAMModSettings::getCwKeyer | ( | ) |
Definition at line 415 of file SWGAMModSettings.cpp.
References cw_keyer.
Referenced by AMMod::webapiFormatChannelSettings(), AMMod::webapiReverseSendCWSettings(), AMMod::webapiReverseSendSettings(), and AMMod::webapiSettingsPutPatch().
qint64 SWGSDRangel::SWGAMModSettings::getInputFrequencyOffset | ( | ) |
Definition at line 255 of file SWGAMModSettings.cpp.
References input_frequency_offset.
Referenced by AMMod::webapiSettingsPutPatch().
qint32 SWGSDRangel::SWGAMModSettings::getModAfInput | ( | ) |
Definition at line 355 of file SWGAMModSettings.cpp.
References mod_af_input.
Referenced by AMMod::webapiSettingsPutPatch().
float SWGSDRangel::SWGAMModSettings::getModFactor | ( | ) |
Definition at line 275 of file SWGAMModSettings.cpp.
References mod_factor.
Referenced by AMMod::webapiSettingsPutPatch().
qint32 SWGSDRangel::SWGAMModSettings::getPlayLoop | ( | ) |
Definition at line 315 of file SWGAMModSettings.cpp.
References play_loop.
Referenced by AMMod::webapiSettingsPutPatch().
QString * SWGSDRangel::SWGAMModSettings::getReverseApiAddress | ( | ) |
Definition at line 375 of file SWGAMModSettings.cpp.
References reverse_api_address.
Referenced by AMMod::webapiFormatChannelSettings(), and AMMod::webapiSettingsPutPatch().
qint32 SWGSDRangel::SWGAMModSettings::getReverseApiChannelIndex | ( | ) |
Definition at line 405 of file SWGAMModSettings.cpp.
References reverse_api_channel_index.
Referenced by AMMod::webapiSettingsPutPatch().
qint32 SWGSDRangel::SWGAMModSettings::getReverseApiDeviceIndex | ( | ) |
Definition at line 395 of file SWGAMModSettings.cpp.
References reverse_api_device_index.
Referenced by AMMod::webapiSettingsPutPatch().
qint32 SWGSDRangel::SWGAMModSettings::getReverseApiPort | ( | ) |
Definition at line 385 of file SWGAMModSettings.cpp.
References reverse_api_port.
Referenced by AMMod::webapiSettingsPutPatch().
float SWGSDRangel::SWGAMModSettings::getRfBandwidth | ( | ) |
Definition at line 265 of file SWGAMModSettings.cpp.
References rf_bandwidth.
Referenced by AMMod::webapiSettingsPutPatch().
qint32 SWGSDRangel::SWGAMModSettings::getRgbColor | ( | ) |
Definition at line 325 of file SWGAMModSettings.cpp.
References rgb_color.
Referenced by AMMod::webapiSettingsPutPatch().
QString * SWGSDRangel::SWGAMModSettings::getTitle | ( | ) |
Definition at line 335 of file SWGAMModSettings.cpp.
References title.
Referenced by AMMod::webapiFormatChannelSettings(), and AMMod::webapiSettingsPutPatch().
float SWGSDRangel::SWGAMModSettings::getToneFrequency | ( | ) |
Definition at line 285 of file SWGAMModSettings.cpp.
References tone_frequency.
Referenced by AMMod::webapiSettingsPutPatch().
qint32 SWGSDRangel::SWGAMModSettings::getUseReverseApi | ( | ) |
Definition at line 365 of file SWGAMModSettings.cpp.
References use_reverse_api.
Referenced by AMMod::webapiSettingsPutPatch().
float SWGSDRangel::SWGAMModSettings::getVolumeFactor | ( | ) |
Definition at line 295 of file SWGAMModSettings.cpp.
References volume_factor.
Referenced by AMMod::webapiSettingsPutPatch().
void SWGSDRangel::SWGAMModSettings::init | ( | ) |
Definition at line 72 of file SWGAMModSettings.cpp.
References audio_device_name, channel_mute, cw_keyer, input_frequency_offset, m_audio_device_name_isSet, m_channel_mute_isSet, m_cw_keyer_isSet, m_input_frequency_offset_isSet, m_mod_af_input_isSet, m_mod_factor_isSet, m_play_loop_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_title_isSet, m_tone_frequency_isSet, m_use_reverse_api_isSet, m_volume_factor_isSet, mod_af_input, mod_factor, play_loop, reverse_api_address, reverse_api_channel_index, reverse_api_device_index, reverse_api_port, rf_bandwidth, rgb_color, title, tone_frequency, use_reverse_api, and volume_factor.
Referenced by SWGAMModSettings(), and AMMod::webapiSettingsGet().
|
overridevirtual |
Reimplemented from SWGSDRangel::SWGObject.
Definition at line 426 of file SWGAMModSettings.cpp.
References audio_device_name, cw_keyer, SWGSDRangel::SWGCWKeyerSettings::isSet(), m_channel_mute_isSet, m_input_frequency_offset_isSet, m_mod_af_input_isSet, m_mod_factor_isSet, m_play_loop_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_tone_frequency_isSet, m_use_reverse_api_isSet, m_volume_factor_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::SWGAMModSettings::setAudioDeviceName | ( | QString * | audio_device_name | ) |
Definition at line 349 of file SWGAMModSettings.cpp.
References audio_device_name, and m_audio_device_name_isSet.
Referenced by AMMod::webapiFormatChannelSettings(), and AMMod::webapiReverseSendSettings().
void SWGSDRangel::SWGAMModSettings::setChannelMute | ( | qint32 | channel_mute | ) |
Definition at line 309 of file SWGAMModSettings.cpp.
References channel_mute, and m_channel_mute_isSet.
Referenced by AMMod::webapiFormatChannelSettings(), and AMMod::webapiReverseSendSettings().
void SWGSDRangel::SWGAMModSettings::setCwKeyer | ( | SWGCWKeyerSettings * | cw_keyer | ) |
Definition at line 419 of file SWGAMModSettings.cpp.
References cw_keyer, and m_cw_keyer_isSet.
Referenced by AMMod::webapiFormatChannelSettings(), AMMod::webapiReverseSendCWSettings(), and AMMod::webapiReverseSendSettings().
void SWGSDRangel::SWGAMModSettings::setInputFrequencyOffset | ( | qint64 | input_frequency_offset | ) |
Definition at line 259 of file SWGAMModSettings.cpp.
References input_frequency_offset, and m_input_frequency_offset_isSet.
Referenced by AMMod::webapiFormatChannelSettings(), and AMMod::webapiReverseSendSettings().
void SWGSDRangel::SWGAMModSettings::setModAfInput | ( | qint32 | mod_af_input | ) |
Definition at line 359 of file SWGAMModSettings.cpp.
References m_mod_af_input_isSet, and mod_af_input.
Referenced by AMMod::webapiFormatChannelSettings(), and AMMod::webapiReverseSendSettings().
void SWGSDRangel::SWGAMModSettings::setModFactor | ( | float | mod_factor | ) |
Definition at line 279 of file SWGAMModSettings.cpp.
References m_mod_factor_isSet, and mod_factor.
Referenced by AMMod::webapiFormatChannelSettings(), and AMMod::webapiReverseSendSettings().
void SWGSDRangel::SWGAMModSettings::setPlayLoop | ( | qint32 | play_loop | ) |
Definition at line 319 of file SWGAMModSettings.cpp.
References m_play_loop_isSet, and play_loop.
Referenced by AMMod::webapiFormatChannelSettings(), and AMMod::webapiReverseSendSettings().
void SWGSDRangel::SWGAMModSettings::setReverseApiAddress | ( | QString * | reverse_api_address | ) |
Definition at line 379 of file SWGAMModSettings.cpp.
References m_reverse_api_address_isSet, and reverse_api_address.
Referenced by AMMod::webapiFormatChannelSettings().
void SWGSDRangel::SWGAMModSettings::setReverseApiChannelIndex | ( | qint32 | reverse_api_channel_index | ) |
Definition at line 409 of file SWGAMModSettings.cpp.
References m_reverse_api_channel_index_isSet, and reverse_api_channel_index.
Referenced by AMMod::webapiFormatChannelSettings().
void SWGSDRangel::SWGAMModSettings::setReverseApiDeviceIndex | ( | qint32 | reverse_api_device_index | ) |
Definition at line 399 of file SWGAMModSettings.cpp.
References m_reverse_api_device_index_isSet, and reverse_api_device_index.
Referenced by AMMod::webapiFormatChannelSettings().
void SWGSDRangel::SWGAMModSettings::setReverseApiPort | ( | qint32 | reverse_api_port | ) |
Definition at line 389 of file SWGAMModSettings.cpp.
References m_reverse_api_port_isSet, and reverse_api_port.
Referenced by AMMod::webapiFormatChannelSettings().
void SWGSDRangel::SWGAMModSettings::setRfBandwidth | ( | float | rf_bandwidth | ) |
Definition at line 269 of file SWGAMModSettings.cpp.
References m_rf_bandwidth_isSet, and rf_bandwidth.
Referenced by AMMod::webapiFormatChannelSettings(), and AMMod::webapiReverseSendSettings().
void SWGSDRangel::SWGAMModSettings::setRgbColor | ( | qint32 | rgb_color | ) |
Definition at line 329 of file SWGAMModSettings.cpp.
References m_rgb_color_isSet, and rgb_color.
Referenced by AMMod::webapiFormatChannelSettings(), and AMMod::webapiReverseSendSettings().
void SWGSDRangel::SWGAMModSettings::setTitle | ( | QString * | title | ) |
Definition at line 339 of file SWGAMModSettings.cpp.
References m_title_isSet, and title.
Referenced by AMMod::webapiFormatChannelSettings(), and AMMod::webapiReverseSendSettings().
void SWGSDRangel::SWGAMModSettings::setToneFrequency | ( | float | tone_frequency | ) |
Definition at line 289 of file SWGAMModSettings.cpp.
References m_tone_frequency_isSet, and tone_frequency.
Referenced by AMMod::webapiFormatChannelSettings(), and AMMod::webapiReverseSendSettings().
void SWGSDRangel::SWGAMModSettings::setUseReverseApi | ( | qint32 | use_reverse_api | ) |
Definition at line 369 of file SWGAMModSettings.cpp.
References m_use_reverse_api_isSet, and use_reverse_api.
Referenced by AMMod::webapiFormatChannelSettings().
void SWGSDRangel::SWGAMModSettings::setVolumeFactor | ( | float | volume_factor | ) |
Definition at line 299 of file SWGAMModSettings.cpp.
References m_volume_factor_isSet, and volume_factor.
Referenced by AMMod::webapiFormatChannelSettings(), and AMMod::webapiReverseSendSettings().
|
private |
Definition at line 128 of file SWGAMModSettings.h.
Referenced by asJsonObject(), cleanup(), fromJsonObject(), getAudioDeviceName(), init(), isSet(), setAudioDeviceName(), and SWGAMModSettings().
|
private |
Definition at line 116 of file SWGAMModSettings.h.
Referenced by asJsonObject(), fromJsonObject(), getChannelMute(), init(), setChannelMute(), and SWGAMModSettings().
|
private |
Definition at line 149 of file SWGAMModSettings.h.
Referenced by asJsonObject(), cleanup(), fromJsonObject(), getCwKeyer(), init(), isSet(), setCwKeyer(), and SWGAMModSettings().
|
private |
Definition at line 101 of file SWGAMModSettings.h.
Referenced by asJsonObject(), fromJsonObject(), getInputFrequencyOffset(), init(), setInputFrequencyOffset(), and SWGAMModSettings().
|
private |
Definition at line 129 of file SWGAMModSettings.h.
Referenced by init(), setAudioDeviceName(), and SWGAMModSettings().
|
private |
Definition at line 117 of file SWGAMModSettings.h.
Referenced by asJsonObject(), init(), isSet(), setChannelMute(), and SWGAMModSettings().
|
private |
Definition at line 150 of file SWGAMModSettings.h.
Referenced by init(), setCwKeyer(), and SWGAMModSettings().
|
private |
Definition at line 102 of file SWGAMModSettings.h.
Referenced by asJsonObject(), init(), isSet(), setInputFrequencyOffset(), and SWGAMModSettings().
|
private |
Definition at line 132 of file SWGAMModSettings.h.
Referenced by asJsonObject(), init(), isSet(), setModAfInput(), and SWGAMModSettings().
|
private |
Definition at line 108 of file SWGAMModSettings.h.
Referenced by asJsonObject(), init(), isSet(), setModFactor(), and SWGAMModSettings().
|
private |
Definition at line 120 of file SWGAMModSettings.h.
Referenced by asJsonObject(), init(), isSet(), setPlayLoop(), and SWGAMModSettings().
|
private |
Definition at line 138 of file SWGAMModSettings.h.
Referenced by init(), setReverseApiAddress(), and SWGAMModSettings().
|
private |
Definition at line 147 of file SWGAMModSettings.h.
Referenced by asJsonObject(), init(), isSet(), setReverseApiChannelIndex(), and SWGAMModSettings().
|
private |
Definition at line 144 of file SWGAMModSettings.h.
Referenced by asJsonObject(), init(), isSet(), setReverseApiDeviceIndex(), and SWGAMModSettings().
|
private |
Definition at line 141 of file SWGAMModSettings.h.
Referenced by asJsonObject(), init(), isSet(), setReverseApiPort(), and SWGAMModSettings().
|
private |
Definition at line 105 of file SWGAMModSettings.h.
Referenced by asJsonObject(), init(), isSet(), setRfBandwidth(), and SWGAMModSettings().
|
private |
Definition at line 123 of file SWGAMModSettings.h.
Referenced by asJsonObject(), init(), isSet(), setRgbColor(), and SWGAMModSettings().
|
private |
Definition at line 126 of file SWGAMModSettings.h.
Referenced by init(), setTitle(), and SWGAMModSettings().
|
private |
Definition at line 111 of file SWGAMModSettings.h.
Referenced by asJsonObject(), init(), isSet(), setToneFrequency(), and SWGAMModSettings().
|
private |
Definition at line 135 of file SWGAMModSettings.h.
Referenced by asJsonObject(), init(), isSet(), setUseReverseApi(), and SWGAMModSettings().
|
private |
Definition at line 114 of file SWGAMModSettings.h.
Referenced by asJsonObject(), init(), isSet(), setVolumeFactor(), and SWGAMModSettings().
|
private |
Definition at line 131 of file SWGAMModSettings.h.
Referenced by asJsonObject(), fromJsonObject(), getModAfInput(), init(), setModAfInput(), and SWGAMModSettings().
|
private |
Definition at line 107 of file SWGAMModSettings.h.
Referenced by asJsonObject(), fromJsonObject(), getModFactor(), init(), setModFactor(), and SWGAMModSettings().
|
private |
Definition at line 119 of file SWGAMModSettings.h.
Referenced by asJsonObject(), fromJsonObject(), getPlayLoop(), init(), setPlayLoop(), and SWGAMModSettings().
|
private |
Definition at line 137 of file SWGAMModSettings.h.
Referenced by asJsonObject(), cleanup(), fromJsonObject(), getReverseApiAddress(), init(), isSet(), setReverseApiAddress(), and SWGAMModSettings().
|
private |
Definition at line 146 of file SWGAMModSettings.h.
Referenced by asJsonObject(), fromJsonObject(), getReverseApiChannelIndex(), init(), setReverseApiChannelIndex(), and SWGAMModSettings().
|
private |
Definition at line 143 of file SWGAMModSettings.h.
Referenced by asJsonObject(), fromJsonObject(), getReverseApiDeviceIndex(), init(), setReverseApiDeviceIndex(), and SWGAMModSettings().
|
private |
Definition at line 140 of file SWGAMModSettings.h.
Referenced by asJsonObject(), fromJsonObject(), getReverseApiPort(), init(), setReverseApiPort(), and SWGAMModSettings().
|
private |
Definition at line 104 of file SWGAMModSettings.h.
Referenced by asJsonObject(), fromJsonObject(), getRfBandwidth(), init(), setRfBandwidth(), and SWGAMModSettings().
|
private |
Definition at line 122 of file SWGAMModSettings.h.
Referenced by asJsonObject(), fromJsonObject(), getRgbColor(), init(), setRgbColor(), and SWGAMModSettings().
|
private |
Definition at line 125 of file SWGAMModSettings.h.
Referenced by asJsonObject(), cleanup(), fromJsonObject(), getTitle(), init(), isSet(), setTitle(), and SWGAMModSettings().
|
private |
Definition at line 110 of file SWGAMModSettings.h.
Referenced by asJsonObject(), fromJsonObject(), getToneFrequency(), init(), setToneFrequency(), and SWGAMModSettings().
|
private |
Definition at line 134 of file SWGAMModSettings.h.
Referenced by asJsonObject(), fromJsonObject(), getUseReverseApi(), init(), setUseReverseApi(), and SWGAMModSettings().
|
private |
Definition at line 113 of file SWGAMModSettings.h.
Referenced by asJsonObject(), fromJsonObject(), getVolumeFactor(), init(), setVolumeFactor(), and SWGAMModSettings().