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 <chanalyzersettings.h>
Public Types | |
enum | InputType { InputSignal, InputPLL, InputAutoCorr } |
Public Member Functions | |
ChannelAnalyzerSettings () | |
void | resetToDefaults () |
void | setChannelMarker (Serializable *channelMarker) |
void | setSpectrumGUI (Serializable *spectrumGUI) |
void | setScopeGUI (Serializable *scopeGUI) |
QByteArray | serialize () const |
bool | deserialize (const QByteArray &data) |
Public Attributes | |
int | m_frequency |
bool | m_downSample |
quint32 | m_downSampleRate |
int | m_bandwidth |
int | m_lowCutoff |
int | m_spanLog2 |
bool | m_ssb |
bool | m_pll |
bool | m_fll |
bool | m_rrc |
quint32 | m_rrcRolloff |
in 100ths More... | |
unsigned int | m_pllPskOrder |
InputType | m_inputType |
quint32 | m_rgbColor |
QString | m_title |
Serializable * | m_channelMarker |
Serializable * | m_spectrumGUI |
Serializable * | m_scopeGUI |
Definition at line 25 of file chanalyzersettings.h.
ChannelAnalyzerSettings::ChannelAnalyzerSettings | ( | ) |
Definition at line 26 of file chanalyzersettings.cpp.
References resetToDefaults().
bool ChannelAnalyzerSettings::deserialize | ( | const QByteArray & | data | ) |
Definition at line 78 of file chanalyzersettings.cpp.
References Serializable::deserialize(), SimpleDeserializer::getVersion(), SimpleDeserializer::isValid(), m_bandwidth, m_downSample, m_downSampleRate, m_fll, m_frequency, m_inputType, m_lowCutoff, m_pll, m_pllPskOrder, m_rgbColor, m_rrc, m_rrcRolloff, m_scopeGUI, m_spanLog2, m_spectrumGUI, m_ssb, m_title, SimpleDeserializer::readBlob(), SimpleDeserializer::readBool(), SimpleDeserializer::readS32(), SimpleDeserializer::readString(), SimpleDeserializer::readU32(), and resetToDefaults().
Referenced by ChannelAnalyzerGUI::deserialize(), and setScopeGUI().
void ChannelAnalyzerSettings::resetToDefaults | ( | ) |
Definition at line 34 of file chanalyzersettings.cpp.
References InputSignal, m_bandwidth, m_downSample, m_downSampleRate, m_fll, m_frequency, m_inputType, m_lowCutoff, m_pll, m_pllPskOrder, m_rgbColor, m_rrc, m_rrcRolloff, m_spanLog2, m_ssb, and m_title.
Referenced by ChannelAnalyzerSettings(), ChannelAnalyzerGUI::deserialize(), deserialize(), and ChannelAnalyzerGUI::resetToDefaults().
QByteArray ChannelAnalyzerSettings::serialize | ( | ) | const |
Definition at line 53 of file chanalyzersettings.cpp.
References SimpleSerializer::final(), m_bandwidth, m_downSample, m_downSampleRate, m_fll, m_frequency, m_inputType, m_lowCutoff, m_pll, m_pllPskOrder, m_rgbColor, m_rrc, m_rrcRolloff, m_scopeGUI, m_spanLog2, m_spectrumGUI, m_ssb, m_title, Serializable::serialize(), SimpleSerializer::writeBlob(), SimpleSerializer::writeBool(), SimpleSerializer::writeS32(), SimpleSerializer::writeString(), and SimpleSerializer::writeU32().
Referenced by ChannelAnalyzerGUI::serialize(), and setScopeGUI().
|
inline |
Definition at line 55 of file chanalyzersettings.h.
Referenced by ChannelAnalyzerGUI::ChannelAnalyzerGUI().
|
inline |
Definition at line 57 of file chanalyzersettings.h.
References deserialize(), and serialize().
Referenced by ChannelAnalyzerGUI::ChannelAnalyzerGUI().
|
inline |
Definition at line 56 of file chanalyzersettings.h.
Referenced by ChannelAnalyzerGUI::ChannelAnalyzerGUI().
int ChannelAnalyzerSettings::m_bandwidth |
Definition at line 37 of file chanalyzersettings.h.
Referenced by ChannelAnalyzer::applyChannelSettings(), ChannelAnalyzer::applySettings(), ChannelAnalyzer::ChannelAnalyzer(), deserialize(), ChannelAnalyzerGUI::displaySettings(), ChannelAnalyzerGUI::on_BW_valueChanged(), ChannelAnalyzerGUI::on_lowCut_valueChanged(), resetToDefaults(), and serialize().
Serializable* ChannelAnalyzerSettings::m_channelMarker |
Definition at line 49 of file chanalyzersettings.h.
bool ChannelAnalyzerSettings::m_downSample |
Definition at line 35 of file chanalyzersettings.h.
Referenced by ChannelAnalyzer::applyChannelSettings(), ChannelAnalyzer::applySettings(), deserialize(), ChannelAnalyzerGUI::displaySettings(), ChannelAnalyzer::getChannelSampleRate(), ChannelAnalyzerGUI::on_useRationalDownsampler_toggled(), resetToDefaults(), and serialize().
quint32 ChannelAnalyzerSettings::m_downSampleRate |
Definition at line 36 of file chanalyzersettings.h.
Referenced by ChannelAnalyzer::applyChannelSettings(), ChannelAnalyzer::applySettings(), deserialize(), ChannelAnalyzerGUI::displaySettings(), ChannelAnalyzer::getChannelSampleRate(), ChannelAnalyzerGUI::handleMessage(), ChannelAnalyzerGUI::on_channelSampleRate_changed(), resetToDefaults(), and serialize().
bool ChannelAnalyzerSettings::m_fll |
Definition at line 42 of file chanalyzersettings.h.
Referenced by ChannelAnalyzer::applySettings(), deserialize(), ChannelAnalyzerGUI::displayPLLSettings(), ChannelAnalyzer::getPllFrequency(), ChannelAnalyzerGUI::on_pllPskOrder_currentIndexChanged(), ChannelAnalyzer::processOneSample(), resetToDefaults(), and serialize().
int ChannelAnalyzerSettings::m_frequency |
Definition at line 34 of file chanalyzersettings.h.
Referenced by deserialize(), ChannelAnalyzerGUI::displaySettings(), ChannelAnalyzer::getCenterFrequency(), ChannelAnalyzer::getStreamCenterFrequency(), ChannelAnalyzerGUI::on_deltaFrequency_changed(), ChannelAnalyzerGUI::onMenuDialogCalled(), resetToDefaults(), serialize(), and ChannelAnalyzerGUI::setCenterFrequency().
InputType ChannelAnalyzerSettings::m_inputType |
Definition at line 46 of file chanalyzersettings.h.
Referenced by ChannelAnalyzer::applySettings(), deserialize(), ChannelAnalyzerGUI::displaySettings(), ChannelAnalyzer::feedOneSample(), ChannelAnalyzerGUI::on_signalSelect_currentIndexChanged(), resetToDefaults(), and serialize().
int ChannelAnalyzerSettings::m_lowCutoff |
Definition at line 38 of file chanalyzersettings.h.
Referenced by ChannelAnalyzer::applyChannelSettings(), ChannelAnalyzer::applySettings(), ChannelAnalyzer::ChannelAnalyzer(), deserialize(), ChannelAnalyzerGUI::displaySettings(), ChannelAnalyzerGUI::on_BW_valueChanged(), ChannelAnalyzerGUI::on_lowCut_valueChanged(), resetToDefaults(), and serialize().
bool ChannelAnalyzerSettings::m_pll |
Definition at line 41 of file chanalyzersettings.h.
Referenced by ChannelAnalyzer::applySettings(), deserialize(), ChannelAnalyzerGUI::displayPLLSettings(), ChannelAnalyzer::getPllFrequency(), ChannelAnalyzer::isPllLocked(), ChannelAnalyzerGUI::on_pll_toggled(), ChannelAnalyzer::processOneSample(), resetToDefaults(), and serialize().
unsigned int ChannelAnalyzerSettings::m_pllPskOrder |
Definition at line 45 of file chanalyzersettings.h.
Referenced by ChannelAnalyzer::applySettings(), deserialize(), ChannelAnalyzerGUI::displayPLLSettings(), ChannelAnalyzerGUI::on_pllPskOrder_currentIndexChanged(), resetToDefaults(), and serialize().
quint32 ChannelAnalyzerSettings::m_rgbColor |
Definition at line 47 of file chanalyzersettings.h.
Referenced by deserialize(), ChannelAnalyzerGUI::displaySettings(), ChannelAnalyzerGUI::onMenuDialogCalled(), resetToDefaults(), and serialize().
bool ChannelAnalyzerSettings::m_rrc |
Definition at line 43 of file chanalyzersettings.h.
Referenced by ChannelAnalyzer::applySettings(), deserialize(), ChannelAnalyzerGUI::displaySettings(), ChannelAnalyzerGUI::on_rrcFilter_toggled(), ChannelAnalyzer::processOneSample(), resetToDefaults(), and serialize().
quint32 ChannelAnalyzerSettings::m_rrcRolloff |
in 100ths
Definition at line 44 of file chanalyzersettings.h.
Referenced by ChannelAnalyzer::applySettings(), deserialize(), ChannelAnalyzerGUI::displaySettings(), ChannelAnalyzerGUI::on_rrcRolloff_valueChanged(), resetToDefaults(), serialize(), and ChannelAnalyzer::setFilters().
Serializable* ChannelAnalyzerSettings::m_scopeGUI |
Definition at line 51 of file chanalyzersettings.h.
Referenced by deserialize(), and serialize().
int ChannelAnalyzerSettings::m_spanLog2 |
Definition at line 39 of file chanalyzersettings.h.
Referenced by ChannelAnalyzer::applyChannelSettings(), ChannelAnalyzerGUI::applySettings(), ChannelAnalyzer::applySettings(), deserialize(), ChannelAnalyzerGUI::displaySettings(), ChannelAnalyzer::getDecimation(), ChannelAnalyzerGUI::on_spanLog2_currentIndexChanged(), ChannelAnalyzer::processOneSample(), resetToDefaults(), serialize(), and ChannelAnalyzerGUI::setNewFinalRate().
Serializable* ChannelAnalyzerSettings::m_spectrumGUI |
Definition at line 50 of file chanalyzersettings.h.
Referenced by deserialize(), and serialize().
bool ChannelAnalyzerSettings::m_ssb |
Definition at line 40 of file chanalyzersettings.h.
Referenced by ChannelAnalyzer::applySettings(), deserialize(), ChannelAnalyzerGUI::displaySettings(), ChannelAnalyzer::feed(), ChannelAnalyzer::feedOneSample(), ChannelAnalyzerGUI::on_ssb_toggled(), ChannelAnalyzer::processOneSample(), resetToDefaults(), serialize(), and ChannelAnalyzerGUI::setSpectrumDisplay().
QString ChannelAnalyzerSettings::m_title |
Definition at line 48 of file chanalyzersettings.h.
Referenced by deserialize(), ChannelAnalyzerGUI::displaySettings(), ChannelAnalyzerGUI::onMenuDialogCalled(), resetToDefaults(), and serialize().