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 <SWGRemoteOutputSettings.h>
Private Attributes | |
qint32 | center_frequency |
bool | m_center_frequency_isSet |
qint32 | sample_rate |
bool | m_sample_rate_isSet |
float | tx_delay |
bool | m_tx_delay_isSet |
qint32 | nb_fec_blocks |
bool | m_nb_fec_blocks_isSet |
QString * | api_address |
bool | m_api_address_isSet |
qint32 | api_port |
bool | m_api_port_isSet |
QString * | data_address |
bool | m_data_address_isSet |
qint32 | data_port |
bool | m_data_port_isSet |
qint32 | device_index |
bool | m_device_index_isSet |
qint32 | channel_index |
bool | m_channel_index_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 |
Definition at line 32 of file SWGRemoteOutputSettings.h.
SWGSDRangel::SWGRemoteOutputSettings::SWGRemoteOutputSettings | ( | ) |
Definition at line 30 of file SWGRemoteOutputSettings.cpp.
References api_address, api_port, center_frequency, channel_index, data_address, data_port, device_index, m_api_address_isSet, m_api_port_isSet, m_center_frequency_isSet, m_channel_index_isSet, m_data_address_isSet, m_data_port_isSet, m_device_index_isSet, m_nb_fec_blocks_isSet, m_reverse_api_address_isSet, m_reverse_api_device_index_isSet, m_reverse_api_port_isSet, m_sample_rate_isSet, m_tx_delay_isSet, m_use_reverse_api_isSet, nb_fec_blocks, reverse_api_address, reverse_api_device_index, reverse_api_port, sample_rate, tx_delay, and use_reverse_api.
SWGSDRangel::SWGRemoteOutputSettings::SWGRemoteOutputSettings | ( | QString * | json | ) |
Definition at line 25 of file SWGRemoteOutputSettings.cpp.
References fromJson(), and init().
|
virtual |
Definition at line 61 of file SWGRemoteOutputSettings.cpp.
References cleanup().
|
overridevirtual |
Reimplemented from SWGSDRangel::SWGObject.
Definition at line 163 of file SWGRemoteOutputSettings.cpp.
References asJsonObject().
|
overridevirtual |
Reimplemented from SWGSDRangel::SWGObject.
Definition at line 174 of file SWGRemoteOutputSettings.cpp.
References api_address, api_port, center_frequency, channel_index, data_address, data_port, device_index, m_api_port_isSet, m_center_frequency_isSet, m_channel_index_isSet, m_data_port_isSet, m_device_index_isSet, m_nb_fec_blocks_isSet, m_reverse_api_device_index_isSet, m_reverse_api_port_isSet, m_sample_rate_isSet, m_tx_delay_isSet, m_use_reverse_api_isSet, nb_fec_blocks, reverse_api_address, reverse_api_device_index, reverse_api_port, sample_rate, SWGSDRangel::toJsonValue(), tx_delay, and use_reverse_api.
Referenced by asJson().
void SWGSDRangel::SWGRemoteOutputSettings::cleanup | ( | ) |
Definition at line 98 of file SWGRemoteOutputSettings.cpp.
References api_address, data_address, and reverse_api_address.
Referenced by ~SWGRemoteOutputSettings().
|
overridevirtual |
Reimplemented from SWGSDRangel::SWGObject.
Definition at line 122 of file SWGRemoteOutputSettings.cpp.
References fromJsonObject().
Referenced by SWGRemoteOutputSettings().
|
overridevirtual |
Reimplemented from SWGSDRangel::SWGObject.
Definition at line 131 of file SWGRemoteOutputSettings.cpp.
References api_address, api_port, center_frequency, channel_index, data_address, data_port, device_index, nb_fec_blocks, reverse_api_address, reverse_api_device_index, reverse_api_port, sample_rate, SWGSDRangel::setValue(), tx_delay, and use_reverse_api.
Referenced by fromJson(), and WebAPIRequestMapper::validateDeviceSettings().
QString * SWGSDRangel::SWGRemoteOutputSettings::getApiAddress | ( | ) |
Definition at line 263 of file SWGRemoteOutputSettings.cpp.
References api_address.
Referenced by RemoteOutput::webapiSettingsPutPatch().
qint32 SWGSDRangel::SWGRemoteOutputSettings::getApiPort | ( | ) |
Definition at line 273 of file SWGRemoteOutputSettings.cpp.
References api_port.
Referenced by RemoteOutput::webapiSettingsPutPatch().
qint32 SWGSDRangel::SWGRemoteOutputSettings::getCenterFrequency | ( | ) |
Definition at line 223 of file SWGRemoteOutputSettings.cpp.
References center_frequency.
qint32 SWGSDRangel::SWGRemoteOutputSettings::getChannelIndex | ( | ) |
Definition at line 313 of file SWGRemoteOutputSettings.cpp.
References channel_index.
Referenced by RemoteOutput::webapiSettingsPutPatch().
QString * SWGSDRangel::SWGRemoteOutputSettings::getDataAddress | ( | ) |
Definition at line 283 of file SWGRemoteOutputSettings.cpp.
References data_address.
Referenced by RemoteOutput::webapiSettingsPutPatch().
qint32 SWGSDRangel::SWGRemoteOutputSettings::getDataPort | ( | ) |
Definition at line 293 of file SWGRemoteOutputSettings.cpp.
References data_port.
Referenced by RemoteOutput::webapiSettingsPutPatch().
qint32 SWGSDRangel::SWGRemoteOutputSettings::getDeviceIndex | ( | ) |
Definition at line 303 of file SWGRemoteOutputSettings.cpp.
References device_index.
Referenced by RemoteOutput::webapiSettingsPutPatch().
qint32 SWGSDRangel::SWGRemoteOutputSettings::getNbFecBlocks | ( | ) |
Definition at line 253 of file SWGRemoteOutputSettings.cpp.
References nb_fec_blocks.
Referenced by RemoteOutput::webapiSettingsPutPatch().
QString * SWGSDRangel::SWGRemoteOutputSettings::getReverseApiAddress | ( | ) |
Definition at line 333 of file SWGRemoteOutputSettings.cpp.
References reverse_api_address.
Referenced by RemoteOutput::webapiFormatDeviceSettings(), and RemoteOutput::webapiSettingsPutPatch().
qint32 SWGSDRangel::SWGRemoteOutputSettings::getReverseApiDeviceIndex | ( | ) |
Definition at line 353 of file SWGRemoteOutputSettings.cpp.
References reverse_api_device_index.
Referenced by RemoteOutput::webapiSettingsPutPatch().
qint32 SWGSDRangel::SWGRemoteOutputSettings::getReverseApiPort | ( | ) |
Definition at line 343 of file SWGRemoteOutputSettings.cpp.
References reverse_api_port.
Referenced by RemoteOutput::webapiSettingsPutPatch().
qint32 SWGSDRangel::SWGRemoteOutputSettings::getSampleRate | ( | ) |
Definition at line 233 of file SWGRemoteOutputSettings.cpp.
References sample_rate.
Referenced by RemoteOutput::webapiSettingsPutPatch().
float SWGSDRangel::SWGRemoteOutputSettings::getTxDelay | ( | ) |
Definition at line 243 of file SWGRemoteOutputSettings.cpp.
References tx_delay.
Referenced by RemoteOutput::webapiSettingsPutPatch().
qint32 SWGSDRangel::SWGRemoteOutputSettings::getUseReverseApi | ( | ) |
Definition at line 323 of file SWGRemoteOutputSettings.cpp.
References use_reverse_api.
Referenced by RemoteOutput::webapiSettingsPutPatch().
void SWGSDRangel::SWGRemoteOutputSettings::init | ( | ) |
Definition at line 66 of file SWGRemoteOutputSettings.cpp.
References api_address, api_port, center_frequency, channel_index, data_address, data_port, device_index, m_api_address_isSet, m_api_port_isSet, m_center_frequency_isSet, m_channel_index_isSet, m_data_address_isSet, m_data_port_isSet, m_device_index_isSet, m_nb_fec_blocks_isSet, m_reverse_api_address_isSet, m_reverse_api_device_index_isSet, m_reverse_api_port_isSet, m_sample_rate_isSet, m_tx_delay_isSet, m_use_reverse_api_isSet, nb_fec_blocks, reverse_api_address, reverse_api_device_index, reverse_api_port, sample_rate, tx_delay, and use_reverse_api.
Referenced by SWGRemoteOutputSettings(), and RemoteOutput::webapiSettingsGet().
|
overridevirtual |
Reimplemented from SWGSDRangel::SWGObject.
Definition at line 364 of file SWGRemoteOutputSettings.cpp.
References api_address, data_address, m_api_port_isSet, m_center_frequency_isSet, m_channel_index_isSet, m_data_port_isSet, m_device_index_isSet, m_nb_fec_blocks_isSet, m_reverse_api_device_index_isSet, m_reverse_api_port_isSet, m_sample_rate_isSet, m_tx_delay_isSet, m_use_reverse_api_isSet, and reverse_api_address.
Referenced by SWGSDRangel::SWGDeviceSettings::asJsonObject(), SWGSDRangel::SWGDeviceSettings_2::asJsonObject(), SWGSDRangel::SWGDeviceSettings_2::isSet(), and SWGSDRangel::SWGDeviceSettings::isSet().
void SWGSDRangel::SWGRemoteOutputSettings::setApiAddress | ( | QString * | api_address | ) |
Definition at line 267 of file SWGRemoteOutputSettings.cpp.
References api_address, and m_api_address_isSet.
Referenced by RemoteOutput::webapiFormatDeviceSettings(), and RemoteOutput::webapiReverseSendSettings().
void SWGSDRangel::SWGRemoteOutputSettings::setApiPort | ( | qint32 | api_port | ) |
Definition at line 277 of file SWGRemoteOutputSettings.cpp.
References api_port, and m_api_port_isSet.
Referenced by RemoteOutput::webapiFormatDeviceSettings(), and RemoteOutput::webapiReverseSendSettings().
void SWGSDRangel::SWGRemoteOutputSettings::setCenterFrequency | ( | qint32 | center_frequency | ) |
Definition at line 227 of file SWGRemoteOutputSettings.cpp.
References center_frequency, and m_center_frequency_isSet.
Referenced by RemoteOutput::webapiFormatDeviceSettings().
void SWGSDRangel::SWGRemoteOutputSettings::setChannelIndex | ( | qint32 | channel_index | ) |
Definition at line 317 of file SWGRemoteOutputSettings.cpp.
References channel_index, and m_channel_index_isSet.
Referenced by RemoteOutput::webapiFormatDeviceSettings(), and RemoteOutput::webapiReverseSendSettings().
void SWGSDRangel::SWGRemoteOutputSettings::setDataAddress | ( | QString * | data_address | ) |
Definition at line 287 of file SWGRemoteOutputSettings.cpp.
References data_address, and m_data_address_isSet.
Referenced by RemoteOutput::webapiFormatDeviceSettings(), and RemoteOutput::webapiReverseSendSettings().
void SWGSDRangel::SWGRemoteOutputSettings::setDataPort | ( | qint32 | data_port | ) |
Definition at line 297 of file SWGRemoteOutputSettings.cpp.
References data_port, and m_data_port_isSet.
Referenced by RemoteOutput::webapiFormatDeviceSettings(), and RemoteOutput::webapiReverseSendSettings().
void SWGSDRangel::SWGRemoteOutputSettings::setDeviceIndex | ( | qint32 | device_index | ) |
Definition at line 307 of file SWGRemoteOutputSettings.cpp.
References device_index, and m_device_index_isSet.
Referenced by RemoteOutput::webapiFormatDeviceSettings(), and RemoteOutput::webapiReverseSendSettings().
void SWGSDRangel::SWGRemoteOutputSettings::setNbFecBlocks | ( | qint32 | nb_fec_blocks | ) |
Definition at line 257 of file SWGRemoteOutputSettings.cpp.
References m_nb_fec_blocks_isSet, and nb_fec_blocks.
Referenced by RemoteOutput::webapiFormatDeviceSettings(), and RemoteOutput::webapiReverseSendSettings().
void SWGSDRangel::SWGRemoteOutputSettings::setReverseApiAddress | ( | QString * | reverse_api_address | ) |
Definition at line 337 of file SWGRemoteOutputSettings.cpp.
References m_reverse_api_address_isSet, and reverse_api_address.
Referenced by RemoteOutput::webapiFormatDeviceSettings().
void SWGSDRangel::SWGRemoteOutputSettings::setReverseApiDeviceIndex | ( | qint32 | reverse_api_device_index | ) |
Definition at line 357 of file SWGRemoteOutputSettings.cpp.
References m_reverse_api_device_index_isSet, and reverse_api_device_index.
Referenced by RemoteOutput::webapiFormatDeviceSettings().
void SWGSDRangel::SWGRemoteOutputSettings::setReverseApiPort | ( | qint32 | reverse_api_port | ) |
Definition at line 347 of file SWGRemoteOutputSettings.cpp.
References m_reverse_api_port_isSet, and reverse_api_port.
Referenced by RemoteOutput::webapiFormatDeviceSettings().
void SWGSDRangel::SWGRemoteOutputSettings::setSampleRate | ( | qint32 | sample_rate | ) |
Definition at line 237 of file SWGRemoteOutputSettings.cpp.
References m_sample_rate_isSet, and sample_rate.
Referenced by RemoteOutput::webapiFormatDeviceSettings(), and RemoteOutput::webapiReverseSendSettings().
void SWGSDRangel::SWGRemoteOutputSettings::setTxDelay | ( | float | tx_delay | ) |
Definition at line 247 of file SWGRemoteOutputSettings.cpp.
References m_tx_delay_isSet, and tx_delay.
Referenced by RemoteOutput::webapiFormatDeviceSettings(), and RemoteOutput::webapiReverseSendSettings().
void SWGSDRangel::SWGRemoteOutputSettings::setUseReverseApi | ( | qint32 | use_reverse_api | ) |
Definition at line 327 of file SWGRemoteOutputSettings.cpp.
References m_use_reverse_api_isSet, and use_reverse_api.
Referenced by RemoteOutput::webapiFormatDeviceSettings().
|
private |
Definition at line 103 of file SWGRemoteOutputSettings.h.
Referenced by asJsonObject(), cleanup(), fromJsonObject(), getApiAddress(), init(), isSet(), setApiAddress(), and SWGRemoteOutputSettings().
|
private |
Definition at line 106 of file SWGRemoteOutputSettings.h.
Referenced by asJsonObject(), fromJsonObject(), getApiPort(), init(), setApiPort(), and SWGRemoteOutputSettings().
|
private |
Definition at line 91 of file SWGRemoteOutputSettings.h.
Referenced by asJsonObject(), fromJsonObject(), getCenterFrequency(), init(), setCenterFrequency(), and SWGRemoteOutputSettings().
|
private |
Definition at line 118 of file SWGRemoteOutputSettings.h.
Referenced by asJsonObject(), fromJsonObject(), getChannelIndex(), init(), setChannelIndex(), and SWGRemoteOutputSettings().
|
private |
Definition at line 109 of file SWGRemoteOutputSettings.h.
Referenced by asJsonObject(), cleanup(), fromJsonObject(), getDataAddress(), init(), isSet(), setDataAddress(), and SWGRemoteOutputSettings().
|
private |
Definition at line 112 of file SWGRemoteOutputSettings.h.
Referenced by asJsonObject(), fromJsonObject(), getDataPort(), init(), setDataPort(), and SWGRemoteOutputSettings().
|
private |
Definition at line 115 of file SWGRemoteOutputSettings.h.
Referenced by asJsonObject(), fromJsonObject(), getDeviceIndex(), init(), setDeviceIndex(), and SWGRemoteOutputSettings().
|
private |
Definition at line 104 of file SWGRemoteOutputSettings.h.
Referenced by init(), setApiAddress(), and SWGRemoteOutputSettings().
|
private |
Definition at line 107 of file SWGRemoteOutputSettings.h.
Referenced by asJsonObject(), init(), isSet(), setApiPort(), and SWGRemoteOutputSettings().
|
private |
Definition at line 92 of file SWGRemoteOutputSettings.h.
Referenced by asJsonObject(), init(), isSet(), setCenterFrequency(), and SWGRemoteOutputSettings().
|
private |
Definition at line 119 of file SWGRemoteOutputSettings.h.
Referenced by asJsonObject(), init(), isSet(), setChannelIndex(), and SWGRemoteOutputSettings().
|
private |
Definition at line 110 of file SWGRemoteOutputSettings.h.
Referenced by init(), setDataAddress(), and SWGRemoteOutputSettings().
|
private |
Definition at line 113 of file SWGRemoteOutputSettings.h.
Referenced by asJsonObject(), init(), isSet(), setDataPort(), and SWGRemoteOutputSettings().
|
private |
Definition at line 116 of file SWGRemoteOutputSettings.h.
Referenced by asJsonObject(), init(), isSet(), setDeviceIndex(), and SWGRemoteOutputSettings().
|
private |
Definition at line 101 of file SWGRemoteOutputSettings.h.
Referenced by asJsonObject(), init(), isSet(), setNbFecBlocks(), and SWGRemoteOutputSettings().
|
private |
Definition at line 125 of file SWGRemoteOutputSettings.h.
Referenced by init(), setReverseApiAddress(), and SWGRemoteOutputSettings().
|
private |
Definition at line 131 of file SWGRemoteOutputSettings.h.
Referenced by asJsonObject(), init(), isSet(), setReverseApiDeviceIndex(), and SWGRemoteOutputSettings().
|
private |
Definition at line 128 of file SWGRemoteOutputSettings.h.
Referenced by asJsonObject(), init(), isSet(), setReverseApiPort(), and SWGRemoteOutputSettings().
|
private |
Definition at line 95 of file SWGRemoteOutputSettings.h.
Referenced by asJsonObject(), init(), isSet(), setSampleRate(), and SWGRemoteOutputSettings().
|
private |
Definition at line 98 of file SWGRemoteOutputSettings.h.
Referenced by asJsonObject(), init(), isSet(), setTxDelay(), and SWGRemoteOutputSettings().
|
private |
Definition at line 122 of file SWGRemoteOutputSettings.h.
Referenced by asJsonObject(), init(), isSet(), setUseReverseApi(), and SWGRemoteOutputSettings().
|
private |
Definition at line 100 of file SWGRemoteOutputSettings.h.
Referenced by asJsonObject(), fromJsonObject(), getNbFecBlocks(), init(), setNbFecBlocks(), and SWGRemoteOutputSettings().
|
private |
Definition at line 124 of file SWGRemoteOutputSettings.h.
Referenced by asJsonObject(), cleanup(), fromJsonObject(), getReverseApiAddress(), init(), isSet(), setReverseApiAddress(), and SWGRemoteOutputSettings().
|
private |
Definition at line 130 of file SWGRemoteOutputSettings.h.
Referenced by asJsonObject(), fromJsonObject(), getReverseApiDeviceIndex(), init(), setReverseApiDeviceIndex(), and SWGRemoteOutputSettings().
|
private |
Definition at line 127 of file SWGRemoteOutputSettings.h.
Referenced by asJsonObject(), fromJsonObject(), getReverseApiPort(), init(), setReverseApiPort(), and SWGRemoteOutputSettings().
|
private |
Definition at line 94 of file SWGRemoteOutputSettings.h.
Referenced by asJsonObject(), fromJsonObject(), getSampleRate(), init(), setSampleRate(), and SWGRemoteOutputSettings().
|
private |
Definition at line 97 of file SWGRemoteOutputSettings.h.
Referenced by asJsonObject(), fromJsonObject(), getTxDelay(), init(), setTxDelay(), and SWGRemoteOutputSettings().
|
private |
Definition at line 121 of file SWGRemoteOutputSettings.h.
Referenced by asJsonObject(), fromJsonObject(), getUseReverseApi(), init(), setUseReverseApi(), and SWGRemoteOutputSettings().