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 <freqtrackersettings.h>
Public Types | |
enum | TrackerType { TrackerNone, TrackerFLL, TrackerPLL } |
Public Member Functions | |
FreqTrackerSettings () | |
void | resetToDefaults () |
void | setChannelMarker (Serializable *channelMarker) |
QByteArray | serialize () const |
bool | deserialize (const QByteArray &data) |
Public Attributes | |
qint32 | m_inputFrequencyOffset |
Real | m_rfBandwidth |
uint32_t | m_log2Decim |
Real | m_squelch |
quint32 | m_rgbColor |
QString | m_title |
Serializable * | m_channelMarker |
float | m_alphaEMA |
alpha factor for delta frequency EMA More... | |
bool | m_tracking |
TrackerType | m_trackerType |
uint32_t | m_pllPskOrder |
bool | m_rrc |
uint32_t | m_rrcRolloff |
in 100ths More... | |
int | m_squelchGate |
in 10s of ms More... | |
bool | m_useReverseAPI |
QString | m_reverseAPIAddress |
uint16_t | m_reverseAPIPort |
uint16_t | m_reverseAPIDeviceIndex |
uint16_t | m_reverseAPIChannelIndex |
Definition at line 28 of file freqtrackersettings.h.
FreqTrackerSettings::FreqTrackerSettings | ( | ) |
Definition at line 25 of file freqtrackersettings.cpp.
References resetToDefaults().
bool FreqTrackerSettings::deserialize | ( | const QByteArray & | data | ) |
Definition at line 83 of file freqtrackersettings.cpp.
References Serializable::deserialize(), SimpleDeserializer::getVersion(), SimpleDeserializer::isValid(), m_alphaEMA, m_channelMarker, m_inputFrequencyOffset, m_log2Decim, m_pllPskOrder, m_reverseAPIAddress, m_reverseAPIChannelIndex, m_reverseAPIDeviceIndex, m_reverseAPIPort, m_rfBandwidth, m_rgbColor, m_rrc, m_rrcRolloff, m_squelch, m_squelchGate, m_title, m_trackerType, m_tracking, m_useReverseAPI, SimpleDeserializer::readBlob(), SimpleDeserializer::readBool(), SimpleDeserializer::readFloat(), SimpleDeserializer::readS32(), SimpleDeserializer::readString(), SimpleDeserializer::readU32(), resetToDefaults(), and TrackerPLL.
Referenced by FreqTrackerGUI::deserialize(), FreqTracker::deserialize(), and setChannelMarker().
void FreqTrackerSettings::resetToDefaults | ( | ) |
Definition at line 31 of file freqtrackersettings.cpp.
References m_alphaEMA, m_inputFrequencyOffset, m_log2Decim, m_pllPskOrder, m_reverseAPIAddress, m_reverseAPIChannelIndex, m_reverseAPIDeviceIndex, m_reverseAPIPort, m_rfBandwidth, m_rgbColor, m_rrc, m_rrcRolloff, m_squelch, m_squelchGate, m_title, m_trackerType, m_tracking, m_useReverseAPI, and TrackerFLL.
Referenced by deserialize(), FreqTracker::deserialize(), FreqTrackerSettings(), and FreqTrackerGUI::resetToDefaults().
QByteArray FreqTrackerSettings::serialize | ( | ) | const |
Definition at line 53 of file freqtrackersettings.cpp.
References SimpleSerializer::final(), m_alphaEMA, m_channelMarker, m_inputFrequencyOffset, m_log2Decim, m_pllPskOrder, m_reverseAPIAddress, m_reverseAPIChannelIndex, m_reverseAPIDeviceIndex, m_reverseAPIPort, m_rfBandwidth, m_rgbColor, m_rrc, m_rrcRolloff, m_squelch, m_squelchGate, m_title, m_trackerType, m_tracking, m_useReverseAPI, Serializable::serialize(), SimpleSerializer::writeBlob(), SimpleSerializer::writeBool(), SimpleSerializer::writeFloat(), SimpleSerializer::writeS32(), SimpleSerializer::writeString(), and SimpleSerializer::writeU32().
Referenced by FreqTrackerGUI::serialize(), FreqTracker::serialize(), and setChannelMarker().
|
inline |
Definition at line 59 of file freqtrackersettings.h.
References deserialize(), and serialize().
Referenced by FreqTrackerGUI::FreqTrackerGUI().
float FreqTrackerSettings::m_alphaEMA |
alpha factor for delta frequency EMA
Definition at line 44 of file freqtrackersettings.h.
Referenced by FreqTracker::applySettings(), deserialize(), FreqTrackerGUI::displaySettings(), FreqTrackerGUI::on_alphaEMA_valueChanged(), resetToDefaults(), serialize(), FreqTracker::tick(), FreqTracker::webapiFormatChannelSettings(), and FreqTracker::webapiSettingsPutPatch().
Serializable* FreqTrackerSettings::m_channelMarker |
Definition at line 43 of file freqtrackersettings.h.
Referenced by deserialize(), and serialize().
qint32 FreqTrackerSettings::m_inputFrequencyOffset |
Definition at line 37 of file freqtrackersettings.h.
Referenced by FreqTracker::applySettings(), FreqTrackerGUI::channelMarkerChangedByCursor(), FreqTracker::configureChannelizer(), deserialize(), FreqTrackerGUI::displaySettings(), FreqTracker::getCenterFrequency(), FreqTracker::getStreamCenterFrequency(), FreqTrackerGUI::handleMessage(), FreqTrackerGUI::on_deltaFrequency_changed(), FreqTrackerGUI::onMenuDialogCalled(), resetToDefaults(), serialize(), FreqTracker::tick(), FreqTracker::webapiFormatChannelSettings(), FreqTracker::webapiReverseSendSettings(), and FreqTracker::webapiSettingsPutPatch().
uint32_t FreqTrackerSettings::m_log2Decim |
Definition at line 39 of file freqtrackersettings.h.
Referenced by FreqTracker::applySettings(), FreqTracker::configureChannelizer(), deserialize(), FreqTrackerGUI::displaySettings(), FreqTrackerGUI::on_log2Decim_currentIndexChanged(), resetToDefaults(), serialize(), FreqTracker::webapiFormatChannelSettings(), and FreqTracker::webapiSettingsPutPatch().
uint32_t FreqTrackerSettings::m_pllPskOrder |
Definition at line 47 of file freqtrackersettings.h.
Referenced by FreqTracker::applySettings(), deserialize(), FreqTrackerGUI::displaySettings(), FreqTrackerGUI::on_pllPskOrder_currentIndexChanged(), resetToDefaults(), serialize(), FreqTracker::webapiFormatChannelSettings(), and FreqTracker::webapiSettingsPutPatch().
QString FreqTrackerSettings::m_reverseAPIAddress |
Definition at line 52 of file freqtrackersettings.h.
Referenced by FreqTracker::applySettings(), deserialize(), FreqTrackerGUI::onMenuDialogCalled(), resetToDefaults(), serialize(), FreqTracker::webapiFormatChannelSettings(), FreqTracker::webapiReverseSendSettings(), and FreqTracker::webapiSettingsPutPatch().
uint16_t FreqTrackerSettings::m_reverseAPIChannelIndex |
Definition at line 55 of file freqtrackersettings.h.
Referenced by FreqTracker::applySettings(), deserialize(), FreqTrackerGUI::onMenuDialogCalled(), resetToDefaults(), serialize(), FreqTracker::webapiFormatChannelSettings(), FreqTracker::webapiReverseSendSettings(), and FreqTracker::webapiSettingsPutPatch().
uint16_t FreqTrackerSettings::m_reverseAPIDeviceIndex |
Definition at line 54 of file freqtrackersettings.h.
Referenced by FreqTracker::applySettings(), deserialize(), FreqTrackerGUI::onMenuDialogCalled(), resetToDefaults(), serialize(), FreqTracker::webapiFormatChannelSettings(), FreqTracker::webapiReverseSendSettings(), and FreqTracker::webapiSettingsPutPatch().
uint16_t FreqTrackerSettings::m_reverseAPIPort |
Definition at line 53 of file freqtrackersettings.h.
Referenced by FreqTracker::applySettings(), deserialize(), FreqTrackerGUI::onMenuDialogCalled(), resetToDefaults(), serialize(), FreqTracker::webapiFormatChannelSettings(), FreqTracker::webapiReverseSendSettings(), and FreqTracker::webapiSettingsPutPatch().
Real FreqTrackerSettings::m_rfBandwidth |
Definition at line 38 of file freqtrackersettings.h.
Referenced by FreqTracker::applySettings(), deserialize(), FreqTrackerGUI::displaySettings(), FreqTracker::FreqTracker(), FreqTrackerGUI::on_rfBW_valueChanged(), resetToDefaults(), serialize(), FreqTracker::setInterpolator(), FreqTracker::webapiFormatChannelSettings(), FreqTracker::webapiReverseSendSettings(), and FreqTracker::webapiSettingsPutPatch().
quint32 FreqTrackerSettings::m_rgbColor |
Definition at line 41 of file freqtrackersettings.h.
Referenced by FreqTracker::applySettings(), deserialize(), FreqTrackerGUI::displaySettings(), FreqTrackerGUI::onMenuDialogCalled(), resetToDefaults(), serialize(), FreqTracker::webapiFormatChannelSettings(), FreqTracker::webapiReverseSendSettings(), and FreqTracker::webapiSettingsPutPatch().
bool FreqTrackerSettings::m_rrc |
Definition at line 48 of file freqtrackersettings.h.
Referenced by FreqTracker::applySettings(), deserialize(), FreqTrackerGUI::displaySettings(), FreqTrackerGUI::on_rrc_toggled(), FreqTracker::processOneSample(), resetToDefaults(), serialize(), FreqTracker::webapiFormatChannelSettings(), and FreqTracker::webapiSettingsPutPatch().
uint32_t FreqTrackerSettings::m_rrcRolloff |
in 100ths
Definition at line 49 of file freqtrackersettings.h.
Referenced by FreqTracker::applySettings(), deserialize(), FreqTrackerGUI::displaySettings(), FreqTrackerGUI::on_rrcRolloff_valueChanged(), resetToDefaults(), serialize(), FreqTracker::setInterpolator(), FreqTracker::webapiFormatChannelSettings(), and FreqTracker::webapiSettingsPutPatch().
Real FreqTrackerSettings::m_squelch |
Definition at line 40 of file freqtrackersettings.h.
Referenced by FreqTracker::applySettings(), deserialize(), FreqTrackerGUI::displaySettings(), FreqTrackerGUI::on_squelch_valueChanged(), resetToDefaults(), serialize(), FreqTracker::webapiFormatChannelSettings(), FreqTracker::webapiReverseSendSettings(), and FreqTracker::webapiSettingsPutPatch().
int FreqTrackerSettings::m_squelchGate |
in 10s of ms
Definition at line 50 of file freqtrackersettings.h.
Referenced by FreqTracker::applySettings(), deserialize(), FreqTrackerGUI::displaySettings(), FreqTrackerGUI::on_squelchGate_valueChanged(), resetToDefaults(), serialize(), FreqTracker::setInterpolator(), FreqTracker::webapiFormatChannelSettings(), and FreqTracker::webapiSettingsPutPatch().
QString FreqTrackerSettings::m_title |
Definition at line 42 of file freqtrackersettings.h.
Referenced by FreqTracker::applySettings(), deserialize(), FreqTrackerGUI::displaySettings(), FreqTracker::getTitle(), FreqTrackerGUI::onMenuDialogCalled(), resetToDefaults(), serialize(), FreqTracker::webapiFormatChannelSettings(), FreqTracker::webapiReverseSendSettings(), and FreqTracker::webapiSettingsPutPatch().
TrackerType FreqTrackerSettings::m_trackerType |
Definition at line 46 of file freqtrackersettings.h.
Referenced by FreqTracker::applySettings(), deserialize(), FreqTrackerGUI::displaySettings(), FreqTracker::getFrequency(), FreqTracker::getPllLocked(), FreqTrackerGUI::on_trackerType_currentIndexChanged(), FreqTracker::processOneSample(), resetToDefaults(), serialize(), FreqTracker::webapiFormatChannelSettings(), FreqTracker::webapiReverseSendSettings(), and FreqTracker::webapiSettingsPutPatch().
bool FreqTrackerSettings::m_tracking |
Definition at line 45 of file freqtrackersettings.h.
Referenced by FreqTracker::applyChannelSettings(), FreqTracker::applySettings(), FreqTracker::configureChannelizer(), deserialize(), FreqTrackerGUI::displaySettings(), FreqTrackerGUI::handleMessage(), FreqTracker::handleMessage(), FreqTrackerGUI::on_tracking_toggled(), resetToDefaults(), serialize(), FreqTrackerGUI::tick(), FreqTracker::tick(), FreqTracker::webapiFormatChannelSettings(), and FreqTracker::webapiSettingsPutPatch().
bool FreqTrackerSettings::m_useReverseAPI |
Definition at line 51 of file freqtrackersettings.h.
Referenced by FreqTracker::applySettings(), deserialize(), FreqTrackerGUI::onMenuDialogCalled(), resetToDefaults(), serialize(), FreqTracker::webapiFormatChannelSettings(), and FreqTracker::webapiSettingsPutPatch().