ddt  0.1
Signals | Public Member Functions | Protected Slots | 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)
 

Public Member Functions

 DdtDataStreamWidget (QWidget *parent=nullptr)
 
virtual ~DdtDataStreamWidget ()
 
void set_logger (ddt::DdtLogger *in_logger)
 
void ReadPublisherList ()
 
void PopulatePublisherListCombo ()
 
- Public Member Functions inherited from DdtWidget
 DdtWidget (QWidget *parent=nullptr)
 DdtWidget. More...
 
virtual ~DdtWidget ()=default
 
QLayout * addParentLayout (QLayout *childLayout)
 addParentLayout This will add the given layout to the layout of the parent inside the group box. More...
 

Protected Slots

void AttachDataStream ()
 
void DetachDataStream ()
 
void SetDataStream (QString startup_data_stream)
 
void SetNewUri ()
 
void CurrentStatus (QString stream_id, ConnectionStatus status)
 
void FlickerStatus ()
 

Protected Attributes

ddt::DdtLoggerlogger
 
QStringList uri_list
 

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

◆ FlickerStatus

void DdtDataStreamWidget::FlickerStatus ( )
protectedslot

Reset the status when flickering the LED

◆ PopulatePublisherListCombo()

void DdtDataStreamWidget::PopulatePublisherListCombo ( )

Populate the combo box with the entries from the URI list

◆ ReadPublisherList()

void DdtDataStreamWidget::ReadPublisherList ( )

Read the configuration file and read list of configured publishers

◆ set_logger()

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

Set logger

Parameters
loggerThe logger object

◆ SetDataStream

void DdtDataStreamWidget::SetDataStream ( QString  startup_data_stream)
protectedslot

Slot that will receive the name of the startup data stream

◆ SetNewUri

void DdtDataStreamWidget::SetNewUri ( )
protectedslot

Button Set was pressed. Set new URI string.

Member Data Documentation

◆ logger

ddt::DdtLogger* DdtDataStreamWidget::logger
protected

Logger object

◆ uri_list

QStringList DdtDataStreamWidget::uri_list
protected

Current list of URIs as comma separated values: name,uri,datastream


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