#include <ddtDataStreamWidget.hpp>
Public Slots | |
| bool | PopulatePublisherListCombo (QString localbroker_uri, QString remotebroker_uri) |
Signals | |
| void | AttachDataStream (QString data_stream_id) |
| void | DetachDataStream (QString data_stream_id) |
| void | LastBrokerConnection (QString data_stream_id) |
| void | RefreshRateChanged (bool enabled, double interval_seconds) |
Public Member Functions | |
| DdtDataStreamWidget (QWidget *parent=nullptr) | |
| virtual | ~DdtDataStreamWidget () |
| void | set_logger (ddt::DdtLogger *in_logger) |
Public Member Functions inherited from DdtWidget | |
| DdtWidget (QWidget *parent=nullptr) | |
| DdtWidget. | |
| virtual | ~DdtWidget ()=default |
| QWidget * | AddParentWidget (QLayout *child_layout) |
| AddParentWidget This will add the given layout to a QGroupBox Widget to integrate in the parent layout. | |
| void | connect (const QObject *sender, const char *signal, const QObject *receiver, const char *member) |
| connect Group of overloaded functions that use the QObject::connect method with the Qt::QueuedConnection flag. This defines Qt Signal and Slots connection the same way thought out the QApplication. | |
| void | connect (const QObject *sender, const QMetaMethod &signal, const QObject *receiver, const QMetaMethod &method) |
| void | connect (const QObject *sender, const char *signal, const char *member) |
| template<typename Func1, typename Func2> | |
| void | connect (const typename QtPrivate::FunctionPointer< Func1 >::Object *sender, Func1 signal, const QObject *context, Func2 slot) |
| connect Template version of QObject::connection with fixed Qt::QueuedConnection flag. Normally used to connect a signal with a lambda function. | |
Static Public Attributes | |
| static constexpr unsigned | NEW_DATA_WATCHDOG_TIMEOUT = 1000 |
Protected Slots | |
| void | AttachDataStream () |
| void | DetachDataStream () |
| void | SetDataStream (QString startup_data_stream) |
| void | CurrentStatus (QString stream_id, ConnectionStatus status) |
| void | FlickerStatus () |
| void | ConnectionLost () |
| void | DisplayURIsDialog () |
| void | EmitRefreshRateChanged () |
Protected Attributes | |
| ddt::DdtLogger * | logger |
| int | last_index_selected |
| QString | current_localbroker_uri |
| QString | current_remotebroker_uri |
Class for the Data Stream Widget that can be used to connect an Image Widget to a Data Stream
|
explicit |
Constructor
Creates a DDT Data Stream Widget
| parent | Pointer to the parent widget |
|
virtualdefault |
Destructor
|
protectedslot |
Slot that shall be called when the attach button was pressed
|
signal |
Signal that is send when a data stream shall be attached to the image widget
| data_stream_id | ID of the data stream to connect to (in first version the URI) |
|
protectedslot |
Slot called by the watchdog timer when no data has been received within the configured interval.
|
protectedslot |
Receives the current status of a stream
|
protectedslot |
Slot that shall be called when the detach button was pressed
|
signal |
Signal that is send when the connected data stream should be disconnected
| data_stream_id | ID of the data stream |
|
protectedslot |
Create and show the dialog to input local and remote brokers URIs
|
protectedslot |
Slot invoked when either the refresh-rate checkbox or spin box value changes; forwards the current state via RefreshRateChanged.
|
protectedslot |
Reset the status when flickering the LED
|
signal |
Signal that is send when datastream list is retrieve from a broker connection
| data_stream_id | ID of the data stream |
|
slot |
Populate the combo box with the entries from a datastream list
|
signal |
Signal emitted when the user changes the image-display refresh-rate settings.
| enabled | true if the user enabled the refresh-rate limit |
| interval_seconds | Display probe interval in seconds (floating point); receivers should only actually display an incoming frame when at least this much time has elapsed since the last displayed frame. Ignored by receivers when enabled is false. |
| void DdtDataStreamWidget::set_logger | ( | ddt::DdtLogger * | in_logger | ) |
Set logger
| in_logger | The logger object |
|
protectedslot |
Slot that will receive the name of the startup data stream
|
protected |
Current URI of local Broker streaming data
|
protected |
Current URI of remote Broker streaming data
|
protected |
Last
|
protected |
Logger object
|
staticconstexpr |