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 <localsinksettings.h>
Public Member Functions | |
LocalSinkSettings () | |
void | resetToDefaults () |
void | setChannelMarker (Serializable *channelMarker) |
QByteArray | serialize () const |
bool | deserialize (const QByteArray &data) |
Public Attributes | |
uint32_t | m_localDeviceIndex |
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 26 of file localsinksettings.h.
LocalSinkSettings::LocalSinkSettings | ( | ) |
Definition at line 26 of file localsinksettings.cpp.
References resetToDefaults().
bool LocalSinkSettings::deserialize | ( | const QByteArray & | data | ) |
Definition at line 63 of file localsinksettings.cpp.
References SimpleDeserializer::getVersion(), SimpleDeserializer::isValid(), m_filterChainHash, m_localDeviceIndex, m_log2Decim, m_reverseAPIAddress, m_reverseAPIChannelIndex, m_reverseAPIDeviceIndex, m_reverseAPIPort, m_rgbColor, m_title, m_useReverseAPI, SimpleDeserializer::readBool(), SimpleDeserializer::readString(), SimpleDeserializer::readU32(), and resetToDefaults().
Referenced by LocalSinkGUI::deserialize(), LocalSink::deserialize(), and setChannelMarker().
void LocalSinkSettings::resetToDefaults | ( | ) |
Definition at line 31 of file localsinksettings.cpp.
References m_channelMarker, m_filterChainHash, m_localDeviceIndex, m_log2Decim, m_reverseAPIAddress, m_reverseAPIChannelIndex, m_reverseAPIDeviceIndex, m_reverseAPIPort, m_rgbColor, m_title, and m_useReverseAPI.
Referenced by deserialize(), LocalSink::deserialize(), LocalSinkSettings(), and LocalSinkGUI::resetToDefaults().
QByteArray LocalSinkSettings::serialize | ( | ) | const |
Definition at line 46 of file localsinksettings.cpp.
References SimpleSerializer::final(), m_filterChainHash, m_localDeviceIndex, m_log2Decim, m_reverseAPIAddress, m_reverseAPIChannelIndex, m_reverseAPIDeviceIndex, m_reverseAPIPort, m_rgbColor, m_title, m_useReverseAPI, SimpleSerializer::writeBool(), SimpleSerializer::writeString(), and SimpleSerializer::writeU32().
Referenced by LocalSinkGUI::serialize(), LocalSink::serialize(), and setChannelMarker().
|
inline |
Definition at line 43 of file localsinksettings.h.
References deserialize(), and serialize().
Referenced by LocalSinkGUI::LocalSinkGUI().
Serializable* LocalSinkSettings::m_channelMarker |
Definition at line 39 of file localsinksettings.h.
Referenced by resetToDefaults().
uint32_t LocalSinkSettings::m_filterChainHash |
Definition at line 32 of file localsinksettings.h.
Referenced by LocalSinkGUI::applyChannelSettings(), LocalSinkGUI::applyDecimation(), LocalSinkGUI::applyPosition(), LocalSink::calculateFrequencyOffset(), deserialize(), LocalSink::handleMessage(), LocalSinkGUI::on_position_valueChanged(), resetToDefaults(), serialize(), LocalSink::validateFilterChainHash(), LocalSink::webapiFormatChannelSettings(), LocalSink::webapiReverseSendSettings(), and LocalSink::webapiSettingsPutPatch().
uint32_t LocalSinkSettings::m_localDeviceIndex |
Definition at line 28 of file localsinksettings.h.
Referenced by LocalSink::applySettings(), deserialize(), LocalSink::handleMessage(), LocalSinkGUI::on_localDevice_currentIndexChanged(), resetToDefaults(), serialize(), LocalSink::start(), LocalSink::webapiFormatChannelSettings(), LocalSink::webapiReverseSendSettings(), and LocalSink::webapiSettingsPutPatch().
uint32_t LocalSinkSettings::m_log2Decim |
Definition at line 31 of file localsinksettings.h.
Referenced by LocalSinkGUI::applyChannelSettings(), LocalSinkGUI::applyDecimation(), LocalSinkGUI::applyPosition(), LocalSink::calculateFrequencyOffset(), deserialize(), LocalSinkGUI::displayRateAndShift(), LocalSinkGUI::displaySettings(), LocalSink::handleMessage(), LocalSinkGUI::on_decimationFactor_currentIndexChanged(), LocalSink::propagateSampleRateAndFrequency(), resetToDefaults(), serialize(), LocalSink::validateFilterChainHash(), LocalSink::webapiFormatChannelSettings(), LocalSink::webapiReverseSendSettings(), and LocalSink::webapiSettingsPutPatch().
QString LocalSinkSettings::m_reverseAPIAddress |
Definition at line 34 of file localsinksettings.h.
Referenced by LocalSink::applySettings(), deserialize(), LocalSinkGUI::onMenuDialogCalled(), resetToDefaults(), serialize(), LocalSink::webapiFormatChannelSettings(), LocalSink::webapiReverseSendSettings(), and LocalSink::webapiSettingsPutPatch().
uint16_t LocalSinkSettings::m_reverseAPIChannelIndex |
Definition at line 37 of file localsinksettings.h.
Referenced by LocalSink::applySettings(), deserialize(), LocalSinkGUI::onMenuDialogCalled(), resetToDefaults(), serialize(), LocalSink::webapiFormatChannelSettings(), LocalSink::webapiReverseSendSettings(), and LocalSink::webapiSettingsPutPatch().
uint16_t LocalSinkSettings::m_reverseAPIDeviceIndex |
Definition at line 36 of file localsinksettings.h.
Referenced by LocalSink::applySettings(), deserialize(), LocalSinkGUI::onMenuDialogCalled(), resetToDefaults(), serialize(), LocalSink::webapiFormatChannelSettings(), LocalSink::webapiReverseSendSettings(), and LocalSink::webapiSettingsPutPatch().
uint16_t LocalSinkSettings::m_reverseAPIPort |
Definition at line 35 of file localsinksettings.h.
Referenced by LocalSink::applySettings(), deserialize(), LocalSinkGUI::onMenuDialogCalled(), resetToDefaults(), serialize(), LocalSink::webapiFormatChannelSettings(), LocalSink::webapiReverseSendSettings(), and LocalSink::webapiSettingsPutPatch().
quint32 LocalSinkSettings::m_rgbColor |
Definition at line 29 of file localsinksettings.h.
Referenced by deserialize(), LocalSinkGUI::displaySettings(), LocalSinkGUI::LocalSinkGUI(), LocalSinkGUI::onMenuDialogCalled(), resetToDefaults(), serialize(), LocalSink::webapiFormatChannelSettings(), LocalSink::webapiReverseSendSettings(), and LocalSink::webapiSettingsPutPatch().
QString LocalSinkSettings::m_title |
Definition at line 30 of file localsinksettings.h.
Referenced by deserialize(), LocalSinkGUI::displaySettings(), LocalSinkGUI::onMenuDialogCalled(), resetToDefaults(), serialize(), LocalSink::webapiFormatChannelSettings(), LocalSink::webapiReverseSendSettings(), and LocalSink::webapiSettingsPutPatch().
bool LocalSinkSettings::m_useReverseAPI |
Definition at line 33 of file localsinksettings.h.
Referenced by LocalSink::applySettings(), deserialize(), LocalSinkGUI::onMenuDialogCalled(), resetToDefaults(), serialize(), LocalSink::webapiFormatChannelSettings(), and LocalSink::webapiSettingsPutPatch().