ddt 1.2.1
Loading...
Searching...
No Matches
Signals | Protected Attributes | List of all members
DdtDataStreamWidget Class Reference

#include <ddtDataStreamWidget.hpp>

Inheritance diagram for DdtDataStreamWidget:
DdtWidget

Signals

void AttachDataStream (QString data_stream_id)
 
void DetachDataStream (QString data_stream_id)
 
void LastBrokerConnection (QString data_stream_id)
 

Protected Attributes

ddt::DdtLoggerlogger
 
int last_index_selected
 
QString current_localbroker_uri
 
QString current_remotebroker_uri
 
 DdtDataStreamWidget (QWidget *parent=nullptr)
 
virtual ~DdtDataStreamWidget ()
 
void set_logger (ddt::DdtLogger *in_logger)
 
bool PopulatePublisherListCombo (QString localbroker_uri, QString remotebroker_uri)
 
void AttachDataStream ()
 
void DetachDataStream ()
 
void SetDataStream (QString startup_data_stream)
 
void CurrentStatus (QString stream_id, ConnectionStatus status)
 
void FlickerStatus ()
 
void DisplayURIsDialog ()
 

Additional Inherited Members

- Public Member Functions inherited from DdtWidget
virtual ~DdtWidget ()=default
 
 DdtWidget (QWidget *parent=nullptr)
 DdtWidget.
 
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.
 

Detailed Description

Class for the Data Stream Widget that can be used to connect an Image Widget to a Data Stream

Constructor & Destructor Documentation

◆ DdtDataStreamWidget()

DdtDataStreamWidget::DdtDataStreamWidget ( QWidget * parent = nullptr)
explicit

Constructor

Creates a DDT Data Stream Widget

Parameters
parentPointer to the parent widget

◆ ~DdtDataStreamWidget()

DdtDataStreamWidget::~DdtDataStreamWidget ( )
virtualdefault

Destructor

Member Function Documentation

◆ AttachDataStream [1/2]

void DdtDataStreamWidget::AttachDataStream ( )
protectedslot

Slot that shall be called when the attach button was pressed

◆ AttachDataStream [2/2]

void DdtDataStreamWidget::AttachDataStream ( QString data_stream_id)
signal

Signal that is send when a data stream shall be attached to the image widget

Parameters
data_stream_idID of the data stream to connect to (in first version the URI)

◆ CurrentStatus

void DdtDataStreamWidget::CurrentStatus ( QString stream_id,
ConnectionStatus status )
protectedslot

Receives the current status of a stream

◆ DetachDataStream [1/2]

void DdtDataStreamWidget::DetachDataStream ( )
protectedslot

Slot that shall be called when the detach button was pressed

◆ DetachDataStream [2/2]

void DdtDataStreamWidget::DetachDataStream ( QString data_stream_id)
signal

Signal that is send when the connected data stream should be disconnected

Parameters
data_stream_idID of the data stream

◆ DisplayURIsDialog

void DdtDataStreamWidget::DisplayURIsDialog ( )
protectedslot

Create and show the dialog to input local and remote brokers URIs

◆ FlickerStatus

void DdtDataStreamWidget::FlickerStatus ( )
protectedslot

Reset the status when flickering the LED

◆ LastBrokerConnection

void DdtDataStreamWidget::LastBrokerConnection ( QString data_stream_id)
signal

Signal that is send when datastream list is retrieve from a broker connection

Parameters
data_stream_idID of the data stream

◆ PopulatePublisherListCombo

bool DdtDataStreamWidget::PopulatePublisherListCombo ( QString localbroker_uri,
QString remotebroker_uri )
slot

Populate the combo box with the entries from a datastream list

◆ set_logger()

void DdtDataStreamWidget::set_logger ( ddt::DdtLogger * in_logger)

Set logger

Parameters
in_loggerThe logger object

◆ SetDataStream

void DdtDataStreamWidget::SetDataStream ( QString startup_data_stream)
protectedslot

Slot that will receive the name of the startup data stream

Member Data Documentation

◆ current_localbroker_uri

QString DdtDataStreamWidget::current_localbroker_uri
protected

Current URI of local Broker streaming data

◆ current_remotebroker_uri

QString DdtDataStreamWidget::current_remotebroker_uri
protected

Current URI of remote Broker streaming data

◆ last_index_selected

int DdtDataStreamWidget::last_index_selected
protected

Last

◆ logger

ddt::DdtLogger* DdtDataStreamWidget::logger
protected

Logger object


The documentation for this class was generated from the following files: