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 <remotesinksettings.h>
Public Member Functions | |
RemoteSinkSettings () | |
void | resetToDefaults () |
void | setChannelMarker (Serializable *channelMarker) |
QByteArray | serialize () const |
bool | deserialize (const QByteArray &data) |
Public Attributes | |
uint16_t | m_nbFECBlocks |
uint32_t | m_txDelay |
QString | m_dataAddress |
uint16_t | m_dataPort |
quint32 | m_rgbColor |
QString | m_title |
uint32_t | m_log2Decim |
uint32_t | m_filterChainHash |
bool | m_useReverseAPI |
QString | m_reverseAPIAddress |
uint16_t | m_reverseAPIPort |
uint16_t | m_reverseAPIDeviceIndex |
uint16_t | m_reverseAPIChannelIndex |
Serializable * | m_channelMarker |
Definition at line 32 of file remotesinksettings.h.
RemoteSinkSettings::RemoteSinkSettings | ( | ) |
Definition at line 32 of file remotesinksettings.cpp.
References resetToDefaults().
bool RemoteSinkSettings::deserialize | ( | const QByteArray & | data | ) |
Definition at line 75 of file remotesinksettings.cpp.
References SimpleDeserializer::getVersion(), SimpleDeserializer::isValid(), m_dataAddress, m_dataPort, m_filterChainHash, m_log2Decim, m_nbFECBlocks, m_reverseAPIAddress, m_reverseAPIChannelIndex, m_reverseAPIDeviceIndex, m_reverseAPIPort, m_rgbColor, m_title, m_txDelay, m_useReverseAPI, SimpleDeserializer::readBool(), SimpleDeserializer::readString(), SimpleDeserializer::readU32(), and resetToDefaults().
Referenced by RemoteSinkGUI::deserialize(), RemoteSink::deserialize(), and setChannelMarker().
void RemoteSinkSettings::resetToDefaults | ( | ) |
Definition at line 37 of file remotesinksettings.cpp.
References m_channelMarker, m_dataAddress, m_dataPort, m_filterChainHash, m_log2Decim, m_nbFECBlocks, m_reverseAPIAddress, m_reverseAPIChannelIndex, m_reverseAPIDeviceIndex, m_reverseAPIPort, m_rgbColor, m_title, m_txDelay, and m_useReverseAPI.
Referenced by deserialize(), RemoteSink::deserialize(), RemoteSinkSettings(), and RemoteSinkGUI::resetToDefaults().
QByteArray RemoteSinkSettings::serialize | ( | ) | const |
Definition at line 55 of file remotesinksettings.cpp.
References SimpleSerializer::final(), m_dataAddress, m_dataPort, m_filterChainHash, m_log2Decim, m_nbFECBlocks, m_reverseAPIAddress, m_reverseAPIChannelIndex, m_reverseAPIDeviceIndex, m_reverseAPIPort, m_rgbColor, m_title, m_txDelay, m_useReverseAPI, SimpleSerializer::writeBool(), SimpleSerializer::writeString(), and SimpleSerializer::writeU32().
Referenced by RemoteSinkGUI::serialize(), RemoteSink::serialize(), and setChannelMarker().
|
inline |
Definition at line 52 of file remotesinksettings.h.
References deserialize(), and serialize().
Referenced by RemoteSinkGUI::RemoteSinkGUI().
Serializable* RemoteSinkSettings::m_channelMarker |
Definition at line 48 of file remotesinksettings.h.
Referenced by resetToDefaults().
QString RemoteSinkSettings::m_dataAddress |
Definition at line 36 of file remotesinksettings.h.
Referenced by RemoteSink::applySettings(), deserialize(), RemoteSinkGUI::displaySettings(), RemoteSinkGUI::on_dataAddress_returnPressed(), RemoteSinkGUI::on_dataApplyButton_clicked(), resetToDefaults(), serialize(), RemoteSink::webapiFormatChannelSettings(), RemoteSink::webapiReverseSendSettings(), and RemoteSink::webapiSettingsPutPatch().
uint16_t RemoteSinkSettings::m_dataPort |
Definition at line 37 of file remotesinksettings.h.
Referenced by RemoteSink::applySettings(), deserialize(), RemoteSinkGUI::displaySettings(), RemoteSinkGUI::on_dataApplyButton_clicked(), RemoteSinkGUI::on_dataPort_returnPressed(), resetToDefaults(), serialize(), RemoteSink::webapiFormatChannelSettings(), RemoteSink::webapiReverseSendSettings(), and RemoteSink::webapiSettingsPutPatch().
uint32_t RemoteSinkSettings::m_filterChainHash |
Definition at line 41 of file remotesinksettings.h.
Referenced by RemoteSinkGUI::applyChannelSettings(), RemoteSinkGUI::applyDecimation(), RemoteSinkGUI::applyPosition(), RemoteSink::calculateFrequencyOffset(), deserialize(), RemoteSink::handleMessage(), RemoteSinkGUI::on_position_valueChanged(), resetToDefaults(), serialize(), RemoteSink::validateFilterChainHash(), RemoteSink::webapiFormatChannelSettings(), RemoteSink::webapiReverseSendSettings(), and RemoteSink::webapiSettingsPutPatch().
uint32_t RemoteSinkSettings::m_log2Decim |
Definition at line 40 of file remotesinksettings.h.
Referenced by RemoteSinkGUI::applyChannelSettings(), RemoteSinkGUI::applyDecimation(), RemoteSinkGUI::applyPosition(), RemoteSink::calculateFrequencyOffset(), deserialize(), RemoteSinkGUI::displayRateAndShift(), RemoteSinkGUI::displaySettings(), RemoteSink::handleMessage(), RemoteSinkGUI::on_decimationFactor_currentIndexChanged(), resetToDefaults(), serialize(), RemoteSink::validateFilterChainHash(), RemoteSink::webapiFormatChannelSettings(), RemoteSink::webapiReverseSendSettings(), and RemoteSink::webapiSettingsPutPatch().
uint16_t RemoteSinkSettings::m_nbFECBlocks |
Definition at line 34 of file remotesinksettings.h.
Referenced by RemoteSink::applySettings(), deserialize(), RemoteSinkGUI::displaySettings(), RemoteSink::handleMessage(), RemoteSinkGUI::on_nbFECBlocks_valueChanged(), resetToDefaults(), serialize(), RemoteSink::webapiFormatChannelSettings(), RemoteSink::webapiReverseSendSettings(), and RemoteSink::webapiSettingsPutPatch().
QString RemoteSinkSettings::m_reverseAPIAddress |
Definition at line 43 of file remotesinksettings.h.
Referenced by RemoteSink::applySettings(), deserialize(), RemoteSinkGUI::onMenuDialogCalled(), resetToDefaults(), serialize(), RemoteSink::webapiFormatChannelSettings(), RemoteSink::webapiReverseSendSettings(), and RemoteSink::webapiSettingsPutPatch().
uint16_t RemoteSinkSettings::m_reverseAPIChannelIndex |
Definition at line 46 of file remotesinksettings.h.
Referenced by RemoteSink::applySettings(), deserialize(), RemoteSinkGUI::onMenuDialogCalled(), resetToDefaults(), serialize(), RemoteSink::webapiFormatChannelSettings(), RemoteSink::webapiReverseSendSettings(), and RemoteSink::webapiSettingsPutPatch().
uint16_t RemoteSinkSettings::m_reverseAPIDeviceIndex |
Definition at line 45 of file remotesinksettings.h.
Referenced by RemoteSink::applySettings(), deserialize(), RemoteSinkGUI::onMenuDialogCalled(), resetToDefaults(), serialize(), RemoteSink::webapiFormatChannelSettings(), RemoteSink::webapiReverseSendSettings(), and RemoteSink::webapiSettingsPutPatch().
uint16_t RemoteSinkSettings::m_reverseAPIPort |
Definition at line 44 of file remotesinksettings.h.
Referenced by RemoteSink::applySettings(), deserialize(), RemoteSinkGUI::onMenuDialogCalled(), resetToDefaults(), serialize(), RemoteSink::webapiFormatChannelSettings(), RemoteSink::webapiReverseSendSettings(), and RemoteSink::webapiSettingsPutPatch().
quint32 RemoteSinkSettings::m_rgbColor |
Definition at line 38 of file remotesinksettings.h.
Referenced by deserialize(), RemoteSinkGUI::displaySettings(), RemoteSinkGUI::onMenuDialogCalled(), RemoteSinkGUI::RemoteSinkGUI(), resetToDefaults(), serialize(), RemoteSink::webapiFormatChannelSettings(), RemoteSink::webapiReverseSendSettings(), and RemoteSink::webapiSettingsPutPatch().
QString RemoteSinkSettings::m_title |
Definition at line 39 of file remotesinksettings.h.
Referenced by deserialize(), RemoteSinkGUI::displaySettings(), RemoteSinkGUI::onMenuDialogCalled(), resetToDefaults(), serialize(), RemoteSink::webapiFormatChannelSettings(), RemoteSink::webapiReverseSendSettings(), and RemoteSink::webapiSettingsPutPatch().
uint32_t RemoteSinkSettings::m_txDelay |
Definition at line 35 of file remotesinksettings.h.
Referenced by RemoteSink::applySettings(), deserialize(), RemoteSinkGUI::displaySettings(), RemoteSink::handleMessage(), RemoteSinkGUI::on_txDelay_valueChanged(), resetToDefaults(), serialize(), RemoteSinkGUI::updateTxDelayTime(), RemoteSink::webapiFormatChannelSettings(), RemoteSink::webapiReverseSendSettings(), and RemoteSink::webapiSettingsPutPatch().
bool RemoteSinkSettings::m_useReverseAPI |
Definition at line 42 of file remotesinksettings.h.
Referenced by RemoteSink::applySettings(), deserialize(), RemoteSinkGUI::onMenuDialogCalled(), resetToDefaults(), serialize(), RemoteSink::webapiFormatChannelSettings(), and RemoteSink::webapiSettingsPutPatch().