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 <SWGRemoteSinkSettings.h>
Private Attributes | |
qint32 | nb_fec_blocks |
bool | m_nb_fec_blocks_isSet |
QString * | data_address |
bool | m_data_address_isSet |
qint32 | data_port |
bool | m_data_port_isSet |
qint32 | tx_delay |
bool | m_tx_delay_isSet |
qint32 | rgb_color |
bool | m_rgb_color_isSet |
QString * | title |
bool | m_title_isSet |
qint32 | log2_decim |
bool | m_log2_decim_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 SWGRemoteSinkSettings.h.
SWGSDRangel::SWGRemoteSinkSettings::SWGRemoteSinkSettings | ( | ) |
Definition at line 30 of file SWGRemoteSinkSettings.cpp.
References data_address, data_port, filter_chain_hash, log2_decim, m_data_address_isSet, m_data_port_isSet, m_filter_chain_hash_isSet, m_log2_decim_isSet, m_nb_fec_blocks_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_tx_delay_isSet, m_use_reverse_api_isSet, nb_fec_blocks, reverse_api_address, reverse_api_channel_index, reverse_api_device_index, reverse_api_port, rgb_color, title, tx_delay, and use_reverse_api.
SWGSDRangel::SWGRemoteSinkSettings::SWGRemoteSinkSettings | ( | QString * | json | ) |
Definition at line 25 of file SWGRemoteSinkSettings.cpp.
References fromJson(), and init().
|
virtual |
Definition at line 59 of file SWGRemoteSinkSettings.cpp.
References cleanup().
|
overridevirtual |
Reimplemented from SWGSDRangel::SWGObject.
Definition at line 156 of file SWGRemoteSinkSettings.cpp.
References asJsonObject().
|
overridevirtual |
Reimplemented from SWGSDRangel::SWGObject.
Definition at line 167 of file SWGRemoteSinkSettings.cpp.
References data_address, data_port, filter_chain_hash, log2_decim, m_data_port_isSet, m_filter_chain_hash_isSet, m_log2_decim_isSet, m_nb_fec_blocks_isSet, m_reverse_api_channel_index_isSet, m_reverse_api_device_index_isSet, m_reverse_api_port_isSet, m_rgb_color_isSet, m_tx_delay_isSet, m_use_reverse_api_isSet, nb_fec_blocks, reverse_api_address, reverse_api_channel_index, reverse_api_device_index, reverse_api_port, rgb_color, title, SWGSDRangel::toJsonValue(), tx_delay, and use_reverse_api.
Referenced by asJson().
void SWGSDRangel::SWGRemoteSinkSettings::cleanup | ( | ) |
Definition at line 94 of file SWGRemoteSinkSettings.cpp.
References data_address, reverse_api_address, and title.
Referenced by ~SWGRemoteSinkSettings().
|
overridevirtual |
Reimplemented from SWGSDRangel::SWGObject.
Definition at line 117 of file SWGRemoteSinkSettings.cpp.
References fromJsonObject().
Referenced by SWGRemoteSinkSettings().
|
overridevirtual |
Reimplemented from SWGSDRangel::SWGObject.
Definition at line 126 of file SWGRemoteSinkSettings.cpp.
References data_address, data_port, filter_chain_hash, log2_decim, nb_fec_blocks, reverse_api_address, reverse_api_channel_index, reverse_api_device_index, reverse_api_port, rgb_color, SWGSDRangel::setValue(), title, tx_delay, and use_reverse_api.
Referenced by fromJson(), and WebAPIRequestMapper::validateChannelSettings().
QString * SWGSDRangel::SWGRemoteSinkSettings::getDataAddress | ( | ) |
Definition at line 223 of file SWGRemoteSinkSettings.cpp.
References data_address.
Referenced by RemoteSink::webapiFormatChannelSettings(), and RemoteSink::webapiSettingsPutPatch().
qint32 SWGSDRangel::SWGRemoteSinkSettings::getDataPort | ( | ) |
Definition at line 233 of file SWGRemoteSinkSettings.cpp.
References data_port.
Referenced by RemoteSink::webapiSettingsPutPatch().
qint32 SWGSDRangel::SWGRemoteSinkSettings::getFilterChainHash | ( | ) |
Definition at line 283 of file SWGRemoteSinkSettings.cpp.
References filter_chain_hash.
Referenced by RemoteSink::webapiSettingsPutPatch().
qint32 SWGSDRangel::SWGRemoteSinkSettings::getLog2Decim | ( | ) |
Definition at line 273 of file SWGRemoteSinkSettings.cpp.
References log2_decim.
Referenced by RemoteSink::webapiSettingsPutPatch().
qint32 SWGSDRangel::SWGRemoteSinkSettings::getNbFecBlocks | ( | ) |
Definition at line 213 of file SWGRemoteSinkSettings.cpp.
References nb_fec_blocks.
Referenced by RemoteSink::webapiSettingsPutPatch().
QString * SWGSDRangel::SWGRemoteSinkSettings::getReverseApiAddress | ( | ) |
Definition at line 303 of file SWGRemoteSinkSettings.cpp.
References reverse_api_address.
Referenced by RemoteSink::webapiFormatChannelSettings(), and RemoteSink::webapiSettingsPutPatch().
qint32 SWGSDRangel::SWGRemoteSinkSettings::getReverseApiChannelIndex | ( | ) |
Definition at line 333 of file SWGRemoteSinkSettings.cpp.
References reverse_api_channel_index.
Referenced by RemoteSink::webapiSettingsPutPatch().
qint32 SWGSDRangel::SWGRemoteSinkSettings::getReverseApiDeviceIndex | ( | ) |
Definition at line 323 of file SWGRemoteSinkSettings.cpp.
References reverse_api_device_index.
Referenced by RemoteSink::webapiSettingsPutPatch().
qint32 SWGSDRangel::SWGRemoteSinkSettings::getReverseApiPort | ( | ) |
Definition at line 313 of file SWGRemoteSinkSettings.cpp.
References reverse_api_port.
Referenced by RemoteSink::webapiSettingsPutPatch().
qint32 SWGSDRangel::SWGRemoteSinkSettings::getRgbColor | ( | ) |
Definition at line 253 of file SWGRemoteSinkSettings.cpp.
References rgb_color.
Referenced by RemoteSink::webapiSettingsPutPatch().
QString * SWGSDRangel::SWGRemoteSinkSettings::getTitle | ( | ) |
Definition at line 263 of file SWGRemoteSinkSettings.cpp.
References title.
Referenced by RemoteSink::webapiFormatChannelSettings(), and RemoteSink::webapiSettingsPutPatch().
qint32 SWGSDRangel::SWGRemoteSinkSettings::getTxDelay | ( | ) |
Definition at line 243 of file SWGRemoteSinkSettings.cpp.
References tx_delay.
Referenced by RemoteSink::webapiSettingsPutPatch().
qint32 SWGSDRangel::SWGRemoteSinkSettings::getUseReverseApi | ( | ) |
Definition at line 293 of file SWGRemoteSinkSettings.cpp.
References use_reverse_api.
Referenced by RemoteSink::webapiSettingsPutPatch().
void SWGSDRangel::SWGRemoteSinkSettings::init | ( | ) |
Definition at line 64 of file SWGRemoteSinkSettings.cpp.
References data_address, data_port, filter_chain_hash, log2_decim, m_data_address_isSet, m_data_port_isSet, m_filter_chain_hash_isSet, m_log2_decim_isSet, m_nb_fec_blocks_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_tx_delay_isSet, m_use_reverse_api_isSet, nb_fec_blocks, reverse_api_address, reverse_api_channel_index, reverse_api_device_index, reverse_api_port, rgb_color, title, tx_delay, and use_reverse_api.
Referenced by SWGRemoteSinkSettings(), and RemoteSink::webapiSettingsGet().
|
overridevirtual |
Reimplemented from SWGSDRangel::SWGObject.
Definition at line 344 of file SWGRemoteSinkSettings.cpp.
References data_address, m_data_port_isSet, m_filter_chain_hash_isSet, m_log2_decim_isSet, m_nb_fec_blocks_isSet, m_reverse_api_channel_index_isSet, m_reverse_api_device_index_isSet, m_reverse_api_port_isSet, m_rgb_color_isSet, m_tx_delay_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::SWGRemoteSinkSettings::setDataAddress | ( | QString * | data_address | ) |
Definition at line 227 of file SWGRemoteSinkSettings.cpp.
References data_address, and m_data_address_isSet.
Referenced by RemoteSink::webapiFormatChannelSettings(), and RemoteSink::webapiReverseSendSettings().
void SWGSDRangel::SWGRemoteSinkSettings::setDataPort | ( | qint32 | data_port | ) |
Definition at line 237 of file SWGRemoteSinkSettings.cpp.
References data_port, and m_data_port_isSet.
Referenced by RemoteSink::webapiFormatChannelSettings(), and RemoteSink::webapiReverseSendSettings().
void SWGSDRangel::SWGRemoteSinkSettings::setFilterChainHash | ( | qint32 | filter_chain_hash | ) |
Definition at line 287 of file SWGRemoteSinkSettings.cpp.
References filter_chain_hash, and m_filter_chain_hash_isSet.
Referenced by RemoteSink::webapiFormatChannelSettings(), and RemoteSink::webapiReverseSendSettings().
void SWGSDRangel::SWGRemoteSinkSettings::setLog2Decim | ( | qint32 | log2_decim | ) |
Definition at line 277 of file SWGRemoteSinkSettings.cpp.
References log2_decim, and m_log2_decim_isSet.
Referenced by RemoteSink::webapiFormatChannelSettings(), and RemoteSink::webapiReverseSendSettings().
void SWGSDRangel::SWGRemoteSinkSettings::setNbFecBlocks | ( | qint32 | nb_fec_blocks | ) |
Definition at line 217 of file SWGRemoteSinkSettings.cpp.
References m_nb_fec_blocks_isSet, and nb_fec_blocks.
Referenced by RemoteSink::webapiFormatChannelSettings(), and RemoteSink::webapiReverseSendSettings().
void SWGSDRangel::SWGRemoteSinkSettings::setReverseApiAddress | ( | QString * | reverse_api_address | ) |
Definition at line 307 of file SWGRemoteSinkSettings.cpp.
References m_reverse_api_address_isSet, and reverse_api_address.
Referenced by RemoteSink::webapiFormatChannelSettings().
void SWGSDRangel::SWGRemoteSinkSettings::setReverseApiChannelIndex | ( | qint32 | reverse_api_channel_index | ) |
Definition at line 337 of file SWGRemoteSinkSettings.cpp.
References m_reverse_api_channel_index_isSet, and reverse_api_channel_index.
Referenced by RemoteSink::webapiFormatChannelSettings().
void SWGSDRangel::SWGRemoteSinkSettings::setReverseApiDeviceIndex | ( | qint32 | reverse_api_device_index | ) |
Definition at line 327 of file SWGRemoteSinkSettings.cpp.
References m_reverse_api_device_index_isSet, and reverse_api_device_index.
Referenced by RemoteSink::webapiFormatChannelSettings().
void SWGSDRangel::SWGRemoteSinkSettings::setReverseApiPort | ( | qint32 | reverse_api_port | ) |
Definition at line 317 of file SWGRemoteSinkSettings.cpp.
References m_reverse_api_port_isSet, and reverse_api_port.
Referenced by RemoteSink::webapiFormatChannelSettings().
void SWGSDRangel::SWGRemoteSinkSettings::setRgbColor | ( | qint32 | rgb_color | ) |
Definition at line 257 of file SWGRemoteSinkSettings.cpp.
References m_rgb_color_isSet, and rgb_color.
Referenced by RemoteSink::webapiFormatChannelSettings(), and RemoteSink::webapiReverseSendSettings().
void SWGSDRangel::SWGRemoteSinkSettings::setTitle | ( | QString * | title | ) |
Definition at line 267 of file SWGRemoteSinkSettings.cpp.
References m_title_isSet, and title.
Referenced by RemoteSink::webapiFormatChannelSettings(), and RemoteSink::webapiReverseSendSettings().
void SWGSDRangel::SWGRemoteSinkSettings::setTxDelay | ( | qint32 | tx_delay | ) |
Definition at line 247 of file SWGRemoteSinkSettings.cpp.
References m_tx_delay_isSet, and tx_delay.
Referenced by RemoteSink::webapiFormatChannelSettings(), and RemoteSink::webapiReverseSendSettings().
void SWGSDRangel::SWGRemoteSinkSettings::setUseReverseApi | ( | qint32 | use_reverse_api | ) |
Definition at line 297 of file SWGRemoteSinkSettings.cpp.
References m_use_reverse_api_isSet, and use_reverse_api.
Referenced by RemoteSink::webapiFormatChannelSettings().
|
private |
Definition at line 91 of file SWGRemoteSinkSettings.h.
Referenced by asJsonObject(), cleanup(), fromJsonObject(), getDataAddress(), init(), isSet(), setDataAddress(), and SWGRemoteSinkSettings().
|
private |
Definition at line 94 of file SWGRemoteSinkSettings.h.
Referenced by asJsonObject(), fromJsonObject(), getDataPort(), init(), setDataPort(), and SWGRemoteSinkSettings().
|
private |
Definition at line 109 of file SWGRemoteSinkSettings.h.
Referenced by asJsonObject(), fromJsonObject(), getFilterChainHash(), init(), setFilterChainHash(), and SWGRemoteSinkSettings().
|
private |
Definition at line 106 of file SWGRemoteSinkSettings.h.
Referenced by asJsonObject(), fromJsonObject(), getLog2Decim(), init(), setLog2Decim(), and SWGRemoteSinkSettings().
|
private |
Definition at line 92 of file SWGRemoteSinkSettings.h.
Referenced by init(), setDataAddress(), and SWGRemoteSinkSettings().
|
private |
Definition at line 95 of file SWGRemoteSinkSettings.h.
Referenced by asJsonObject(), init(), isSet(), setDataPort(), and SWGRemoteSinkSettings().
|
private |
Definition at line 110 of file SWGRemoteSinkSettings.h.
Referenced by asJsonObject(), init(), isSet(), setFilterChainHash(), and SWGRemoteSinkSettings().
|
private |
Definition at line 107 of file SWGRemoteSinkSettings.h.
Referenced by asJsonObject(), init(), isSet(), setLog2Decim(), and SWGRemoteSinkSettings().
|
private |
Definition at line 89 of file SWGRemoteSinkSettings.h.
Referenced by asJsonObject(), init(), isSet(), setNbFecBlocks(), and SWGRemoteSinkSettings().
|
private |
Definition at line 116 of file SWGRemoteSinkSettings.h.
Referenced by init(), setReverseApiAddress(), and SWGRemoteSinkSettings().
|
private |
Definition at line 125 of file SWGRemoteSinkSettings.h.
Referenced by asJsonObject(), init(), isSet(), setReverseApiChannelIndex(), and SWGRemoteSinkSettings().
|
private |
Definition at line 122 of file SWGRemoteSinkSettings.h.
Referenced by asJsonObject(), init(), isSet(), setReverseApiDeviceIndex(), and SWGRemoteSinkSettings().
|
private |
Definition at line 119 of file SWGRemoteSinkSettings.h.
Referenced by asJsonObject(), init(), isSet(), setReverseApiPort(), and SWGRemoteSinkSettings().
|
private |
Definition at line 101 of file SWGRemoteSinkSettings.h.
Referenced by asJsonObject(), init(), isSet(), setRgbColor(), and SWGRemoteSinkSettings().
|
private |
Definition at line 104 of file SWGRemoteSinkSettings.h.
Referenced by init(), setTitle(), and SWGRemoteSinkSettings().
|
private |
Definition at line 98 of file SWGRemoteSinkSettings.h.
Referenced by asJsonObject(), init(), isSet(), setTxDelay(), and SWGRemoteSinkSettings().
|
private |
Definition at line 113 of file SWGRemoteSinkSettings.h.
Referenced by asJsonObject(), init(), isSet(), setUseReverseApi(), and SWGRemoteSinkSettings().
|
private |
Definition at line 88 of file SWGRemoteSinkSettings.h.
Referenced by asJsonObject(), fromJsonObject(), getNbFecBlocks(), init(), setNbFecBlocks(), and SWGRemoteSinkSettings().
|
private |
Definition at line 115 of file SWGRemoteSinkSettings.h.
Referenced by asJsonObject(), cleanup(), fromJsonObject(), getReverseApiAddress(), init(), isSet(), setReverseApiAddress(), and SWGRemoteSinkSettings().
|
private |
Definition at line 124 of file SWGRemoteSinkSettings.h.
Referenced by asJsonObject(), fromJsonObject(), getReverseApiChannelIndex(), init(), setReverseApiChannelIndex(), and SWGRemoteSinkSettings().
|
private |
Definition at line 121 of file SWGRemoteSinkSettings.h.
Referenced by asJsonObject(), fromJsonObject(), getReverseApiDeviceIndex(), init(), setReverseApiDeviceIndex(), and SWGRemoteSinkSettings().
|
private |
Definition at line 118 of file SWGRemoteSinkSettings.h.
Referenced by asJsonObject(), fromJsonObject(), getReverseApiPort(), init(), setReverseApiPort(), and SWGRemoteSinkSettings().
|
private |
Definition at line 100 of file SWGRemoteSinkSettings.h.
Referenced by asJsonObject(), fromJsonObject(), getRgbColor(), init(), setRgbColor(), and SWGRemoteSinkSettings().
|
private |
Definition at line 103 of file SWGRemoteSinkSettings.h.
Referenced by asJsonObject(), cleanup(), fromJsonObject(), getTitle(), init(), isSet(), setTitle(), and SWGRemoteSinkSettings().
|
private |
Definition at line 97 of file SWGRemoteSinkSettings.h.
Referenced by asJsonObject(), fromJsonObject(), getTxDelay(), init(), setTxDelay(), and SWGRemoteSinkSettings().
|
private |
Definition at line 112 of file SWGRemoteSinkSettings.h.
Referenced by asJsonObject(), fromJsonObject(), getUseReverseApi(), init(), setUseReverseApi(), and SWGRemoteSinkSettings().