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 <remoteinputsettings.h>
Public Member Functions | |
RemoteInputSettings () | |
void | resetToDefaults () |
QByteArray | serialize () const |
bool | deserialize (const QByteArray &data) |
Public Attributes | |
QString | m_apiAddress |
quint16 | m_apiPort |
QString | m_dataAddress |
quint16 | m_dataPort |
bool | m_dcBlock |
bool | m_iqCorrection |
QString | m_fileRecordName |
bool | m_useReverseAPI |
QString | m_reverseAPIAddress |
uint16_t | m_reverseAPIPort |
uint16_t | m_reverseAPIDeviceIndex |
Definition at line 24 of file remoteinputsettings.h.
RemoteInputSettings::RemoteInputSettings | ( | ) |
Definition at line 21 of file remoteinputsettings.cpp.
References resetToDefaults().
bool RemoteInputSettings::deserialize | ( | const QByteArray & | data | ) |
Definition at line 59 of file remoteinputsettings.cpp.
References SimpleDeserializer::getVersion(), SimpleDeserializer::isValid(), m_apiAddress, m_apiPort, m_dataAddress, m_dataPort, m_dcBlock, m_iqCorrection, m_reverseAPIAddress, m_reverseAPIDeviceIndex, m_reverseAPIPort, m_useReverseAPI, SimpleDeserializer::readBool(), SimpleDeserializer::readString(), SimpleDeserializer::readU32(), and resetToDefaults().
Referenced by RemoteInputGui::deserialize(), and RemoteInput::deserialize().
void RemoteInputSettings::resetToDefaults | ( | ) |
Definition at line 26 of file remoteinputsettings.cpp.
References m_apiAddress, m_apiPort, m_dataAddress, m_dataPort, m_dcBlock, m_fileRecordName, m_iqCorrection, m_reverseAPIAddress, m_reverseAPIDeviceIndex, m_reverseAPIPort, and m_useReverseAPI.
Referenced by deserialize(), RemoteInput::deserialize(), RemoteInputSettings(), and RemoteInputGui::resetToDefaults().
QByteArray RemoteInputSettings::serialize | ( | ) | const |
Definition at line 41 of file remoteinputsettings.cpp.
References SimpleSerializer::final(), m_apiAddress, m_apiPort, m_dataAddress, m_dataPort, m_dcBlock, m_iqCorrection, m_reverseAPIAddress, m_reverseAPIDeviceIndex, m_reverseAPIPort, m_useReverseAPI, SimpleSerializer::writeBool(), SimpleSerializer::writeString(), and SimpleSerializer::writeU32().
Referenced by RemoteInputGui::serialize(), and RemoteInput::serialize().
QString RemoteInputSettings::m_apiAddress |
Definition at line 25 of file remoteinputsettings.h.
Referenced by RemoteInput::applySettings(), deserialize(), RemoteInputGui::displaySettings(), RemoteInputGui::on_apiAddress_returnPressed(), RemoteInputGui::on_apiApplyButton_clicked(), RemoteInputGui::on_apiPort_returnPressed(), resetToDefaults(), serialize(), RemoteInput::webapiFormatDeviceSettings(), RemoteInput::webapiReverseSendSettings(), and RemoteInput::webapiSettingsPutPatch().
quint16 RemoteInputSettings::m_apiPort |
Definition at line 26 of file remoteinputsettings.h.
Referenced by RemoteInput::applySettings(), deserialize(), RemoteInputGui::displaySettings(), RemoteInputGui::on_apiAddress_returnPressed(), RemoteInputGui::on_apiApplyButton_clicked(), RemoteInputGui::on_apiPort_returnPressed(), resetToDefaults(), serialize(), RemoteInput::webapiFormatDeviceSettings(), RemoteInput::webapiReverseSendSettings(), and RemoteInput::webapiSettingsPutPatch().
QString RemoteInputSettings::m_dataAddress |
Definition at line 27 of file remoteinputsettings.h.
Referenced by RemoteInput::applySettings(), deserialize(), RemoteInputGui::displaySettings(), RemoteInputGui::on_dataAddress_returnPressed(), RemoteInputGui::on_dataApplyButton_clicked(), resetToDefaults(), serialize(), RemoteInput::webapiFormatDeviceSettings(), RemoteInput::webapiReverseSendSettings(), and RemoteInput::webapiSettingsPutPatch().
quint16 RemoteInputSettings::m_dataPort |
Definition at line 28 of file remoteinputsettings.h.
Referenced by RemoteInput::applySettings(), deserialize(), RemoteInputGui::displaySettings(), RemoteInputGui::on_dataApplyButton_clicked(), RemoteInputGui::on_dataPort_returnPressed(), resetToDefaults(), serialize(), RemoteInput::webapiFormatDeviceSettings(), RemoteInput::webapiReverseSendSettings(), and RemoteInput::webapiSettingsPutPatch().
bool RemoteInputSettings::m_dcBlock |
Definition at line 29 of file remoteinputsettings.h.
Referenced by RemoteInput::applySettings(), deserialize(), RemoteInputGui::displaySettings(), RemoteInputGui::on_dcOffset_toggled(), resetToDefaults(), serialize(), RemoteInput::webapiFormatDeviceSettings(), RemoteInput::webapiReverseSendSettings(), and RemoteInput::webapiSettingsPutPatch().
QString RemoteInputSettings::m_fileRecordName |
Definition at line 31 of file remoteinputsettings.h.
Referenced by RemoteInput::applySettings(), RemoteInput::handleMessage(), resetToDefaults(), RemoteInput::webapiFormatDeviceSettings(), RemoteInput::webapiReverseSendSettings(), and RemoteInput::webapiSettingsPutPatch().
bool RemoteInputSettings::m_iqCorrection |
Definition at line 30 of file remoteinputsettings.h.
Referenced by RemoteInput::applySettings(), deserialize(), RemoteInputGui::displaySettings(), RemoteInputGui::on_iqImbalance_toggled(), resetToDefaults(), serialize(), RemoteInput::webapiFormatDeviceSettings(), RemoteInput::webapiReverseSendSettings(), and RemoteInput::webapiSettingsPutPatch().
QString RemoteInputSettings::m_reverseAPIAddress |
Definition at line 33 of file remoteinputsettings.h.
Referenced by RemoteInput::applySettings(), deserialize(), RemoteInputGui::openDeviceSettingsDialog(), resetToDefaults(), serialize(), RemoteInput::webapiFormatDeviceSettings(), RemoteInput::webapiReverseSendSettings(), RemoteInput::webapiReverseSendStartStop(), and RemoteInput::webapiSettingsPutPatch().
uint16_t RemoteInputSettings::m_reverseAPIDeviceIndex |
Definition at line 35 of file remoteinputsettings.h.
Referenced by RemoteInput::applySettings(), deserialize(), RemoteInputGui::openDeviceSettingsDialog(), resetToDefaults(), serialize(), RemoteInput::webapiFormatDeviceSettings(), RemoteInput::webapiReverseSendSettings(), RemoteInput::webapiReverseSendStartStop(), and RemoteInput::webapiSettingsPutPatch().
uint16_t RemoteInputSettings::m_reverseAPIPort |
Definition at line 34 of file remoteinputsettings.h.
Referenced by RemoteInput::applySettings(), deserialize(), RemoteInputGui::openDeviceSettingsDialog(), resetToDefaults(), serialize(), RemoteInput::webapiFormatDeviceSettings(), RemoteInput::webapiReverseSendSettings(), RemoteInput::webapiReverseSendStartStop(), and RemoteInput::webapiSettingsPutPatch().
bool RemoteInputSettings::m_useReverseAPI |
Definition at line 32 of file remoteinputsettings.h.
Referenced by RemoteInput::applySettings(), deserialize(), RemoteInput::handleMessage(), RemoteInputGui::openDeviceSettingsDialog(), resetToDefaults(), serialize(), RemoteInput::webapiFormatDeviceSettings(), and RemoteInput::webapiSettingsPutPatch().