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 <datvdemodgui.h>
Public Member Functions | |
virtual void | destroy () |
void | setName (const QString &strName) |
QString | getName () const |
virtual qint64 | getCenterFrequency () const |
virtual void | setCenterFrequency (qint64 intCenterFrequency) |
void | resetToDefaults () |
QByteArray | serialize () const |
bool | deserialize (const QByteArray &arrData) |
virtual MessageQueue * | getInputMessageQueue () |
virtual bool | handleMessage (const Message &objMessage) |
Public Member Functions inherited from RollupWidget | |
RollupWidget (QWidget *parent=NULL) | |
void | setTitleColor (const QColor &c) |
void | setHighlighted (bool highlighted) |
Public Member Functions inherited from PluginInstanceGUI | |
PluginInstanceGUI () | |
virtual | ~PluginInstanceGUI () |
Static Public Member Functions | |
static DATVDemodGUI * | create (PluginAPI *objPluginAPI, DeviceUISet *deviceUISet, BasebandSampleSink *rxChannel) |
Static Public Attributes | |
static const QString | m_strChannelID = "sdrangel.channel.demoddatv" |
Private Member Functions | |
DATVDemodGUI (PluginAPI *objPluginAPI, DeviceUISet *deviceUISet, BasebandSampleSink *rxChannel, QWidget *objParent=0) | |
virtual | ~DATVDemodGUI () |
void | blockApplySettings (bool blnBlock) |
void | applySettings (bool force=false) |
void | displaySettings () |
void | displaySystemConfiguration () |
QString | formatBytes (qint64 intBytes) |
void | displayRRCParameters (bool blnVisible) |
void | leaveEvent (QEvent *) |
void | enterEvent (QEvent *) |
Private Attributes | |
Ui::DATVDemodGUI * | ui |
PluginAPI * | m_objPluginAPI |
DeviceUISet * | m_deviceUISet |
ChannelMarker | m_objChannelMarker |
ThreadedBasebandSampleSink * | m_objThreadedChannelizer |
DownChannelizer * | m_objChannelizer |
DATVDemod * | m_objDATVDemod |
MessageQueue | m_inputMessageQueue |
int | m_intCenterFrequency |
DATVDemodSettings | m_settings |
QTimer | m_objTimer |
qint64 | m_intPreviousDecodedData |
qint64 | m_intLastDecodedData |
qint64 | m_intLastSpeed |
int | m_intReadyDecodedData |
bool | m_blnBasicSettingsShown |
bool | m_blnDoApplySettings |
bool | m_blnButtonPlayClicked |
int | m_modcodModulationIndex |
int | m_modcodCodeRateIndex |
bool | m_cstlnSetByModcod |
MovingAverageUtil< double, double, 4 > | m_objMagSqAverage |
Additional Inherited Members | |
Signals inherited from RollupWidget | |
void | widgetRolled (QWidget *widget, bool rollDown) |
Protected Types inherited from RollupWidget | |
enum | { VersionMarker = 0xff } |
enum | ContextMenuType { ContextMenuNone, ContextMenuChannelSettings, ContextMenuStreamSettings } |
Protected Member Functions inherited from RollupWidget | |
int | arrangeRollups () |
QByteArray | saveState (int version=0) const |
bool | restoreState (const QByteArray &state, int version=0) |
void | paintEvent (QPaintEvent *) |
int | paintRollup (QWidget *rollup, int pos, QPainter *p, bool last, const QColor &frame) |
void | resizeEvent (QResizeEvent *size) |
void | mousePressEvent (QMouseEvent *event) |
bool | event (QEvent *event) |
bool | eventFilter (QObject *object, QEvent *event) |
void | resetContextMenuType () |
void | setStreamIndicator (const QString &indicator) |
Protected Attributes inherited from RollupWidget | |
QColor | m_titleColor |
QColor | m_titleTextColor |
bool | m_highlighted |
ContextMenuType | m_contextMenuType |
QString | m_streamIndicator |
Definition at line 43 of file datvdemodgui.h.
|
explicitprivate |
Definition at line 159 of file datvdemodgui.cpp.
References DeviceUISet::addChannelMarker(), DeviceUISet::addRollupWidget(), arg(), audioSelect(), channelMarkerChangedByCursor(), channelMarkerHighlightedByCursor(), getInputMessageQueue(), ColorMapper::GrayGold, ColorMapper::GrayYellow, handleInputMessages(), DATVDemod::m_channelIdURI, m_deviceUISet, m_intLastDecodedData, m_intLastSpeed, m_intPreviousDecodedData, m_intReadyDecodedData, m_objChannelMarker, m_objDATVDemod, m_objTimer, on_StreamDataAvailable(), on_StreamMetaDataChanged(), DATVideostream::onDataPackets(), DATVideoRender::onMetaDataChanged(), onWidgetRolled(), DeviceUISet::registerRxChannelInstance(), resetToDefaults(), ChannelMarker::setBandwidth(), ChannelMarker::setCenterFrequency(), ChannelMarker::setColor(), BasebandSampleSink::setMessageQueueToGUI(), DATVDemod::SetTVScreen(), DATVDemod::SetVideoRender(), ChannelMarker::setVisible(), tick(), ui, and RollupWidget::widgetRolled().
Referenced by create().
|
privatevirtual |
Definition at line 228 of file datvdemodgui.cpp.
References m_deviceUISet, m_objDATVDemod, DeviceUISet::removeRxChannelInstance(), and ui.
|
private |
Definition at line 348 of file datvdemodgui.cpp.
References DATVDemod::MsgConfigureChannelizer::create(), DATVDemod::MsgConfigureDATVDemod::create(), DATVDemodSettings::debug(), ChannelMarker::getCenterFrequency(), ChannelMarker::getColor(), BasebandSampleSink::getInputMessageQueue(), m_blnDoApplySettings, m_objChannelMarker, m_objDATVDemod, m_settings, MessageQueue::push(), and RollupWidget::setTitleColor().
Referenced by audioSelect(), channelMarkerChangedByCursor(), deserialize(), on_audioMute_toggled(), on_audioVolume_valueChanged(), on_chkAllowDrift_clicked(), on_chkFastlock_clicked(), on_chkHardMetric_clicked(), on_chkViterbi_clicked(), on_cmbFEC_currentIndexChanged(), on_cmbFilter_currentIndexChanged(), on_cmbModulation_currentIndexChanged(), on_cmbStandard_currentIndexChanged(), on_deltaFrequency_changed(), on_rfBandwidth_changed(), on_spiExcursion_valueChanged(), on_spiNotchFilters_valueChanged(), on_spiRollOff_valueChanged(), on_spiSymbolRate_valueChanged(), on_udpTS_clicked(), on_udpTSAddress_editingFinished(), on_udpTSPort_editingFinished(), on_videoMute_toggled(), resetToDefaults(), and setCenterFrequency().
|
privateslot |
Definition at line 381 of file datvdemodgui.cpp.
References applySettings(), DSPEngine::instance(), AudioSelectDialog::m_audioDeviceName, DATVDemodSettings::m_audioDeviceName, AudioSelectDialog::m_selected, and m_settings.
Referenced by DATVDemodGUI().
|
private |
Definition at line 235 of file datvdemodgui.cpp.
References m_blnDoApplySettings.
Referenced by displaySettings(), enterEvent(), and leaveEvent().
|
privateslot |
Definition at line 132 of file datvdemodgui.cpp.
References applySettings(), ChannelMarker::getCenterFrequency(), m_intCenterFrequency, m_objChannelMarker, and ui.
Referenced by DATVDemodGUI().
|
privateslot |
Definition at line 143 of file datvdemodgui.cpp.
References ChannelMarker::getHighlighted(), m_objChannelMarker, and RollupWidget::setHighlighted().
Referenced by DATVDemodGUI().
|
static |
Definition at line 41 of file datvdemodgui.cpp.
References DATVDemodGUI().
Referenced by DATVDemodPlugin::createRxChannelGUI().
|
virtual |
Implements PluginInstanceGUI.
Definition at line 87 of file datvdemodgui.cpp.
References applySettings(), DATVDemodSettings::deserialize(), displaySettings(), m_settings, and resetToDefaults().
|
virtual |
Implements PluginInstanceGUI.
Definition at line 49 of file datvdemodgui.cpp.
|
private |
Definition at line 675 of file datvdemodgui.cpp.
References ui.
Referenced by displaySettings(), and on_cmbFilter_currentIndexChanged().
|
private |
Definition at line 240 of file datvdemodgui.cpp.
References arg(), blockApplySettings(), displayRRCParameters(), displaySystemConfiguration(), DATVDemodSettings::m_allowDrift, DATVDemodSettings::m_audioMute, DATVDemodSettings::m_audioVolume, DATVDemodSettings::m_centerFrequency, DATVDemodSettings::m_excursion, DATVDemodSettings::m_fastLock, DATVDemodSettings::m_filter, DATVDemodSettings::m_hardMetric, DATVDemodSettings::m_notchFilters, m_objChannelMarker, DATVDemodSettings::m_rfBandwidth, DATVDemodSettings::m_rgbColor, DATVDemodSettings::m_rollOff, m_settings, DATVDemodSettings::m_standard, DATVDemodSettings::m_symbolRate, DATVDemodSettings::m_udpTS, DATVDemodSettings::m_udpTSAddress, DATVDemodSettings::m_udpTSPort, DATVDemodSettings::m_videoMute, DATVDemodSettings::m_viterbi, ChannelMarker::setBandwidth(), ChannelMarker::setCenterFrequency(), ChannelMarker::setColor(), and ui.
Referenced by deserialize(), and resetToDefaults().
|
private |
Definition at line 304 of file datvdemodgui.cpp.
References DATVDemodSettings::getAvailableCodeRates(), DATVDemodSettings::getAvailableModulations(), DATVDemodSettings::getStrFromCodeRate(), DATVDemodSettings::getStrFromModulation(), i, DATVDemodSettings::m_fec, DATVDemodSettings::m_modulation, m_settings, DATVDemodSettings::m_standard, and ui.
Referenced by displaySettings(), handleMessage(), on_cmbModulation_currentIndexChanged(), and on_cmbStandard_currentIndexChanged().
|
private |
Definition at line 374 of file datvdemodgui.cpp.
References blockApplySettings(), m_objChannelMarker, and ChannelMarker::setHighlighted().
|
private |
Definition at line 572 of file datvdemodgui.cpp.
Referenced by on_StreamDataAvailable(), and tick().
|
virtual |
Implements PluginInstanceGUI.
Definition at line 64 of file datvdemodgui.cpp.
References ChannelMarker::getCenterFrequency(), and m_objChannelMarker.
|
inlinevirtual |
Implements PluginInstanceGUI.
Definition at line 60 of file datvdemodgui.h.
Referenced by DATVDemodGUI(), and handleInputMessages().
|
virtual |
Implements PluginInstanceGUI.
Definition at line 59 of file datvdemodgui.cpp.
|
privateslot |
Definition at line 119 of file datvdemodgui.cpp.
References getInputMessageQueue(), and handleMessage().
Referenced by DATVDemodGUI().
|
virtual |
Implements PluginInstanceGUI.
Definition at line 102 of file datvdemodgui.cpp.
References displaySystemConfiguration(), DATVDemod::MsgReportModcodCstlnChange::getCodeRate(), DATVDemod::MsgReportModcodCstlnChange::getModulation(), DATVDemodSettings::m_fec, DATVDemodSettings::m_modulation, m_settings, Message::match(), and DATVDemodSettings::validateSystemConfiguration().
Referenced by handleInputMessages().
|
private |
Definition at line 367 of file datvdemodgui.cpp.
References blockApplySettings(), m_objChannelMarker, and ChannelMarker::setHighlighted().
|
privateslot |
Definition at line 621 of file datvdemodgui.cpp.
References applySettings(), DATVDemodSettings::m_audioMute, and m_settings.
|
privateslot |
Definition at line 633 of file datvdemodgui.cpp.
References applySettings(), arg(), DATVDemodSettings::m_audioVolume, m_settings, and ui.
|
privateslot |
Definition at line 556 of file datvdemodgui.cpp.
References applySettings(), DATVDemodSettings::m_allowDrift, m_settings, and ui.
|
privateslot |
Definition at line 615 of file datvdemodgui.cpp.
References applySettings(), DATVDemodSettings::m_fastLock, m_settings, and ui.
|
privateslot |
Definition at line 533 of file datvdemodgui.cpp.
References applySettings(), DATVDemodSettings::m_hardMetric, m_settings, and ui.
|
privateslot |
Definition at line 527 of file datvdemodgui.cpp.
References applySettings(), m_settings, DATVDemodSettings::m_viterbi, and ui.
|
privateslot |
Definition at line 519 of file datvdemodgui.cpp.
References applySettings(), DATVDemodSettings::getCodeRateFromStr(), DATVDemodSettings::m_fec, m_settings, and ui.
|
privateslot |
Definition at line 683 of file datvdemodgui.cpp.
References applySettings(), displayRRCParameters(), DATVDemodSettings::m_filter, m_settings, DATVDemodSettings::SAMP_LINEAR, DATVDemodSettings::SAMP_NEAREST, and DATVDemodSettings::SAMP_RRC.
|
privateslot |
Definition at line 501 of file datvdemodgui.cpp.
References applySettings(), DATVDemodSettings::BPSK, displaySystemConfiguration(), DATVDemodSettings::getModulationFromStr(), DATVDemodSettings::m_modulation, m_settings, DATVDemodSettings::QPSK, ui, and DATVDemodSettings::validateSystemConfiguration().
|
privateslot |
Definition at line 465 of file datvdemodgui.cpp.
References applySettings(), displaySystemConfiguration(), m_settings, DATVDemodSettings::m_standard, ui, and DATVDemodSettings::validateSystemConfiguration().
|
privateslot |
Definition at line 601 of file datvdemodgui.cpp.
References applySettings(), ChannelMarker::getCenterFrequency(), DATVDemodSettings::m_centerFrequency, m_objChannelMarker, m_settings, and ChannelMarker::setCenterFrequency().
|
privateslot |
|
privateslot |
Definition at line 567 of file datvdemodgui.cpp.
|
privateslot |
Definition at line 539 of file datvdemodgui.cpp.
References resetToDefaults().
|
privateslot |
Definition at line 608 of file datvdemodgui.cpp.
References applySettings(), ChannelMarker::getBandwidth(), m_objChannelMarker, DATVDemodSettings::m_rfBandwidth, m_settings, and ChannelMarker::setBandwidth().
|
privateslot |
Definition at line 703 of file datvdemodgui.cpp.
References applySettings(), DATVDemodSettings::m_excursion, and m_settings.
|
privateslot |
Definition at line 550 of file datvdemodgui.cpp.
References applySettings(), DATVDemodSettings::m_notchFilters, and m_settings.
|
privateslot |
Definition at line 697 of file datvdemodgui.cpp.
References applySettings(), DATVDemodSettings::m_rollOff, and m_settings.
|
privateslot |
Definition at line 544 of file datvdemodgui.cpp.
References applySettings(), m_settings, and DATVDemodSettings::m_symbolRate.
|
privateslot |
Definition at line 586 of file datvdemodgui.cpp.
References arg(), formatBytes(), m_intLastDecodedData, m_intReadyDecodedData, and ui.
Referenced by DATVDemodGUI().
|
privateslot |
Definition at line 646 of file datvdemodgui.cpp.
References DataTSMetaData2::CodecDescription, DataTSMetaData2::Height, DataTSMetaData2::OK_Data, DataTSMetaData2::OK_Decoding, DataTSMetaData2::OK_TransportStream, DataTSMetaData2::OK_VideoStream, DataTSMetaData2::PID, DataTSMetaData2::Program, DataTSMetaData2::Stream, ui, and DataTSMetaData2::Width.
Referenced by DATVDemodGUI().
|
privateslot |
Definition at line 640 of file datvdemodgui.cpp.
References applySettings(), m_settings, and DATVDemodSettings::m_udpTS.
|
privateslot |
Definition at line 709 of file datvdemodgui.cpp.
References applySettings(), m_settings, DATVDemodSettings::m_udpTSAddress, and ui.
|
privateslot |
Definition at line 715 of file datvdemodgui.cpp.
References applySettings(), arg(), m_settings, DATVDemodSettings::m_udpTSPort, and ui.
|
privateslot |
Definition at line 627 of file datvdemodgui.cpp.
References applySettings(), m_settings, and DATVDemodSettings::m_videoMute.
|
privateslot |
Definition at line 155 of file datvdemodgui.cpp.
|
privateslot |
Definition at line 149 of file datvdemodgui.cpp.
Referenced by DATVDemodGUI().
|
virtual |
Implements PluginInstanceGUI.
Definition at line 75 of file datvdemodgui.cpp.
References applySettings(), displaySettings(), m_settings, and DATVDemodSettings::resetToDefaults().
Referenced by DATVDemodGUI(), deserialize(), and on_resetDefaults_clicked().
|
virtual |
Implements PluginInstanceGUI.
Definition at line 82 of file datvdemodgui.cpp.
References m_settings, and DATVDemodSettings::serialize().
|
virtual |
Implements PluginInstanceGUI.
Definition at line 69 of file datvdemodgui.cpp.
References applySettings(), m_objChannelMarker, and ChannelMarker::setCenterFrequency().
|
virtual |
Implements PluginInstanceGUI.
Definition at line 54 of file datvdemodgui.cpp.
|
privateslot |
Definition at line 394 of file datvdemodgui.cpp.
References arg(), DATVDemod::audioActive(), DATVDemod::audioDecodeOK(), CalcDb::dbPower(), formatBytes(), DATVDemod::getCodeRateFromLeanDVBCode(), DATVDemod::getMagSq(), DATVDemod::getModcodCodeRate(), DATVDemod::getModcodModulation(), DATVDemod::getModulationFromLeanDVBCode(), DATVDemodSettings::getStrFromCodeRate(), DATVDemodSettings::getStrFromModulation(), DATVDemod::isCstlnSetByModcod(), m_cstlnSetByModcod, m_intLastDecodedData, m_intLastSpeed, m_intPreviousDecodedData, m_modcodCodeRateIndex, m_modcodModulationIndex, m_objDATVDemod, m_objMagSqAverage, DATVDemod::PlayVideo(), SDR_RX_SCALED, ui, DATVDemod::videoActive(), and DATVDemod::videoDecodeOK().
Referenced by DATVDemodGUI().
|
private |
Definition at line 120 of file datvdemodgui.h.
|
private |
Definition at line 122 of file datvdemodgui.h.
|
private |
Definition at line 121 of file datvdemodgui.h.
Referenced by applySettings(), and blockApplySettings().
|
private |
Definition at line 125 of file datvdemodgui.h.
Referenced by tick().
|
private |
Definition at line 104 of file datvdemodgui.h.
Referenced by DATVDemodGUI(), and ~DATVDemodGUI().
|
private |
Definition at line 110 of file datvdemodgui.h.
|
private |
Definition at line 111 of file datvdemodgui.h.
Referenced by channelMarkerChangedByCursor().
|
private |
Definition at line 116 of file datvdemodgui.h.
Referenced by DATVDemodGUI(), on_StreamDataAvailable(), and tick().
|
private |
Definition at line 117 of file datvdemodgui.h.
Referenced by DATVDemodGUI(), and tick().
|
private |
Definition at line 115 of file datvdemodgui.h.
Referenced by DATVDemodGUI(), and tick().
|
private |
Definition at line 118 of file datvdemodgui.h.
Referenced by DATVDemodGUI(), and on_StreamDataAvailable().
|
private |
Definition at line 124 of file datvdemodgui.h.
Referenced by tick().
|
private |
Definition at line 123 of file datvdemodgui.h.
Referenced by tick().
|
private |
Definition at line 108 of file datvdemodgui.h.
|
private |
Definition at line 106 of file datvdemodgui.h.
Referenced by applySettings(), channelMarkerChangedByCursor(), channelMarkerHighlightedByCursor(), DATVDemodGUI(), displaySettings(), enterEvent(), getCenterFrequency(), leaveEvent(), on_deltaFrequency_changed(), on_rfBandwidth_changed(), and setCenterFrequency().
|
private |
Definition at line 109 of file datvdemodgui.h.
Referenced by applySettings(), DATVDemodGUI(), tick(), and ~DATVDemodGUI().
|
private |
Definition at line 127 of file datvdemodgui.h.
Referenced by tick().
|
private |
Definition at line 103 of file datvdemodgui.h.
|
private |
Definition at line 107 of file datvdemodgui.h.
|
private |
Definition at line 114 of file datvdemodgui.h.
Referenced by DATVDemodGUI().
|
private |
Definition at line 112 of file datvdemodgui.h.
Referenced by applySettings(), audioSelect(), deserialize(), displaySettings(), displaySystemConfiguration(), handleMessage(), on_audioMute_toggled(), on_audioVolume_valueChanged(), on_chkAllowDrift_clicked(), on_chkFastlock_clicked(), on_chkHardMetric_clicked(), on_chkViterbi_clicked(), on_cmbFEC_currentIndexChanged(), on_cmbFilter_currentIndexChanged(), on_cmbModulation_currentIndexChanged(), on_cmbStandard_currentIndexChanged(), on_deltaFrequency_changed(), on_rfBandwidth_changed(), on_spiExcursion_valueChanged(), on_spiNotchFilters_valueChanged(), on_spiRollOff_valueChanged(), on_spiSymbolRate_valueChanged(), on_udpTS_clicked(), on_udpTSAddress_editingFinished(), on_udpTSPort_editingFinished(), on_videoMute_toggled(), resetToDefaults(), and serialize().
|
static |
Definition at line 63 of file datvdemodgui.h.
|
private |
Definition at line 102 of file datvdemodgui.h.
Referenced by channelMarkerChangedByCursor(), DATVDemodGUI(), displayRRCParameters(), displaySettings(), displaySystemConfiguration(), on_audioVolume_valueChanged(), on_chkAllowDrift_clicked(), on_chkFastlock_clicked(), on_chkHardMetric_clicked(), on_chkViterbi_clicked(), on_cmbFEC_currentIndexChanged(), on_cmbModulation_currentIndexChanged(), on_cmbStandard_currentIndexChanged(), on_fullScreen_clicked(), on_StreamDataAvailable(), on_StreamMetaDataChanged(), on_udpTSAddress_editingFinished(), on_udpTSPort_editingFinished(), tick(), and ~DATVDemodGUI().