![]() |
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 <localsinkgui.h>
Inheritance diagram for LocalSinkGUI:
Collaboration diagram for LocalSinkGUI:Public Member Functions | |
| virtual void | destroy () |
| void | setName (const QString &name) |
| QString | getName () const |
| virtual qint64 | getCenterFrequency () const |
| virtual void | setCenterFrequency (qint64 centerFrequency) |
| void | resetToDefaults () |
| QByteArray | serialize () const |
| bool | deserialize (const QByteArray &data) |
| virtual MessageQueue * | getInputMessageQueue () |
| virtual bool | handleMessage (const Message &message) |
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 LocalSinkGUI * | create (PluginAPI *pluginAPI, DeviceUISet *deviceUISet, BasebandSampleSink *rxChannel) |
Private Slots | |
| void | handleSourceMessages () |
| void | on_decimationFactor_currentIndexChanged (int index) |
| void | on_position_valueChanged (int value) |
| void | on_localDevice_currentIndexChanged (int index) |
| void | on_localDevicesRefresh_clicked (bool checked) |
| void | onWidgetRolled (QWidget *widget, bool rollDown) |
| void | onMenuDialogCalled (const QPoint &p) |
| void | tick () |
Private Member Functions | |
| LocalSinkGUI (PluginAPI *pluginAPI, DeviceUISet *deviceUISet, BasebandSampleSink *rxChannel, QWidget *parent=0) | |
| virtual | ~LocalSinkGUI () |
| void | blockApplySettings (bool block) |
| void | applySettings (bool force=false) |
| void | applyChannelSettings () |
| void | displaySettings () |
| void | displayRateAndShift () |
| void | updateLocalDevices () |
| void | leaveEvent (QEvent *) |
| void | enterEvent (QEvent *) |
| void | applyDecimation () |
| void | applyPosition () |
Private Attributes | |
| Ui::LocalSinkGUI * | ui |
| PluginAPI * | m_pluginAPI |
| DeviceUISet * | m_deviceUISet |
| ChannelMarker | m_channelMarker |
| LocalSinkSettings | m_settings |
| int | m_sampleRate |
| quint64 | m_deviceCenterFrequency |
| Center frequency in device. More... | |
| double | m_shiftFrequencyFactor |
| Channel frequency shift factor. More... | |
| bool | m_doApplySettings |
| LocalSink * | m_localSink |
| MessageQueue | m_inputMessageQueue |
| QTime | m_time |
| uint32_t | m_tickCount |
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 42 of file localsinkgui.h.
|
explicitprivate |
Definition at line 108 of file localsinkgui.cpp.
References DeviceUISet::addChannelMarker(), DeviceUISet::addRollupWidget(), applySettings(), displaySettings(), getInputMessageQueue(), handleSourceMessages(), LocalSink::m_channelIdURI, m_channelMarker, m_deviceUISet, m_localSink, LocalSinkSettings::m_rgbColor, m_settings, m_time, onMenuDialogCalled(), onWidgetRolled(), DeviceUISet::registerRxChannelInstance(), ChannelMarker::setCenterFrequency(), LocalSinkSettings::setChannelMarker(), ChannelMarker::setColor(), BasebandSampleSink::setMessageQueueToGUI(), ChannelMarker::setTitle(), ChannelMarker::setVisible(), ui, updateLocalDevices(), and RollupWidget::widgetRolled().
Referenced by create().
Here is the call graph for this function:
Here is the caller graph for this function:
|
privatevirtual |
Definition at line 147 of file localsinkgui.cpp.
References m_deviceUISet, m_localSink, DeviceUISet::removeRxChannelInstance(), and ui.
Here is the call graph for this function:
|
private |
Definition at line 170 of file localsinkgui.cpp.
References LocalSink::MsgConfigureChannelizer::create(), BasebandSampleSink::getInputMessageQueue(), m_doApplySettings, LocalSinkSettings::m_filterChainHash, m_localSink, LocalSinkSettings::m_log2Decim, m_settings, and MessageQueue::push().
Referenced by applyPosition().
Here is the call graph for this function:
Here is the caller graph for this function:
|
private |
Definition at line 307 of file localsinkgui.cpp.
References applyPosition(), i, LocalSinkSettings::m_filterChainHash, LocalSinkSettings::m_log2Decim, m_settings, and ui.
Referenced by displaySettings(), and on_decimationFactor_currentIndexChanged().
Here is the call graph for this function:
Here is the caller graph for this function:
|
private |
Definition at line 321 of file localsinkgui.cpp.
References applyChannelSettings(), arg(), HBFilterChainConverter::convertToString(), displayRateAndShift(), LocalSinkSettings::m_filterChainHash, LocalSinkSettings::m_log2Decim, m_settings, m_shiftFrequencyFactor, and ui.
Referenced by applyDecimation(), and on_position_valueChanged().
Here is the call graph for this function:
Here is the caller graph for this function:
|
private |
Definition at line 159 of file localsinkgui.cpp.
References LocalSink::MsgConfigureLocalSink::create(), ChannelMarker::getColor(), BasebandSampleSink::getInputMessageQueue(), m_channelMarker, m_doApplySettings, m_localSink, m_settings, MessageQueue::push(), and RollupWidget::setTitleColor().
Referenced by deserialize(), LocalSinkGUI(), on_localDevice_currentIndexChanged(), onMenuDialogCalled(), and resetToDefaults().
Here is the call graph for this function:
Here is the caller graph for this function:
|
private |
Definition at line 154 of file localsinkgui.cpp.
References m_doApplySettings.
Referenced by displaySettings(), and handleMessage().
Here is the caller graph for this function:
|
static |
Definition at line 29 of file localsinkgui.cpp.
References LocalSinkGUI().
Referenced by LocalSinkPlugin::createRxChannelGUI().
Here is the call graph for this function:
Here is the caller graph for this function:
|
virtual |
Implements PluginInstanceGUI.
Definition at line 71 of file localsinkgui.cpp.
References applySettings(), LocalSinkSettings::deserialize(), displaySettings(), m_settings, and resetToDefaults().
Here is the call graph for this function:
|
virtual |
Implements PluginInstanceGUI.
Definition at line 35 of file localsinkgui.cpp.
|
private |
Definition at line 200 of file localsinkgui.cpp.
References arg(), m_channelMarker, LocalSinkSettings::m_log2Decim, m_sampleRate, m_settings, m_shiftFrequencyFactor, ChannelMarker::setBandwidth(), ChannelMarker::setCenterFrequency(), and ui.
Referenced by applyPosition(), and handleMessage().
Here is the call graph for this function:
Here is the caller graph for this function:
|
private |
Definition at line 181 of file localsinkgui.cpp.
References applyDecimation(), blockApplySettings(), ChannelMarker::getTitle(), m_channelMarker, LocalSinkSettings::m_log2Decim, LocalSinkSettings::m_rgbColor, m_sampleRate, m_settings, LocalSinkSettings::m_title, ChannelMarker::setBandwidth(), ChannelMarker::setCenterFrequency(), ChannelMarker::setColor(), ChannelMarker::setMovable(), ChannelMarker::setTitle(), RollupWidget::setTitleColor(), and ui.
Referenced by deserialize(), handleMessage(), LocalSinkGUI(), and resetToDefaults().
Here is the call graph for this function:
Here is the caller graph for this function:
|
private |
Definition at line 228 of file localsinkgui.cpp.
References m_channelMarker, and ChannelMarker::setHighlighted().
Here is the call graph for this function:
|
virtual |
Implements PluginInstanceGUI.
Definition at line 50 of file localsinkgui.cpp.
|
inlinevirtual |
Implements PluginInstanceGUI.
Definition at line 56 of file localsinkgui.h.
Referenced by handleSourceMessages(), and LocalSinkGUI().
Here is the caller graph for this function:
|
virtual |
Implements PluginInstanceGUI.
Definition at line 45 of file localsinkgui.cpp.
|
virtual |
Implements PluginInstanceGUI.
Definition at line 83 of file localsinkgui.cpp.
References blockApplySettings(), displayRateAndShift(), displaySettings(), LocalSink::MsgSampleRateNotification::getSampleRate(), LocalSink::MsgConfigureLocalSink::getSettings(), m_sampleRate, m_settings, and Message::match().
Referenced by handleSourceMessages().
Here is the call graph for this function:
Here is the caller graph for this function:
|
privateslot |
Definition at line 233 of file localsinkgui.cpp.
References getInputMessageQueue(), and handleMessage().
Referenced by LocalSinkGUI().
Here is the call graph for this function:
Here is the caller graph for this function:
|
private |
Definition at line 223 of file localsinkgui.cpp.
References m_channelMarker, and ChannelMarker::setHighlighted().
Here is the call graph for this function:
|
privateslot |
Definition at line 283 of file localsinkgui.cpp.
References applyDecimation(), LocalSinkSettings::m_log2Decim, and m_settings.
Here is the call graph for this function:
|
privateslot |
Definition at line 295 of file localsinkgui.cpp.
References applySettings(), LocalSinkSettings::m_localDeviceIndex, m_settings, and ui.
Here is the call graph for this function:
|
privateslot |
Definition at line 301 of file localsinkgui.cpp.
References updateLocalDevices().
Here is the call graph for this function:
|
privateslot |
Definition at line 289 of file localsinkgui.cpp.
References applyPosition(), LocalSinkSettings::m_filterChainHash, and m_settings.
Here is the call graph for this function:
|
privateslot |
Definition at line 252 of file localsinkgui.cpp.
References applySettings(), RollupWidget::ContextMenuChannelSettings, ChannelMarker::getColor(), BasicChannelSettingsDialog::getReverseAPIAddress(), BasicChannelSettingsDialog::getReverseAPIChannelIndex(), BasicChannelSettingsDialog::getReverseAPIDeviceIndex(), BasicChannelSettingsDialog::getReverseAPIPort(), ChannelMarker::getTitle(), m_channelMarker, RollupWidget::m_contextMenuType, LocalSinkSettings::m_reverseAPIAddress, LocalSinkSettings::m_reverseAPIChannelIndex, LocalSinkSettings::m_reverseAPIDeviceIndex, LocalSinkSettings::m_reverseAPIPort, LocalSinkSettings::m_rgbColor, m_settings, LocalSinkSettings::m_title, LocalSinkSettings::m_useReverseAPI, RollupWidget::resetContextMenuType(), BasicChannelSettingsDialog::setReverseAPIAddress(), BasicChannelSettingsDialog::setReverseAPIChannelIndex(), BasicChannelSettingsDialog::setReverseAPIDeviceIndex(), BasicChannelSettingsDialog::setReverseAPIPort(), RollupWidget::setTitleColor(), BasicChannelSettingsDialog::setUseReverseAPI(), and BasicChannelSettingsDialog::useReverseAPI().
Referenced by LocalSinkGUI().
Here is the call graph for this function:
Here is the caller graph for this function:
|
privateslot |
Definition at line 246 of file localsinkgui.cpp.
Referenced by LocalSinkGUI().
Here is the caller graph for this function:
|
virtual |
Implements PluginInstanceGUI.
Definition at line 59 of file localsinkgui.cpp.
References applySettings(), displaySettings(), m_settings, and LocalSinkSettings::resetToDefaults().
Referenced by deserialize().
Here is the call graph for this function:
Here is the caller graph for this function:
|
virtual |
Implements PluginInstanceGUI.
Definition at line 66 of file localsinkgui.cpp.
References m_settings, and LocalSinkSettings::serialize().
Here is the call graph for this function:
|
virtual |
Implements PluginInstanceGUI.
Definition at line 54 of file localsinkgui.cpp.
|
virtual |
Implements PluginInstanceGUI.
Definition at line 40 of file localsinkgui.cpp.
|
privateslot |
|
private |
Definition at line 211 of file localsinkgui.cpp.
References arg(), LocalSink::getLocalDevices(), m_localSink, and ui.
Referenced by LocalSinkGUI(), and on_localDevicesRefresh_clicked().
Here is the call graph for this function:
Here is the caller graph for this function:
|
private |
Definition at line 63 of file localsinkgui.h.
Referenced by applySettings(), displayRateAndShift(), displaySettings(), enterEvent(), leaveEvent(), LocalSinkGUI(), and onMenuDialogCalled().
|
private |
Center frequency in device.
Definition at line 66 of file localsinkgui.h.
|
private |
Definition at line 62 of file localsinkgui.h.
Referenced by LocalSinkGUI(), and ~LocalSinkGUI().
|
private |
Definition at line 68 of file localsinkgui.h.
Referenced by applyChannelSettings(), applySettings(), and blockApplySettings().
|
private |
Definition at line 71 of file localsinkgui.h.
|
private |
Definition at line 70 of file localsinkgui.h.
Referenced by applyChannelSettings(), applySettings(), LocalSinkGUI(), updateLocalDevices(), and ~LocalSinkGUI().
|
private |
Definition at line 61 of file localsinkgui.h.
|
private |
Definition at line 65 of file localsinkgui.h.
Referenced by displayRateAndShift(), displaySettings(), and handleMessage().
|
private |
Definition at line 64 of file localsinkgui.h.
Referenced by applyChannelSettings(), applyDecimation(), applyPosition(), applySettings(), deserialize(), displayRateAndShift(), displaySettings(), handleMessage(), LocalSinkGUI(), on_decimationFactor_currentIndexChanged(), on_localDevice_currentIndexChanged(), on_position_valueChanged(), onMenuDialogCalled(), resetToDefaults(), and serialize().
|
private |
Channel frequency shift factor.
Definition at line 67 of file localsinkgui.h.
Referenced by applyPosition(), and displayRateAndShift().
|
private |
Definition at line 74 of file localsinkgui.h.
Referenced by tick().
|
private |
Definition at line 73 of file localsinkgui.h.
Referenced by LocalSinkGUI().
|
private |
Definition at line 60 of file localsinkgui.h.
Referenced by applyDecimation(), applyPosition(), displayRateAndShift(), displaySettings(), LocalSinkGUI(), on_localDevice_currentIndexChanged(), updateLocalDevices(), and ~LocalSinkGUI().
1.8.13