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 <remotesourcegui.h>
Public Slots | |
void | channelMarkerChangedByCursor () |
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 RemoteSourceGUI * | create (PluginAPI *pluginAPI, DeviceUISet *deviceUISet, BasebandSampleSource *channelTx) |
Private Slots | |
void | handleSourceMessages () |
void | on_dataAddress_returnPressed () |
void | on_dataPort_returnPressed () |
void | on_dataApplyButton_clicked (bool checked) |
void | onWidgetRolled (QWidget *widget, bool rollDown) |
void | onMenuDialogCalled (const QPoint &p) |
void | on_eventCountsReset_clicked (bool checked) |
void | tick () |
Private Member Functions | |
RemoteSourceGUI (PluginAPI *pluginAPI, DeviceUISet *deviceUISet, BasebandSampleSource *channelTx, QWidget *parent=0) | |
virtual | ~RemoteSourceGUI () |
void | blockApplySettings (bool block) |
void | applySettings (bool force=false) |
void | displaySettings () |
void | leaveEvent (QEvent *) |
void | enterEvent (QEvent *) |
void | displayEventCounts () |
void | displayEventStatus (int recoverableCount, int unrecoverableCount) |
void | displayEventTimer () |
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 39 of file remotesourcegui.h.
|
explicitprivate |
Definition at line 158 of file remotesourcegui.cpp.
References DeviceUISet::addChannelMarker(), DeviceUISet::addRollupWidget(), applySettings(), channelMarkerChangedByCursor(), displaySettings(), getInputMessageQueue(), DeviceAPI::getMasterTimer(), handleSourceMessages(), RemoteSource::m_channelIdURI, m_channelMarker, DeviceUISet::m_deviceAPI, m_deviceUISet, m_remoteSrc, RemoteSourceSettings::m_rgbColor, m_settings, m_time, onMenuDialogCalled(), onWidgetRolled(), DeviceUISet::registerTxChannelInstance(), ChannelMarker::setCenterFrequency(), RemoteSourceSettings::setChannelMarker(), ChannelMarker::setColor(), BasebandSampleSource::setMessageQueueToGUI(), ChannelMarker::setSourceOrSinkStream(), ChannelMarker::setTitle(), ChannelMarker::setVisible(), tick(), ui, and RollupWidget::widgetRolled().
Referenced by create().
|
privatevirtual |
Definition at line 206 of file remotesourcegui.cpp.
References m_deviceUISet, m_remoteSrc, DeviceUISet::removeTxChannelInstance(), and ui.
|
private |
Definition at line 218 of file remotesourcegui.cpp.
References RemoteSource::MsgConfigureRemoteSource::create(), ChannelMarker::getColor(), BasebandSampleSource::getInputMessageQueue(), m_channelMarker, m_doApplySettings, m_remoteSrc, m_settings, MessageQueue::push(), and RollupWidget::setTitleColor().
Referenced by deserialize(), on_dataAddress_returnPressed(), on_dataApplyButton_clicked(), on_dataPort_returnPressed(), onMenuDialogCalled(), RemoteSourceGUI(), and resetToDefaults().
|
private |
Definition at line 213 of file remotesourcegui.cpp.
References m_doApplySettings.
Referenced by displaySettings(), and handleMessage().
|
slot |
Definition at line 403 of file remotesourcegui.cpp.
Referenced by RemoteSourceGUI().
|
static |
Definition at line 28 of file remotesourcegui.cpp.
References RemoteSourceGUI().
Referenced by RemoteSourcePlugin::createTxChannelGUI().
|
virtual |
Implements PluginInstanceGUI.
Definition at line 70 of file remotesourcegui.cpp.
References applySettings(), RemoteSourceSettings::deserialize(), displaySettings(), m_settings, and resetToDefaults().
|
virtual |
Implements PluginInstanceGUI.
Definition at line 34 of file remotesourcegui.cpp.
|
private |
Definition at line 356 of file remotesourcegui.cpp.
References m_countRecovered, m_countUnrecoverable, and ui.
Referenced by handleMessage(), and on_eventCountsReset_clicked().
|
private |
Definition at line 364 of file remotesourcegui.cpp.
References ui.
Referenced by handleMessage().
|
private |
Definition at line 381 of file remotesourcegui.cpp.
Referenced by on_eventCountsReset_clicked(), and tick().
|
private |
Definition at line 229 of file remotesourcegui.cpp.
References arg(), blockApplySettings(), ChannelMarker::getTitle(), m_channelMarker, RemoteSourceSettings::m_dataAddress, RemoteSourceSettings::m_dataPort, RemoteSourceSettings::m_rgbColor, m_settings, RemoteSourceSettings::m_title, ChannelMarker::setBandwidth(), ChannelMarker::setCenterFrequency(), ChannelMarker::setColor(), ChannelMarker::setTitle(), RollupWidget::setTitleColor(), and ui.
Referenced by deserialize(), handleMessage(), RemoteSourceGUI(), and resetToDefaults().
|
private |
Definition at line 252 of file remotesourcegui.cpp.
References m_channelMarker, and ChannelMarker::setHighlighted().
|
virtual |
Implements PluginInstanceGUI.
Definition at line 49 of file remotesourcegui.cpp.
|
inlinevirtual |
Implements PluginInstanceGUI.
Definition at line 54 of file remotesourcegui.h.
Referenced by handleSourceMessages(), and RemoteSourceGUI().
|
virtual |
Implements PluginInstanceGUI.
Definition at line 44 of file remotesourcegui.cpp.
|
virtual |
Implements PluginInstanceGUI.
Definition at line 82 of file remotesourcegui.cpp.
References arg(), blockApplySettings(), displayEventCounts(), displayEventStatus(), displaySettings(), RemoteSource::MsgReportStreamData::get_nbCorrectableErrors(), RemoteSource::MsgReportStreamData::get_nbFECBlocks(), RemoteSource::MsgReportStreamData::get_nbOriginalBlocks(), RemoteSource::MsgReportStreamData::get_nbUncorrectableErrors(), RemoteSource::MsgReportStreamData::get_queueLength(), RemoteSource::MsgReportStreamData::get_queueSize(), RemoteSource::MsgReportStreamData::get_readSamplesCount(), RemoteSource::MsgReportStreamData::get_sampleRate(), RemoteSource::MsgReportStreamData::get_tv_sec(), RemoteSource::MsgReportStreamData::get_tv_usec(), RemoteSource::MsgSampleRateNotification::getSampleRate(), RemoteSource::MsgConfigureRemoteSource::getSettings(), m_channelMarker, m_countRecovered, m_countUnrecoverable, m_lastCountRecovered, m_lastCountUnrecoverable, m_lastSampleCount, m_lastTimestampUs, m_resetCounts, m_settings, Message::match(), ChannelMarker::setBandwidth(), and ui.
Referenced by handleSourceMessages().
|
privateslot |
Definition at line 257 of file remotesourcegui.cpp.
References getInputMessageQueue(), and handleMessage().
Referenced by RemoteSourceGUI().
|
private |
Definition at line 247 of file remotesourcegui.cpp.
References m_channelMarker, and ChannelMarker::setHighlighted().
|
privateslot |
Definition at line 307 of file remotesourcegui.cpp.
References applySettings(), RemoteSourceSettings::m_dataAddress, m_settings, and ui.
|
privateslot |
Definition at line 330 of file remotesourcegui.cpp.
References applySettings(), RemoteSourceSettings::m_dataAddress, RemoteSourceSettings::m_dataPort, m_settings, and ui.
|
privateslot |
Definition at line 313 of file remotesourcegui.cpp.
References applySettings(), RemoteSourceSettings::m_dataPort, m_settings, and ui.
|
privateslot |
Definition at line 346 of file remotesourcegui.cpp.
References displayEventCounts(), displayEventTimer(), m_countRecovered, m_countUnrecoverable, and m_time.
|
privateslot |
Definition at line 276 of file remotesourcegui.cpp.
References applySettings(), RollupWidget::ContextMenuChannelSettings, ChannelMarker::getColor(), BasicChannelSettingsDialog::getReverseAPIAddress(), BasicChannelSettingsDialog::getReverseAPIChannelIndex(), BasicChannelSettingsDialog::getReverseAPIDeviceIndex(), BasicChannelSettingsDialog::getReverseAPIPort(), ChannelMarker::getTitle(), m_channelMarker, RollupWidget::m_contextMenuType, RemoteSourceSettings::m_reverseAPIAddress, RemoteSourceSettings::m_reverseAPIChannelIndex, RemoteSourceSettings::m_reverseAPIDeviceIndex, RemoteSourceSettings::m_reverseAPIPort, RemoteSourceSettings::m_rgbColor, m_settings, RemoteSourceSettings::m_title, RemoteSourceSettings::m_useReverseAPI, RollupWidget::resetContextMenuType(), BasicChannelSettingsDialog::setReverseAPIAddress(), BasicChannelSettingsDialog::setReverseAPIChannelIndex(), BasicChannelSettingsDialog::setReverseAPIDeviceIndex(), BasicChannelSettingsDialog::setReverseAPIPort(), RollupWidget::setTitleColor(), BasicChannelSettingsDialog::setUseReverseAPI(), and BasicChannelSettingsDialog::useReverseAPI().
Referenced by RemoteSourceGUI().
|
privateslot |
Definition at line 270 of file remotesourcegui.cpp.
Referenced by RemoteSourceGUI().
|
virtual |
Implements PluginInstanceGUI.
Definition at line 58 of file remotesourcegui.cpp.
References applySettings(), displaySettings(), m_settings, and RemoteSourceSettings::resetToDefaults().
Referenced by deserialize().
|
virtual |
Implements PluginInstanceGUI.
Definition at line 65 of file remotesourcegui.cpp.
References m_settings, and RemoteSourceSettings::serialize().
|
virtual |
Implements PluginInstanceGUI.
Definition at line 53 of file remotesourcegui.cpp.
|
virtual |
Implements PluginInstanceGUI.
Definition at line 39 of file remotesourcegui.cpp.
|
privateslot |
Definition at line 390 of file remotesourcegui.cpp.
References RemoteSource::MsgQueryStreamData::create(), displayEventTimer(), BasebandSampleSource::getInputMessageQueue(), m_remoteSrc, m_tickCount, and MessageQueue::push().
Referenced by RemoteSourceGUI().
|
private |
Definition at line 64 of file remotesourcegui.h.
Referenced by applySettings(), displaySettings(), enterEvent(), handleMessage(), leaveEvent(), onMenuDialogCalled(), and RemoteSourceGUI().
|
private |
Definition at line 72 of file remotesourcegui.h.
Referenced by displayEventCounts(), handleMessage(), and on_eventCountsReset_clicked().
|
private |
Definition at line 71 of file remotesourcegui.h.
Referenced by displayEventCounts(), handleMessage(), and on_eventCountsReset_clicked().
|
private |
Definition at line 63 of file remotesourcegui.h.
Referenced by RemoteSourceGUI(), and ~RemoteSourceGUI().
|
private |
Definition at line 66 of file remotesourcegui.h.
Referenced by applySettings(), and blockApplySettings().
|
private |
Definition at line 69 of file remotesourcegui.h.
|
private |
Definition at line 74 of file remotesourcegui.h.
Referenced by handleMessage().
|
private |
Definition at line 73 of file remotesourcegui.h.
Referenced by handleMessage().
|
private |
Definition at line 75 of file remotesourcegui.h.
Referenced by handleMessage().
|
private |
Definition at line 76 of file remotesourcegui.h.
Referenced by handleMessage().
|
private |
Definition at line 62 of file remotesourcegui.h.
|
private |
Definition at line 68 of file remotesourcegui.h.
Referenced by applySettings(), RemoteSourceGUI(), tick(), and ~RemoteSourceGUI().
|
private |
Definition at line 77 of file remotesourcegui.h.
Referenced by handleMessage().
|
private |
Definition at line 65 of file remotesourcegui.h.
Referenced by applySettings(), deserialize(), displaySettings(), handleMessage(), on_dataAddress_returnPressed(), on_dataApplyButton_clicked(), on_dataPort_returnPressed(), onMenuDialogCalled(), RemoteSourceGUI(), resetToDefaults(), and serialize().
|
private |
Definition at line 79 of file remotesourcegui.h.
Referenced by tick().
|
private |
Definition at line 78 of file remotesourcegui.h.
Referenced by displayEventTimer(), on_eventCountsReset_clicked(), and RemoteSourceGUI().
|
private |
Definition at line 61 of file remotesourcegui.h.
Referenced by displayEventCounts(), displayEventStatus(), displayEventTimer(), displaySettings(), handleMessage(), on_dataAddress_returnPressed(), on_dataApplyButton_clicked(), on_dataPort_returnPressed(), RemoteSourceGUI(), and ~RemoteSourceGUI().