ddt
0.1
|
#include <ddtDataStreamWidget.hpp>
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 () |
![]() | |
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::DdtLogger * | logger |
QStringList | uri_list |
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 |
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 |
Reset the status when flickering the LED
void DdtDataStreamWidget::PopulatePublisherListCombo | ( | ) |
Populate the combo box with the entries from the URI list
void DdtDataStreamWidget::ReadPublisherList | ( | ) |
Read the configuration file and read list of configured publishers
void DdtDataStreamWidget::set_logger | ( | ddt::DdtLogger * | in_logger | ) |
Set logger
logger | The logger object |
|
protectedslot |
Slot that will receive the name of the startup data stream
|
protectedslot |
Button Set was pressed. Set new URI string.
|
protected |
Logger object
|
protected |
Current list of URIs as comma separated values: name,uri,datastream