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 <SWGRemoteSourceSettings.h>
Private Attributes | |
QString * | data_address |
bool | m_data_address_isSet |
qint32 | data_port |
bool | m_data_port_isSet |
qint32 | rgb_color |
bool | m_rgb_color_isSet |
QString * | title |
bool | m_title_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 SWGRemoteSourceSettings.h.
SWGSDRangel::SWGRemoteSourceSettings::SWGRemoteSourceSettings | ( | ) |
Definition at line 30 of file SWGRemoteSourceSettings.cpp.
References data_address, data_port, m_data_address_isSet, m_data_port_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::SWGRemoteSourceSettings::SWGRemoteSourceSettings | ( | QString * | json | ) |
Definition at line 25 of file SWGRemoteSourceSettings.cpp.
References fromJson(), and init().
|
virtual |
Definition at line 51 of file SWGRemoteSourceSettings.cpp.
References cleanup().
|
overridevirtual |
Reimplemented from SWGSDRangel::SWGObject.
Definition at line 128 of file SWGRemoteSourceSettings.cpp.
References asJsonObject().
|
overridevirtual |
Reimplemented from SWGSDRangel::SWGObject.
Definition at line 139 of file SWGRemoteSourceSettings.cpp.
References data_address, data_port, m_data_port_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::SWGRemoteSourceSettings::cleanup | ( | ) |
Definition at line 78 of file SWGRemoteSourceSettings.cpp.
References data_address, reverse_api_address, and title.
Referenced by ~SWGRemoteSourceSettings().
|
overridevirtual |
Reimplemented from SWGSDRangel::SWGObject.
Definition at line 97 of file SWGRemoteSourceSettings.cpp.
References fromJsonObject().
Referenced by SWGRemoteSourceSettings().
|
overridevirtual |
Reimplemented from SWGSDRangel::SWGObject.
Definition at line 106 of file SWGRemoteSourceSettings.cpp.
References data_address, data_port, 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().
QString * SWGSDRangel::SWGRemoteSourceSettings::getDataAddress | ( | ) |
Definition at line 173 of file SWGRemoteSourceSettings.cpp.
References data_address.
Referenced by RemoteSource::webapiFormatChannelSettings(), and RemoteSource::webapiSettingsPutPatch().
qint32 SWGSDRangel::SWGRemoteSourceSettings::getDataPort | ( | ) |
Definition at line 183 of file SWGRemoteSourceSettings.cpp.
References data_port.
Referenced by RemoteSource::webapiSettingsPutPatch().
QString * SWGSDRangel::SWGRemoteSourceSettings::getReverseApiAddress | ( | ) |
Definition at line 223 of file SWGRemoteSourceSettings.cpp.
References reverse_api_address.
Referenced by RemoteSource::webapiFormatChannelSettings(), and RemoteSource::webapiSettingsPutPatch().
qint32 SWGSDRangel::SWGRemoteSourceSettings::getReverseApiChannelIndex | ( | ) |
Definition at line 253 of file SWGRemoteSourceSettings.cpp.
References reverse_api_channel_index.
Referenced by RemoteSource::webapiSettingsPutPatch().
qint32 SWGSDRangel::SWGRemoteSourceSettings::getReverseApiDeviceIndex | ( | ) |
Definition at line 243 of file SWGRemoteSourceSettings.cpp.
References reverse_api_device_index.
Referenced by RemoteSource::webapiSettingsPutPatch().
qint32 SWGSDRangel::SWGRemoteSourceSettings::getReverseApiPort | ( | ) |
Definition at line 233 of file SWGRemoteSourceSettings.cpp.
References reverse_api_port.
Referenced by RemoteSource::webapiSettingsPutPatch().
qint32 SWGSDRangel::SWGRemoteSourceSettings::getRgbColor | ( | ) |
Definition at line 193 of file SWGRemoteSourceSettings.cpp.
References rgb_color.
Referenced by RemoteSource::webapiSettingsPutPatch().
QString * SWGSDRangel::SWGRemoteSourceSettings::getTitle | ( | ) |
Definition at line 203 of file SWGRemoteSourceSettings.cpp.
References title.
Referenced by RemoteSource::webapiFormatChannelSettings(), and RemoteSource::webapiSettingsPutPatch().
qint32 SWGSDRangel::SWGRemoteSourceSettings::getUseReverseApi | ( | ) |
Definition at line 213 of file SWGRemoteSourceSettings.cpp.
References use_reverse_api.
Referenced by RemoteSource::webapiSettingsPutPatch().
void SWGSDRangel::SWGRemoteSourceSettings::init | ( | ) |
Definition at line 56 of file SWGRemoteSourceSettings.cpp.
References data_address, data_port, m_data_address_isSet, m_data_port_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 SWGRemoteSourceSettings(), and RemoteSource::webapiSettingsGet().
|
overridevirtual |
Reimplemented from SWGSDRangel::SWGObject.
Definition at line 264 of file SWGRemoteSourceSettings.cpp.
References data_address, m_data_port_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::SWGRemoteSourceSettings::setDataAddress | ( | QString * | data_address | ) |
Definition at line 177 of file SWGRemoteSourceSettings.cpp.
References data_address, and m_data_address_isSet.
Referenced by RemoteSource::webapiFormatChannelSettings(), and RemoteSource::webapiReverseSendSettings().
void SWGSDRangel::SWGRemoteSourceSettings::setDataPort | ( | qint32 | data_port | ) |
Definition at line 187 of file SWGRemoteSourceSettings.cpp.
References data_port, and m_data_port_isSet.
Referenced by RemoteSource::webapiFormatChannelSettings(), and RemoteSource::webapiReverseSendSettings().
void SWGSDRangel::SWGRemoteSourceSettings::setReverseApiAddress | ( | QString * | reverse_api_address | ) |
Definition at line 227 of file SWGRemoteSourceSettings.cpp.
References m_reverse_api_address_isSet, and reverse_api_address.
Referenced by RemoteSource::webapiFormatChannelSettings().
void SWGSDRangel::SWGRemoteSourceSettings::setReverseApiChannelIndex | ( | qint32 | reverse_api_channel_index | ) |
Definition at line 257 of file SWGRemoteSourceSettings.cpp.
References m_reverse_api_channel_index_isSet, and reverse_api_channel_index.
Referenced by RemoteSource::webapiFormatChannelSettings().
void SWGSDRangel::SWGRemoteSourceSettings::setReverseApiDeviceIndex | ( | qint32 | reverse_api_device_index | ) |
Definition at line 247 of file SWGRemoteSourceSettings.cpp.
References m_reverse_api_device_index_isSet, and reverse_api_device_index.
Referenced by RemoteSource::webapiFormatChannelSettings().
void SWGSDRangel::SWGRemoteSourceSettings::setReverseApiPort | ( | qint32 | reverse_api_port | ) |
Definition at line 237 of file SWGRemoteSourceSettings.cpp.
References m_reverse_api_port_isSet, and reverse_api_port.
Referenced by RemoteSource::webapiFormatChannelSettings().
void SWGSDRangel::SWGRemoteSourceSettings::setRgbColor | ( | qint32 | rgb_color | ) |
Definition at line 197 of file SWGRemoteSourceSettings.cpp.
References m_rgb_color_isSet, and rgb_color.
Referenced by RemoteSource::webapiFormatChannelSettings(), and RemoteSource::webapiReverseSendSettings().
void SWGSDRangel::SWGRemoteSourceSettings::setTitle | ( | QString * | title | ) |
Definition at line 207 of file SWGRemoteSourceSettings.cpp.
References m_title_isSet, and title.
Referenced by RemoteSource::webapiFormatChannelSettings(), and RemoteSource::webapiReverseSendSettings().
void SWGSDRangel::SWGRemoteSourceSettings::setUseReverseApi | ( | qint32 | use_reverse_api | ) |
Definition at line 217 of file SWGRemoteSourceSettings.cpp.
References m_use_reverse_api_isSet, and use_reverse_api.
Referenced by RemoteSource::webapiFormatChannelSettings().
|
private |
Definition at line 76 of file SWGRemoteSourceSettings.h.
Referenced by asJsonObject(), cleanup(), fromJsonObject(), getDataAddress(), init(), isSet(), setDataAddress(), and SWGRemoteSourceSettings().
|
private |
Definition at line 79 of file SWGRemoteSourceSettings.h.
Referenced by asJsonObject(), fromJsonObject(), getDataPort(), init(), setDataPort(), and SWGRemoteSourceSettings().
|
private |
Definition at line 77 of file SWGRemoteSourceSettings.h.
Referenced by init(), setDataAddress(), and SWGRemoteSourceSettings().
|
private |
Definition at line 80 of file SWGRemoteSourceSettings.h.
Referenced by asJsonObject(), init(), isSet(), setDataPort(), and SWGRemoteSourceSettings().
|
private |
Definition at line 92 of file SWGRemoteSourceSettings.h.
Referenced by init(), setReverseApiAddress(), and SWGRemoteSourceSettings().
|
private |
Definition at line 101 of file SWGRemoteSourceSettings.h.
Referenced by asJsonObject(), init(), isSet(), setReverseApiChannelIndex(), and SWGRemoteSourceSettings().
|
private |
Definition at line 98 of file SWGRemoteSourceSettings.h.
Referenced by asJsonObject(), init(), isSet(), setReverseApiDeviceIndex(), and SWGRemoteSourceSettings().
|
private |
Definition at line 95 of file SWGRemoteSourceSettings.h.
Referenced by asJsonObject(), init(), isSet(), setReverseApiPort(), and SWGRemoteSourceSettings().
|
private |
Definition at line 83 of file SWGRemoteSourceSettings.h.
Referenced by asJsonObject(), init(), isSet(), setRgbColor(), and SWGRemoteSourceSettings().
|
private |
Definition at line 86 of file SWGRemoteSourceSettings.h.
Referenced by init(), setTitle(), and SWGRemoteSourceSettings().
|
private |
Definition at line 89 of file SWGRemoteSourceSettings.h.
Referenced by asJsonObject(), init(), isSet(), setUseReverseApi(), and SWGRemoteSourceSettings().
|
private |
Definition at line 91 of file SWGRemoteSourceSettings.h.
Referenced by asJsonObject(), cleanup(), fromJsonObject(), getReverseApiAddress(), init(), isSet(), setReverseApiAddress(), and SWGRemoteSourceSettings().
|
private |
Definition at line 100 of file SWGRemoteSourceSettings.h.
Referenced by asJsonObject(), fromJsonObject(), getReverseApiChannelIndex(), init(), setReverseApiChannelIndex(), and SWGRemoteSourceSettings().
|
private |
Definition at line 97 of file SWGRemoteSourceSettings.h.
Referenced by asJsonObject(), fromJsonObject(), getReverseApiDeviceIndex(), init(), setReverseApiDeviceIndex(), and SWGRemoteSourceSettings().
|
private |
Definition at line 94 of file SWGRemoteSourceSettings.h.
Referenced by asJsonObject(), fromJsonObject(), getReverseApiPort(), init(), setReverseApiPort(), and SWGRemoteSourceSettings().
|
private |
Definition at line 82 of file SWGRemoteSourceSettings.h.
Referenced by asJsonObject(), fromJsonObject(), getRgbColor(), init(), setRgbColor(), and SWGRemoteSourceSettings().
|
private |
Definition at line 85 of file SWGRemoteSourceSettings.h.
Referenced by asJsonObject(), cleanup(), fromJsonObject(), getTitle(), init(), isSet(), setTitle(), and SWGRemoteSourceSettings().
|
private |
Definition at line 88 of file SWGRemoteSourceSettings.h.
Referenced by asJsonObject(), fromJsonObject(), getUseReverseApi(), init(), setUseReverseApi(), and SWGRemoteSourceSettings().