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 <localinputsettings.h>
Public Member Functions | |
LocalInputSettings () | |
void | resetToDefaults () |
QByteArray | serialize () const |
bool | deserialize (const QByteArray &data) |
Public Attributes | |
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 localinputsettings.h.
LocalInputSettings::LocalInputSettings | ( | ) |
Definition at line 21 of file localinputsettings.cpp.
References resetToDefaults().
bool LocalInputSettings::deserialize | ( | const QByteArray & | data | ) |
Definition at line 51 of file localinputsettings.cpp.
References SimpleDeserializer::getVersion(), SimpleDeserializer::isValid(), m_dcBlock, m_iqCorrection, m_reverseAPIAddress, m_reverseAPIDeviceIndex, m_reverseAPIPort, m_useReverseAPI, SimpleDeserializer::readBool(), SimpleDeserializer::readString(), SimpleDeserializer::readU32(), and resetToDefaults().
Referenced by LocalInputGui::deserialize(), and LocalInput::deserialize().
void LocalInputSettings::resetToDefaults | ( | ) |
Definition at line 26 of file localinputsettings.cpp.
References m_dcBlock, m_fileRecordName, m_iqCorrection, m_reverseAPIAddress, m_reverseAPIDeviceIndex, m_reverseAPIPort, and m_useReverseAPI.
Referenced by deserialize(), LocalInput::deserialize(), LocalInputSettings(), and LocalInputGui::resetToDefaults().
QByteArray LocalInputSettings::serialize | ( | ) | const |
Definition at line 37 of file localinputsettings.cpp.
References SimpleSerializer::final(), m_dcBlock, m_iqCorrection, m_reverseAPIAddress, m_reverseAPIDeviceIndex, m_reverseAPIPort, m_useReverseAPI, SimpleSerializer::writeBool(), SimpleSerializer::writeString(), and SimpleSerializer::writeU32().
Referenced by LocalInputGui::serialize(), and LocalInput::serialize().
bool LocalInputSettings::m_dcBlock |
Definition at line 25 of file localinputsettings.h.
Referenced by LocalInput::applySettings(), deserialize(), LocalInputGui::displaySettings(), LocalInputGui::on_dcOffset_toggled(), resetToDefaults(), serialize(), LocalInput::webapiFormatDeviceSettings(), LocalInput::webapiReverseSendSettings(), and LocalInput::webapiSettingsPutPatch().
QString LocalInputSettings::m_fileRecordName |
Definition at line 27 of file localinputsettings.h.
Referenced by LocalInput::applySettings(), LocalInput::handleMessage(), resetToDefaults(), LocalInput::webapiFormatDeviceSettings(), LocalInput::webapiReverseSendSettings(), and LocalInput::webapiSettingsPutPatch().
bool LocalInputSettings::m_iqCorrection |
Definition at line 26 of file localinputsettings.h.
Referenced by LocalInput::applySettings(), deserialize(), LocalInputGui::displaySettings(), LocalInputGui::on_iqImbalance_toggled(), resetToDefaults(), serialize(), LocalInput::webapiFormatDeviceSettings(), LocalInput::webapiReverseSendSettings(), and LocalInput::webapiSettingsPutPatch().
QString LocalInputSettings::m_reverseAPIAddress |
Definition at line 29 of file localinputsettings.h.
Referenced by LocalInput::applySettings(), deserialize(), LocalInputGui::openDeviceSettingsDialog(), resetToDefaults(), serialize(), LocalInput::webapiFormatDeviceSettings(), LocalInput::webapiReverseSendSettings(), LocalInput::webapiReverseSendStartStop(), and LocalInput::webapiSettingsPutPatch().
uint16_t LocalInputSettings::m_reverseAPIDeviceIndex |
Definition at line 31 of file localinputsettings.h.
Referenced by LocalInput::applySettings(), deserialize(), LocalInputGui::openDeviceSettingsDialog(), resetToDefaults(), serialize(), LocalInput::webapiFormatDeviceSettings(), LocalInput::webapiReverseSendSettings(), LocalInput::webapiReverseSendStartStop(), and LocalInput::webapiSettingsPutPatch().
uint16_t LocalInputSettings::m_reverseAPIPort |
Definition at line 30 of file localinputsettings.h.
Referenced by LocalInput::applySettings(), deserialize(), LocalInputGui::openDeviceSettingsDialog(), resetToDefaults(), serialize(), LocalInput::webapiFormatDeviceSettings(), LocalInput::webapiReverseSendSettings(), LocalInput::webapiReverseSendStartStop(), and LocalInput::webapiSettingsPutPatch().
bool LocalInputSettings::m_useReverseAPI |
Definition at line 28 of file localinputsettings.h.
Referenced by LocalInput::applySettings(), deserialize(), LocalInput::handleMessage(), LocalInputGui::openDeviceSettingsDialog(), resetToDefaults(), serialize(), LocalInput::webapiFormatDeviceSettings(), and LocalInput::webapiSettingsPutPatch().