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 <SWGFileSourceSettings.h>
Private Attributes | |
QString * | file_name |
bool | m_file_name_isSet |
qint32 | loop |
bool | m_loop_isSet |
qint32 | log2_interp |
bool | m_log2_interp_isSet |
qint32 | filter_chain_hash |
bool | m_filter_chain_hash_isSet |
qint32 | gain_db |
bool | m_gain_db_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 SWGFileSourceSettings.h.
SWGSDRangel::SWGFileSourceSettings::SWGFileSourceSettings | ( | ) |
Definition at line 30 of file SWGFileSourceSettings.cpp.
References file_name, filter_chain_hash, gain_db, log2_interp, loop, m_file_name_isSet, m_filter_chain_hash_isSet, m_gain_db_isSet, m_log2_interp_isSet, m_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_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::SWGFileSourceSettings::SWGFileSourceSettings | ( | QString * | json | ) |
Definition at line 25 of file SWGFileSourceSettings.cpp.
References fromJson(), and init().
|
virtual |
Definition at line 57 of file SWGFileSourceSettings.cpp.
References cleanup().
|
overridevirtual |
Reimplemented from SWGSDRangel::SWGObject.
Definition at line 149 of file SWGFileSourceSettings.cpp.
References asJsonObject().
|
overridevirtual |
Reimplemented from SWGSDRangel::SWGObject.
Definition at line 160 of file SWGFileSourceSettings.cpp.
References file_name, filter_chain_hash, gain_db, log2_interp, loop, m_filter_chain_hash_isSet, m_gain_db_isSet, m_log2_interp_isSet, m_loop_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::SWGFileSourceSettings::cleanup | ( | ) |
Definition at line 90 of file SWGFileSourceSettings.cpp.
References file_name, reverse_api_address, and title.
Referenced by ~SWGFileSourceSettings().
|
overridevirtual |
Reimplemented from SWGSDRangel::SWGObject.
Definition at line 112 of file SWGFileSourceSettings.cpp.
References fromJsonObject().
Referenced by SWGFileSourceSettings().
|
overridevirtual |
Reimplemented from SWGSDRangel::SWGObject.
Definition at line 121 of file SWGFileSourceSettings.cpp.
References file_name, filter_chain_hash, gain_db, log2_interp, loop, 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().
QString * SWGSDRangel::SWGFileSourceSettings::getFileName | ( | ) |
Definition at line 203 of file SWGFileSourceSettings.cpp.
References file_name.
qint32 SWGSDRangel::SWGFileSourceSettings::getFilterChainHash | ( | ) |
Definition at line 233 of file SWGFileSourceSettings.cpp.
References filter_chain_hash.
Referenced by FileSource::webapiSettingsPutPatch().
qint32 SWGSDRangel::SWGFileSourceSettings::getGainDb | ( | ) |
Definition at line 243 of file SWGFileSourceSettings.cpp.
References gain_db.
Referenced by FileSource::webapiSettingsPutPatch().
qint32 SWGSDRangel::SWGFileSourceSettings::getLog2Interp | ( | ) |
Definition at line 223 of file SWGFileSourceSettings.cpp.
References log2_interp.
Referenced by FileSource::webapiSettingsPutPatch().
qint32 SWGSDRangel::SWGFileSourceSettings::getLoop | ( | ) |
QString * SWGSDRangel::SWGFileSourceSettings::getReverseApiAddress | ( | ) |
Definition at line 283 of file SWGFileSourceSettings.cpp.
References reverse_api_address.
Referenced by FileSource::webapiFormatChannelSettings(), and FileSource::webapiSettingsPutPatch().
qint32 SWGSDRangel::SWGFileSourceSettings::getReverseApiChannelIndex | ( | ) |
Definition at line 313 of file SWGFileSourceSettings.cpp.
References reverse_api_channel_index.
Referenced by FileSource::webapiSettingsPutPatch().
qint32 SWGSDRangel::SWGFileSourceSettings::getReverseApiDeviceIndex | ( | ) |
Definition at line 303 of file SWGFileSourceSettings.cpp.
References reverse_api_device_index.
Referenced by FileSource::webapiSettingsPutPatch().
qint32 SWGSDRangel::SWGFileSourceSettings::getReverseApiPort | ( | ) |
Definition at line 293 of file SWGFileSourceSettings.cpp.
References reverse_api_port.
Referenced by FileSource::webapiSettingsPutPatch().
qint32 SWGSDRangel::SWGFileSourceSettings::getRgbColor | ( | ) |
Definition at line 253 of file SWGFileSourceSettings.cpp.
References rgb_color.
Referenced by FileSource::webapiSettingsPutPatch().
QString * SWGSDRangel::SWGFileSourceSettings::getTitle | ( | ) |
Definition at line 263 of file SWGFileSourceSettings.cpp.
References title.
Referenced by FileSource::webapiFormatChannelSettings(), and FileSource::webapiSettingsPutPatch().
qint32 SWGSDRangel::SWGFileSourceSettings::getUseReverseApi | ( | ) |
Definition at line 273 of file SWGFileSourceSettings.cpp.
References use_reverse_api.
Referenced by FileSource::webapiSettingsPutPatch().
void SWGSDRangel::SWGFileSourceSettings::init | ( | ) |
Definition at line 62 of file SWGFileSourceSettings.cpp.
References file_name, filter_chain_hash, gain_db, log2_interp, loop, m_file_name_isSet, m_filter_chain_hash_isSet, m_gain_db_isSet, m_log2_interp_isSet, m_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_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 SWGFileSourceSettings(), and FileSource::webapiSettingsGet().
|
overridevirtual |
Reimplemented from SWGSDRangel::SWGObject.
Definition at line 324 of file SWGFileSourceSettings.cpp.
References file_name, m_filter_chain_hash_isSet, m_gain_db_isSet, m_log2_interp_isSet, m_loop_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::SWGFileSourceSettings::setFileName | ( | QString * | file_name | ) |
Definition at line 207 of file SWGFileSourceSettings.cpp.
References file_name, and m_file_name_isSet.
void SWGSDRangel::SWGFileSourceSettings::setFilterChainHash | ( | qint32 | filter_chain_hash | ) |
Definition at line 237 of file SWGFileSourceSettings.cpp.
References filter_chain_hash, and m_filter_chain_hash_isSet.
Referenced by FileSource::webapiFormatChannelSettings(), and FileSource::webapiReverseSendSettings().
void SWGSDRangel::SWGFileSourceSettings::setGainDb | ( | qint32 | gain_db | ) |
Definition at line 247 of file SWGFileSourceSettings.cpp.
References gain_db, and m_gain_db_isSet.
Referenced by FileSource::webapiFormatChannelSettings(), and FileSource::webapiReverseSendSettings().
void SWGSDRangel::SWGFileSourceSettings::setLog2Interp | ( | qint32 | log2_interp | ) |
Definition at line 227 of file SWGFileSourceSettings.cpp.
References log2_interp, and m_log2_interp_isSet.
Referenced by FileSource::webapiFormatChannelSettings(), and FileSource::webapiReverseSendSettings().
void SWGSDRangel::SWGFileSourceSettings::setLoop | ( | qint32 | loop | ) |
Definition at line 217 of file SWGFileSourceSettings.cpp.
References loop, and m_loop_isSet.
void SWGSDRangel::SWGFileSourceSettings::setReverseApiAddress | ( | QString * | reverse_api_address | ) |
Definition at line 287 of file SWGFileSourceSettings.cpp.
References m_reverse_api_address_isSet, and reverse_api_address.
Referenced by FileSource::webapiFormatChannelSettings().
void SWGSDRangel::SWGFileSourceSettings::setReverseApiChannelIndex | ( | qint32 | reverse_api_channel_index | ) |
Definition at line 317 of file SWGFileSourceSettings.cpp.
References m_reverse_api_channel_index_isSet, and reverse_api_channel_index.
Referenced by FileSource::webapiFormatChannelSettings().
void SWGSDRangel::SWGFileSourceSettings::setReverseApiDeviceIndex | ( | qint32 | reverse_api_device_index | ) |
Definition at line 307 of file SWGFileSourceSettings.cpp.
References m_reverse_api_device_index_isSet, and reverse_api_device_index.
Referenced by FileSource::webapiFormatChannelSettings().
void SWGSDRangel::SWGFileSourceSettings::setReverseApiPort | ( | qint32 | reverse_api_port | ) |
Definition at line 297 of file SWGFileSourceSettings.cpp.
References m_reverse_api_port_isSet, and reverse_api_port.
Referenced by FileSource::webapiFormatChannelSettings().
void SWGSDRangel::SWGFileSourceSettings::setRgbColor | ( | qint32 | rgb_color | ) |
Definition at line 257 of file SWGFileSourceSettings.cpp.
References m_rgb_color_isSet, and rgb_color.
Referenced by FileSource::webapiFormatChannelSettings(), and FileSource::webapiReverseSendSettings().
void SWGSDRangel::SWGFileSourceSettings::setTitle | ( | QString * | title | ) |
Definition at line 267 of file SWGFileSourceSettings.cpp.
References m_title_isSet, and title.
Referenced by FileSource::webapiFormatChannelSettings(), and FileSource::webapiReverseSendSettings().
void SWGSDRangel::SWGFileSourceSettings::setUseReverseApi | ( | qint32 | use_reverse_api | ) |
Definition at line 277 of file SWGFileSourceSettings.cpp.
References m_use_reverse_api_isSet, and use_reverse_api.
Referenced by FileSource::webapiFormatChannelSettings().
|
private |
Definition at line 85 of file SWGFileSourceSettings.h.
Referenced by asJsonObject(), cleanup(), fromJsonObject(), getFileName(), init(), isSet(), setFileName(), and SWGFileSourceSettings().
|
private |
Definition at line 94 of file SWGFileSourceSettings.h.
Referenced by asJsonObject(), fromJsonObject(), getFilterChainHash(), init(), setFilterChainHash(), and SWGFileSourceSettings().
|
private |
Definition at line 97 of file SWGFileSourceSettings.h.
Referenced by asJsonObject(), fromJsonObject(), getGainDb(), init(), setGainDb(), and SWGFileSourceSettings().
|
private |
Definition at line 91 of file SWGFileSourceSettings.h.
Referenced by asJsonObject(), fromJsonObject(), getLog2Interp(), init(), setLog2Interp(), and SWGFileSourceSettings().
|
private |
Definition at line 88 of file SWGFileSourceSettings.h.
Referenced by asJsonObject(), fromJsonObject(), getLoop(), init(), setLoop(), and SWGFileSourceSettings().
|
private |
Definition at line 86 of file SWGFileSourceSettings.h.
Referenced by init(), setFileName(), and SWGFileSourceSettings().
|
private |
Definition at line 95 of file SWGFileSourceSettings.h.
Referenced by asJsonObject(), init(), isSet(), setFilterChainHash(), and SWGFileSourceSettings().
|
private |
Definition at line 98 of file SWGFileSourceSettings.h.
Referenced by asJsonObject(), init(), isSet(), setGainDb(), and SWGFileSourceSettings().
|
private |
Definition at line 92 of file SWGFileSourceSettings.h.
Referenced by asJsonObject(), init(), isSet(), setLog2Interp(), and SWGFileSourceSettings().
|
private |
Definition at line 89 of file SWGFileSourceSettings.h.
Referenced by asJsonObject(), init(), isSet(), setLoop(), and SWGFileSourceSettings().
|
private |
Definition at line 110 of file SWGFileSourceSettings.h.
Referenced by init(), setReverseApiAddress(), and SWGFileSourceSettings().
|
private |
Definition at line 119 of file SWGFileSourceSettings.h.
Referenced by asJsonObject(), init(), isSet(), setReverseApiChannelIndex(), and SWGFileSourceSettings().
|
private |
Definition at line 116 of file SWGFileSourceSettings.h.
Referenced by asJsonObject(), init(), isSet(), setReverseApiDeviceIndex(), and SWGFileSourceSettings().
|
private |
Definition at line 113 of file SWGFileSourceSettings.h.
Referenced by asJsonObject(), init(), isSet(), setReverseApiPort(), and SWGFileSourceSettings().
|
private |
Definition at line 101 of file SWGFileSourceSettings.h.
Referenced by asJsonObject(), init(), isSet(), setRgbColor(), and SWGFileSourceSettings().
|
private |
Definition at line 104 of file SWGFileSourceSettings.h.
Referenced by init(), setTitle(), and SWGFileSourceSettings().
|
private |
Definition at line 107 of file SWGFileSourceSettings.h.
Referenced by asJsonObject(), init(), isSet(), setUseReverseApi(), and SWGFileSourceSettings().
|
private |
Definition at line 109 of file SWGFileSourceSettings.h.
Referenced by asJsonObject(), cleanup(), fromJsonObject(), getReverseApiAddress(), init(), isSet(), setReverseApiAddress(), and SWGFileSourceSettings().
|
private |
Definition at line 118 of file SWGFileSourceSettings.h.
Referenced by asJsonObject(), fromJsonObject(), getReverseApiChannelIndex(), init(), setReverseApiChannelIndex(), and SWGFileSourceSettings().
|
private |
Definition at line 115 of file SWGFileSourceSettings.h.
Referenced by asJsonObject(), fromJsonObject(), getReverseApiDeviceIndex(), init(), setReverseApiDeviceIndex(), and SWGFileSourceSettings().
|
private |
Definition at line 112 of file SWGFileSourceSettings.h.
Referenced by asJsonObject(), fromJsonObject(), getReverseApiPort(), init(), setReverseApiPort(), and SWGFileSourceSettings().
|
private |
Definition at line 100 of file SWGFileSourceSettings.h.
Referenced by asJsonObject(), fromJsonObject(), getRgbColor(), init(), setRgbColor(), and SWGFileSourceSettings().
|
private |
Definition at line 103 of file SWGFileSourceSettings.h.
Referenced by asJsonObject(), cleanup(), fromJsonObject(), getTitle(), init(), isSet(), setTitle(), and SWGFileSourceSettings().
|
private |
Definition at line 106 of file SWGFileSourceSettings.h.
Referenced by asJsonObject(), fromJsonObject(), getUseReverseApi(), init(), setUseReverseApi(), and SWGFileSourceSettings().