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 <dsddemodsettings.h>
Public Member Functions | |
DSDDemodSettings () | |
void | resetToDefaults () |
void | setChannelMarker (Serializable *channelMarker) |
void | setScopeGUI (Serializable *scopeGUI) |
QByteArray | serialize () const |
bool | deserialize (const QByteArray &data) |
Public Attributes | |
qint64 | m_inputFrequencyOffset |
Real | m_rfBandwidth |
Real | m_fmDeviation |
Real | m_demodGain |
Real | m_volume |
int | m_baudRate |
int | m_squelchGate |
Real | m_squelch |
bool | m_audioMute |
bool | m_enableCosineFiltering |
bool | m_syncOrConstellation |
bool | m_slot1On |
bool | m_slot2On |
bool | m_tdmaStereo |
bool | m_pllLock |
quint32 | m_rgbColor |
QString | m_title |
bool | m_highPassFilter |
int | m_traceLengthMutliplier |
int | m_traceStroke |
int | m_traceDecay |
QString | m_audioDeviceName |
bool | m_useReverseAPI |
QString | m_reverseAPIAddress |
uint16_t | m_reverseAPIPort |
uint16_t | m_reverseAPIDeviceIndex |
uint16_t | m_reverseAPIChannelIndex |
Serializable * | m_channelMarker |
Serializable * | m_scopeGUI |
Definition at line 25 of file dsddemodsettings.h.
DSDDemodSettings::DSDDemodSettings | ( | ) |
Definition at line 25 of file dsddemodsettings.cpp.
References resetToDefaults().
bool DSDDemodSettings::deserialize | ( | const QByteArray & | data | ) |
Definition at line 107 of file dsddemodsettings.cpp.
References Serializable::deserialize(), SimpleDeserializer::getVersion(), SimpleDeserializer::isValid(), m_audioDeviceName, m_audioMute, m_baudRate, m_channelMarker, AudioDeviceManager::m_defaultDeviceName, m_demodGain, m_enableCosineFiltering, m_fmDeviation, m_highPassFilter, m_inputFrequencyOffset, m_pllLock, m_reverseAPIAddress, m_reverseAPIChannelIndex, m_reverseAPIDeviceIndex, m_reverseAPIPort, m_rfBandwidth, m_rgbColor, m_scopeGUI, m_slot1On, m_slot2On, m_squelch, m_squelchGate, m_syncOrConstellation, m_tdmaStereo, m_title, m_traceDecay, m_traceLengthMutliplier, m_traceStroke, m_useReverseAPI, m_volume, SimpleDeserializer::readBlob(), SimpleDeserializer::readBool(), SimpleDeserializer::readS32(), SimpleDeserializer::readString(), SimpleDeserializer::readU32(), and resetToDefaults().
Referenced by DSDDemodGUI::deserialize(), DSDDemod::deserialize(), and setScopeGUI().
void DSDDemodSettings::resetToDefaults | ( | ) |
Definition at line 32 of file dsddemodsettings.cpp.
References m_audioDeviceName, m_audioMute, m_baudRate, AudioDeviceManager::m_defaultDeviceName, m_demodGain, m_enableCosineFiltering, m_fmDeviation, m_highPassFilter, m_inputFrequencyOffset, m_pllLock, m_reverseAPIAddress, m_reverseAPIChannelIndex, m_reverseAPIDeviceIndex, m_reverseAPIPort, m_rfBandwidth, m_rgbColor, m_slot1On, m_slot2On, m_squelch, m_squelchGate, m_syncOrConstellation, m_tdmaStereo, m_title, m_traceDecay, m_traceLengthMutliplier, m_traceStroke, m_useReverseAPI, and m_volume.
Referenced by deserialize(), DSDDemod::deserialize(), DSDDemodSettings(), and DSDDemodGUI::resetToDefaults().
QByteArray DSDDemodSettings::serialize | ( | ) | const |
Definition at line 63 of file dsddemodsettings.cpp.
References SimpleSerializer::final(), m_audioDeviceName, m_audioMute, m_baudRate, m_channelMarker, m_demodGain, m_enableCosineFiltering, m_fmDeviation, m_highPassFilter, m_inputFrequencyOffset, m_pllLock, m_reverseAPIAddress, m_reverseAPIChannelIndex, m_reverseAPIDeviceIndex, m_reverseAPIPort, m_rfBandwidth, m_rgbColor, m_scopeGUI, m_slot1On, m_slot2On, m_squelch, m_squelchGate, m_syncOrConstellation, m_tdmaStereo, m_title, m_traceDecay, m_traceLengthMutliplier, m_traceStroke, m_useReverseAPI, m_volume, Serializable::serialize(), SimpleSerializer::writeBlob(), SimpleSerializer::writeBool(), SimpleSerializer::writeS32(), SimpleSerializer::writeString(), and SimpleSerializer::writeU32().
Referenced by DSDDemodGUI::serialize(), DSDDemod::serialize(), and setScopeGUI().
|
inline |
Definition at line 60 of file dsddemodsettings.h.
Referenced by DSDDemodGUI::DSDDemodGUI().
|
inline |
Definition at line 61 of file dsddemodsettings.h.
References deserialize(), and serialize().
QString DSDDemodSettings::m_audioDeviceName |
Definition at line 48 of file dsddemodsettings.h.
Referenced by DSDDemod::applySettings(), DSDDemodGUI::audioSelect(), deserialize(), resetToDefaults(), serialize(), DSDDemod::webapiFormatChannelSettings(), DSDDemod::webapiReverseSendSettings(), and DSDDemod::webapiSettingsPutPatch().
bool DSDDemodSettings::m_audioMute |
Definition at line 35 of file dsddemodsettings.h.
Referenced by DSDDemod::applySettings(), deserialize(), DSDDemodGUI::displaySettings(), DSDDemod::feed(), DSDDemodGUI::on_audioMute_toggled(), resetToDefaults(), serialize(), DSDDemod::webapiFormatChannelSettings(), DSDDemod::webapiReverseSendSettings(), and DSDDemod::webapiSettingsPutPatch().
int DSDDemodSettings::m_baudRate |
Definition at line 32 of file dsddemodsettings.h.
Referenced by DSDDemod::applySettings(), deserialize(), DSDDemodGUI::displaySettings(), DSDDemodGUI::on_baudRate_currentIndexChanged(), resetToDefaults(), serialize(), DSDDemod::webapiFormatChannelSettings(), DSDDemod::webapiReverseSendSettings(), and DSDDemod::webapiSettingsPutPatch().
Serializable* DSDDemodSettings::m_channelMarker |
Definition at line 55 of file dsddemodsettings.h.
Referenced by deserialize(), and serialize().
Real DSDDemodSettings::m_demodGain |
Definition at line 30 of file dsddemodsettings.h.
Referenced by DSDDemod::applySettings(), deserialize(), DSDDemodGUI::displaySettings(), DSDDemod::feed(), DSDDemodGUI::on_demodGain_valueChanged(), resetToDefaults(), serialize(), DSDDemod::webapiFormatChannelSettings(), DSDDemod::webapiReverseSendSettings(), and DSDDemod::webapiSettingsPutPatch().
bool DSDDemodSettings::m_enableCosineFiltering |
Definition at line 36 of file dsddemodsettings.h.
Referenced by DSDDemod::applySettings(), deserialize(), DSDDemodGUI::displaySettings(), DSDDemod::feed(), DSDDemodGUI::on_enableCosineFiltering_toggled(), resetToDefaults(), serialize(), DSDDemod::webapiFormatChannelSettings(), DSDDemod::webapiReverseSendSettings(), and DSDDemod::webapiSettingsPutPatch().
Real DSDDemodSettings::m_fmDeviation |
Definition at line 29 of file dsddemodsettings.h.
Referenced by DSDDemod::applySettings(), deserialize(), DSDDemodGUI::displaySettings(), DSDDemodGUI::on_fmDeviation_valueChanged(), resetToDefaults(), serialize(), DSDDemod::webapiFormatChannelSettings(), DSDDemod::webapiReverseSendSettings(), and DSDDemod::webapiSettingsPutPatch().
bool DSDDemodSettings::m_highPassFilter |
Definition at line 44 of file dsddemodsettings.h.
Referenced by DSDDemod::applySettings(), deserialize(), DSDDemodGUI::displaySettings(), DSDDemod::feed(), DSDDemodGUI::on_highPassFilter_toggled(), resetToDefaults(), serialize(), DSDDemod::webapiFormatChannelSettings(), DSDDemod::webapiReverseSendSettings(), and DSDDemod::webapiSettingsPutPatch().
qint64 DSDDemodSettings::m_inputFrequencyOffset |
Definition at line 27 of file dsddemodsettings.h.
Referenced by DSDDemod::applySettings(), DSDDemodGUI::channelMarkerChangedByCursor(), deserialize(), DSDDemodGUI::displaySettings(), DSDDemod::getCenterFrequency(), DSDDemod::getStreamCenterFrequency(), DSDDemodGUI::on_deltaFrequency_changed(), DSDDemodGUI::onMenuDialogCalled(), resetToDefaults(), serialize(), DSDDemod::webapiFormatChannelSettings(), DSDDemod::webapiReverseSendSettings(), and DSDDemod::webapiSettingsPutPatch().
bool DSDDemodSettings::m_pllLock |
Definition at line 41 of file dsddemodsettings.h.
Referenced by DSDDemod::applySettings(), deserialize(), DSDDemodGUI::displaySettings(), DSDDemodGUI::on_symbolPLLLock_toggled(), resetToDefaults(), serialize(), DSDDemod::webapiFormatChannelSettings(), DSDDemod::webapiReverseSendSettings(), and DSDDemod::webapiSettingsPutPatch().
QString DSDDemodSettings::m_reverseAPIAddress |
Definition at line 50 of file dsddemodsettings.h.
Referenced by DSDDemod::applySettings(), deserialize(), DSDDemodGUI::onMenuDialogCalled(), resetToDefaults(), serialize(), DSDDemod::webapiFormatChannelSettings(), DSDDemod::webapiReverseSendSettings(), and DSDDemod::webapiSettingsPutPatch().
uint16_t DSDDemodSettings::m_reverseAPIChannelIndex |
Definition at line 53 of file dsddemodsettings.h.
Referenced by DSDDemod::applySettings(), deserialize(), DSDDemodGUI::onMenuDialogCalled(), resetToDefaults(), serialize(), DSDDemod::webapiFormatChannelSettings(), DSDDemod::webapiReverseSendSettings(), and DSDDemod::webapiSettingsPutPatch().
uint16_t DSDDemodSettings::m_reverseAPIDeviceIndex |
Definition at line 52 of file dsddemodsettings.h.
Referenced by DSDDemod::applySettings(), deserialize(), DSDDemodGUI::onMenuDialogCalled(), resetToDefaults(), serialize(), DSDDemod::webapiFormatChannelSettings(), DSDDemod::webapiReverseSendSettings(), and DSDDemod::webapiSettingsPutPatch().
uint16_t DSDDemodSettings::m_reverseAPIPort |
Definition at line 51 of file dsddemodsettings.h.
Referenced by DSDDemod::applySettings(), deserialize(), DSDDemodGUI::onMenuDialogCalled(), resetToDefaults(), serialize(), DSDDemod::webapiFormatChannelSettings(), DSDDemod::webapiReverseSendSettings(), and DSDDemod::webapiSettingsPutPatch().
Real DSDDemodSettings::m_rfBandwidth |
Definition at line 28 of file dsddemodsettings.h.
Referenced by DSDDemod::applyChannelSettings(), DSDDemod::applySettings(), deserialize(), DSDDemodGUI::displaySettings(), DSDDemodGUI::on_rfBW_valueChanged(), resetToDefaults(), serialize(), DSDDemod::webapiFormatChannelSettings(), DSDDemod::webapiReverseSendSettings(), and DSDDemod::webapiSettingsPutPatch().
quint32 DSDDemodSettings::m_rgbColor |
Definition at line 42 of file dsddemodsettings.h.
Referenced by deserialize(), DSDDemodGUI::displaySettings(), DSDDemodGUI::onMenuDialogCalled(), resetToDefaults(), serialize(), DSDDemod::webapiFormatChannelSettings(), DSDDemod::webapiReverseSendSettings(), and DSDDemod::webapiSettingsPutPatch().
Serializable* DSDDemodSettings::m_scopeGUI |
Definition at line 56 of file dsddemodsettings.h.
Referenced by deserialize(), and serialize().
bool DSDDemodSettings::m_slot1On |
Definition at line 38 of file dsddemodsettings.h.
Referenced by DSDDemod::applySettings(), deserialize(), DSDDemodGUI::displaySettings(), DSDDemod::feed(), DSDDemodGUI::on_slot1On_toggled(), resetToDefaults(), serialize(), DSDDemod::webapiFormatChannelSettings(), DSDDemod::webapiReverseSendSettings(), and DSDDemod::webapiSettingsPutPatch().
bool DSDDemodSettings::m_slot2On |
Definition at line 39 of file dsddemodsettings.h.
Referenced by DSDDemod::applySettings(), deserialize(), DSDDemodGUI::displaySettings(), DSDDemod::feed(), DSDDemodGUI::on_slot2On_toggled(), resetToDefaults(), serialize(), DSDDemod::webapiFormatChannelSettings(), DSDDemod::webapiReverseSendSettings(), and DSDDemod::webapiSettingsPutPatch().
Real DSDDemodSettings::m_squelch |
Definition at line 34 of file dsddemodsettings.h.
Referenced by DSDDemod::applySettings(), deserialize(), DSDDemodGUI::displaySettings(), DSDDemodGUI::on_squelch_valueChanged(), resetToDefaults(), serialize(), DSDDemod::webapiFormatChannelSettings(), DSDDemod::webapiReverseSendSettings(), and DSDDemod::webapiSettingsPutPatch().
int DSDDemodSettings::m_squelchGate |
Definition at line 33 of file dsddemodsettings.h.
Referenced by DSDDemod::applySettings(), deserialize(), DSDDemodGUI::displaySettings(), DSDDemodGUI::on_squelchGate_valueChanged(), resetToDefaults(), serialize(), DSDDemod::webapiFormatChannelSettings(), DSDDemod::webapiReverseSendSettings(), and DSDDemod::webapiSettingsPutPatch().
bool DSDDemodSettings::m_syncOrConstellation |
Definition at line 37 of file dsddemodsettings.h.
Referenced by DSDDemod::applySettings(), deserialize(), DSDDemodGUI::displaySettings(), DSDDemod::feed(), DSDDemodGUI::on_syncOrConstellation_toggled(), resetToDefaults(), serialize(), DSDDemod::webapiFormatChannelSettings(), DSDDemod::webapiReverseSendSettings(), and DSDDemod::webapiSettingsPutPatch().
bool DSDDemodSettings::m_tdmaStereo |
Definition at line 40 of file dsddemodsettings.h.
Referenced by DSDDemod::applySettings(), deserialize(), DSDDemodGUI::displaySettings(), DSDDemod::feed(), DSDDemodGUI::on_tdmaStereoSplit_toggled(), resetToDefaults(), serialize(), DSDDemod::webapiFormatChannelSettings(), DSDDemod::webapiReverseSendSettings(), and DSDDemod::webapiSettingsPutPatch().
QString DSDDemodSettings::m_title |
Definition at line 43 of file dsddemodsettings.h.
Referenced by deserialize(), DSDDemodGUI::displaySettings(), DSDDemod::getTitle(), DSDDemodGUI::onMenuDialogCalled(), resetToDefaults(), serialize(), DSDDemod::webapiFormatChannelSettings(), DSDDemod::webapiReverseSendSettings(), and DSDDemod::webapiSettingsPutPatch().
int DSDDemodSettings::m_traceDecay |
Definition at line 47 of file dsddemodsettings.h.
Referenced by DSDDemod::applySettings(), deserialize(), DSDDemodGUI::displaySettings(), DSDDemodGUI::on_traceDecay_valueChanged(), resetToDefaults(), serialize(), DSDDemod::webapiFormatChannelSettings(), DSDDemod::webapiReverseSendSettings(), and DSDDemod::webapiSettingsPutPatch().
int DSDDemodSettings::m_traceLengthMutliplier |
Definition at line 45 of file dsddemodsettings.h.
Referenced by DSDDemod::applySettings(), deserialize(), DSDDemodGUI::displaySettings(), DSDDemodGUI::on_traceLength_valueChanged(), resetToDefaults(), serialize(), DSDDemod::webapiFormatChannelSettings(), DSDDemod::webapiReverseSendSettings(), and DSDDemod::webapiSettingsPutPatch().
int DSDDemodSettings::m_traceStroke |
Definition at line 46 of file dsddemodsettings.h.
Referenced by DSDDemod::applySettings(), deserialize(), DSDDemodGUI::displaySettings(), DSDDemodGUI::on_traceStroke_valueChanged(), resetToDefaults(), serialize(), DSDDemod::webapiFormatChannelSettings(), DSDDemod::webapiReverseSendSettings(), and DSDDemod::webapiSettingsPutPatch().
bool DSDDemodSettings::m_useReverseAPI |
Definition at line 49 of file dsddemodsettings.h.
Referenced by DSDDemod::applySettings(), deserialize(), DSDDemodGUI::onMenuDialogCalled(), resetToDefaults(), serialize(), DSDDemod::webapiFormatChannelSettings(), and DSDDemod::webapiSettingsPutPatch().
Real DSDDemodSettings::m_volume |
Definition at line 31 of file dsddemodsettings.h.
Referenced by DSDDemod::applySettings(), deserialize(), DSDDemodGUI::displaySettings(), DSDDemod::feed(), DSDDemodGUI::on_volume_valueChanged(), resetToDefaults(), serialize(), DSDDemod::webapiFormatChannelSettings(), DSDDemod::webapiReverseSendSettings(), and DSDDemod::webapiSettingsPutPatch().