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 <SWGLocalSourceSettings.h>
Private Attributes | |
qint32 | local_device_index |
bool | m_local_device_index_isSet |
qint32 | rgb_color |
bool | m_rgb_color_isSet |
QString * | title |
bool | m_title_isSet |
qint32 | log2_interp |
bool | m_log2_interp_isSet |
qint32 | filter_chain_hash |
bool | m_filter_chain_hash_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 SWGLocalSourceSettings.h.
SWGSDRangel::SWGLocalSourceSettings::SWGLocalSourceSettings | ( | ) |
Definition at line 30 of file SWGLocalSourceSettings.cpp.
References filter_chain_hash, local_device_index, log2_interp, m_filter_chain_hash_isSet, m_local_device_index_isSet, m_log2_interp_isSet, m_reverse_api_address_isSet, m_reverse_api_channel_index_isSet, m_reverse_api_device_index_isSet, m_reverse_api_port_isSet, m_rgb_color_isSet, m_title_isSet, m_use_reverse_api_isSet, reverse_api_address, reverse_api_channel_index, reverse_api_device_index, reverse_api_port, rgb_color, title, and use_reverse_api.
SWGSDRangel::SWGLocalSourceSettings::SWGLocalSourceSettings | ( | QString * | json | ) |
Definition at line 25 of file SWGLocalSourceSettings.cpp.
References fromJson(), and init().
|
virtual |
Definition at line 53 of file SWGLocalSourceSettings.cpp.
References cleanup().
|
overridevirtual |
Reimplemented from SWGSDRangel::SWGObject.
Definition at line 133 of file SWGLocalSourceSettings.cpp.
References asJsonObject().
|
overridevirtual |
Reimplemented from SWGSDRangel::SWGObject.
Definition at line 144 of file SWGLocalSourceSettings.cpp.
References filter_chain_hash, local_device_index, log2_interp, m_filter_chain_hash_isSet, m_local_device_index_isSet, m_log2_interp_isSet, m_reverse_api_channel_index_isSet, m_reverse_api_device_index_isSet, m_reverse_api_port_isSet, m_rgb_color_isSet, m_use_reverse_api_isSet, reverse_api_address, reverse_api_channel_index, reverse_api_device_index, reverse_api_port, rgb_color, title, SWGSDRangel::toJsonValue(), and use_reverse_api.
Referenced by asJson().
void SWGSDRangel::SWGLocalSourceSettings::cleanup | ( | ) |
Definition at line 82 of file SWGLocalSourceSettings.cpp.
References reverse_api_address, and title.
Referenced by ~SWGLocalSourceSettings().
|
overridevirtual |
Reimplemented from SWGSDRangel::SWGObject.
Definition at line 100 of file SWGLocalSourceSettings.cpp.
References fromJsonObject().
Referenced by SWGLocalSourceSettings().
|
overridevirtual |
Reimplemented from SWGSDRangel::SWGObject.
Definition at line 109 of file SWGLocalSourceSettings.cpp.
References filter_chain_hash, local_device_index, log2_interp, reverse_api_address, reverse_api_channel_index, reverse_api_device_index, reverse_api_port, rgb_color, SWGSDRangel::setValue(), title, and use_reverse_api.
Referenced by fromJson(), and WebAPIRequestMapper::validateChannelSettings().
qint32 SWGSDRangel::SWGLocalSourceSettings::getFilterChainHash | ( | ) |
Definition at line 221 of file SWGLocalSourceSettings.cpp.
References filter_chain_hash.
Referenced by LocalSource::webapiSettingsPutPatch().
qint32 SWGSDRangel::SWGLocalSourceSettings::getLocalDeviceIndex | ( | ) |
Definition at line 181 of file SWGLocalSourceSettings.cpp.
References local_device_index.
Referenced by LocalSource::webapiSettingsPutPatch().
qint32 SWGSDRangel::SWGLocalSourceSettings::getLog2Interp | ( | ) |
Definition at line 211 of file SWGLocalSourceSettings.cpp.
References log2_interp.
Referenced by LocalSource::webapiSettingsPutPatch().
QString * SWGSDRangel::SWGLocalSourceSettings::getReverseApiAddress | ( | ) |
Definition at line 241 of file SWGLocalSourceSettings.cpp.
References reverse_api_address.
Referenced by LocalSource::webapiFormatChannelSettings(), and LocalSource::webapiSettingsPutPatch().
qint32 SWGSDRangel::SWGLocalSourceSettings::getReverseApiChannelIndex | ( | ) |
Definition at line 271 of file SWGLocalSourceSettings.cpp.
References reverse_api_channel_index.
Referenced by LocalSource::webapiSettingsPutPatch().
qint32 SWGSDRangel::SWGLocalSourceSettings::getReverseApiDeviceIndex | ( | ) |
Definition at line 261 of file SWGLocalSourceSettings.cpp.
References reverse_api_device_index.
Referenced by LocalSource::webapiSettingsPutPatch().
qint32 SWGSDRangel::SWGLocalSourceSettings::getReverseApiPort | ( | ) |
Definition at line 251 of file SWGLocalSourceSettings.cpp.
References reverse_api_port.
Referenced by LocalSource::webapiSettingsPutPatch().
qint32 SWGSDRangel::SWGLocalSourceSettings::getRgbColor | ( | ) |
Definition at line 191 of file SWGLocalSourceSettings.cpp.
References rgb_color.
Referenced by LocalSource::webapiSettingsPutPatch().
QString * SWGSDRangel::SWGLocalSourceSettings::getTitle | ( | ) |
Definition at line 201 of file SWGLocalSourceSettings.cpp.
References title.
Referenced by LocalSource::webapiFormatChannelSettings(), and LocalSource::webapiSettingsPutPatch().
qint32 SWGSDRangel::SWGLocalSourceSettings::getUseReverseApi | ( | ) |
Definition at line 231 of file SWGLocalSourceSettings.cpp.
References use_reverse_api.
Referenced by LocalSource::webapiSettingsPutPatch().
void SWGSDRangel::SWGLocalSourceSettings::init | ( | ) |
Definition at line 58 of file SWGLocalSourceSettings.cpp.
References filter_chain_hash, local_device_index, log2_interp, m_filter_chain_hash_isSet, m_local_device_index_isSet, m_log2_interp_isSet, m_reverse_api_address_isSet, m_reverse_api_channel_index_isSet, m_reverse_api_device_index_isSet, m_reverse_api_port_isSet, m_rgb_color_isSet, m_title_isSet, m_use_reverse_api_isSet, reverse_api_address, reverse_api_channel_index, reverse_api_device_index, reverse_api_port, rgb_color, title, and use_reverse_api.
Referenced by SWGLocalSourceSettings(), and LocalSource::webapiSettingsGet().
|
overridevirtual |
Reimplemented from SWGSDRangel::SWGObject.
Definition at line 282 of file SWGLocalSourceSettings.cpp.
References m_filter_chain_hash_isSet, m_local_device_index_isSet, m_log2_interp_isSet, m_reverse_api_channel_index_isSet, m_reverse_api_device_index_isSet, m_reverse_api_port_isSet, m_rgb_color_isSet, m_use_reverse_api_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::SWGLocalSourceSettings::setFilterChainHash | ( | qint32 | filter_chain_hash | ) |
Definition at line 225 of file SWGLocalSourceSettings.cpp.
References filter_chain_hash, and m_filter_chain_hash_isSet.
Referenced by LocalSource::webapiFormatChannelSettings(), and LocalSource::webapiReverseSendSettings().
void SWGSDRangel::SWGLocalSourceSettings::setLocalDeviceIndex | ( | qint32 | local_device_index | ) |
Definition at line 185 of file SWGLocalSourceSettings.cpp.
References local_device_index, and m_local_device_index_isSet.
Referenced by LocalSource::webapiFormatChannelSettings(), and LocalSource::webapiReverseSendSettings().
void SWGSDRangel::SWGLocalSourceSettings::setLog2Interp | ( | qint32 | log2_interp | ) |
Definition at line 215 of file SWGLocalSourceSettings.cpp.
References log2_interp, and m_log2_interp_isSet.
Referenced by LocalSource::webapiFormatChannelSettings(), and LocalSource::webapiReverseSendSettings().
void SWGSDRangel::SWGLocalSourceSettings::setReverseApiAddress | ( | QString * | reverse_api_address | ) |
Definition at line 245 of file SWGLocalSourceSettings.cpp.
References m_reverse_api_address_isSet, and reverse_api_address.
Referenced by LocalSource::webapiFormatChannelSettings().
void SWGSDRangel::SWGLocalSourceSettings::setReverseApiChannelIndex | ( | qint32 | reverse_api_channel_index | ) |
Definition at line 275 of file SWGLocalSourceSettings.cpp.
References m_reverse_api_channel_index_isSet, and reverse_api_channel_index.
Referenced by LocalSource::webapiFormatChannelSettings().
void SWGSDRangel::SWGLocalSourceSettings::setReverseApiDeviceIndex | ( | qint32 | reverse_api_device_index | ) |
Definition at line 265 of file SWGLocalSourceSettings.cpp.
References m_reverse_api_device_index_isSet, and reverse_api_device_index.
Referenced by LocalSource::webapiFormatChannelSettings().
void SWGSDRangel::SWGLocalSourceSettings::setReverseApiPort | ( | qint32 | reverse_api_port | ) |
Definition at line 255 of file SWGLocalSourceSettings.cpp.
References m_reverse_api_port_isSet, and reverse_api_port.
Referenced by LocalSource::webapiFormatChannelSettings().
void SWGSDRangel::SWGLocalSourceSettings::setRgbColor | ( | qint32 | rgb_color | ) |
Definition at line 195 of file SWGLocalSourceSettings.cpp.
References m_rgb_color_isSet, and rgb_color.
Referenced by LocalSource::webapiFormatChannelSettings(), and LocalSource::webapiReverseSendSettings().
void SWGSDRangel::SWGLocalSourceSettings::setTitle | ( | QString * | title | ) |
Definition at line 205 of file SWGLocalSourceSettings.cpp.
References m_title_isSet, and title.
Referenced by LocalSource::webapiFormatChannelSettings(), and LocalSource::webapiReverseSendSettings().
void SWGSDRangel::SWGLocalSourceSettings::setUseReverseApi | ( | qint32 | use_reverse_api | ) |
Definition at line 235 of file SWGLocalSourceSettings.cpp.
References m_use_reverse_api_isSet, and use_reverse_api.
Referenced by LocalSource::webapiFormatChannelSettings().
|
private |
Definition at line 91 of file SWGLocalSourceSettings.h.
Referenced by asJsonObject(), fromJsonObject(), getFilterChainHash(), init(), setFilterChainHash(), and SWGLocalSourceSettings().
|
private |
Definition at line 79 of file SWGLocalSourceSettings.h.
Referenced by asJsonObject(), fromJsonObject(), getLocalDeviceIndex(), init(), setLocalDeviceIndex(), and SWGLocalSourceSettings().
|
private |
Definition at line 88 of file SWGLocalSourceSettings.h.
Referenced by asJsonObject(), fromJsonObject(), getLog2Interp(), init(), setLog2Interp(), and SWGLocalSourceSettings().
|
private |
Definition at line 92 of file SWGLocalSourceSettings.h.
Referenced by asJsonObject(), init(), isSet(), setFilterChainHash(), and SWGLocalSourceSettings().
|
private |
Definition at line 80 of file SWGLocalSourceSettings.h.
Referenced by asJsonObject(), init(), isSet(), setLocalDeviceIndex(), and SWGLocalSourceSettings().
|
private |
Definition at line 89 of file SWGLocalSourceSettings.h.
Referenced by asJsonObject(), init(), isSet(), setLog2Interp(), and SWGLocalSourceSettings().
|
private |
Definition at line 98 of file SWGLocalSourceSettings.h.
Referenced by init(), setReverseApiAddress(), and SWGLocalSourceSettings().
|
private |
Definition at line 107 of file SWGLocalSourceSettings.h.
Referenced by asJsonObject(), init(), isSet(), setReverseApiChannelIndex(), and SWGLocalSourceSettings().
|
private |
Definition at line 104 of file SWGLocalSourceSettings.h.
Referenced by asJsonObject(), init(), isSet(), setReverseApiDeviceIndex(), and SWGLocalSourceSettings().
|
private |
Definition at line 101 of file SWGLocalSourceSettings.h.
Referenced by asJsonObject(), init(), isSet(), setReverseApiPort(), and SWGLocalSourceSettings().
|
private |
Definition at line 83 of file SWGLocalSourceSettings.h.
Referenced by asJsonObject(), init(), isSet(), setRgbColor(), and SWGLocalSourceSettings().
|
private |
Definition at line 86 of file SWGLocalSourceSettings.h.
Referenced by init(), setTitle(), and SWGLocalSourceSettings().
|
private |
Definition at line 95 of file SWGLocalSourceSettings.h.
Referenced by asJsonObject(), init(), isSet(), setUseReverseApi(), and SWGLocalSourceSettings().
|
private |
Definition at line 97 of file SWGLocalSourceSettings.h.
Referenced by asJsonObject(), cleanup(), fromJsonObject(), getReverseApiAddress(), init(), isSet(), setReverseApiAddress(), and SWGLocalSourceSettings().
|
private |
Definition at line 106 of file SWGLocalSourceSettings.h.
Referenced by asJsonObject(), fromJsonObject(), getReverseApiChannelIndex(), init(), setReverseApiChannelIndex(), and SWGLocalSourceSettings().
|
private |
Definition at line 103 of file SWGLocalSourceSettings.h.
Referenced by asJsonObject(), fromJsonObject(), getReverseApiDeviceIndex(), init(), setReverseApiDeviceIndex(), and SWGLocalSourceSettings().
|
private |
Definition at line 100 of file SWGLocalSourceSettings.h.
Referenced by asJsonObject(), fromJsonObject(), getReverseApiPort(), init(), setReverseApiPort(), and SWGLocalSourceSettings().
|
private |
Definition at line 82 of file SWGLocalSourceSettings.h.
Referenced by asJsonObject(), fromJsonObject(), getRgbColor(), init(), setRgbColor(), and SWGLocalSourceSettings().
|
private |
Definition at line 85 of file SWGLocalSourceSettings.h.
Referenced by asJsonObject(), cleanup(), fromJsonObject(), getTitle(), init(), isSet(), setTitle(), and SWGLocalSourceSettings().
|
private |
Definition at line 94 of file SWGLocalSourceSettings.h.
Referenced by asJsonObject(), fromJsonObject(), getUseReverseApi(), init(), setUseReverseApi(), and SWGLocalSourceSettings().