A reader thread component that listens to a control pipe for incoming messages from an interface.
More...
#include <interface_toolbar_reader.h>
|
|
void | loop () |
| | The main polling loop that continuously reads from the control pipe.
|
| |
|
| void | received (QString ifname, int num, int command, QByteArray payload) |
| | Signal emitted when a complete control message is successfully read.
|
| |
|
void | finished () |
| | Signal emitted when the reader loop finishes or terminates.
|
| |
A reader thread component that listens to a control pipe for incoming messages from an interface.
◆ InterfaceToolbarReader()
| InterfaceToolbarReader::InterfaceToolbarReader |
( |
QString |
ifname, |
|
|
void * |
control_in, |
|
|
QObject * |
parent = 0 |
|
) |
| |
|
inline |
Constructs a new InterfaceToolbarReader.
- Parameters
-
| ifname | The name of the interface being monitored. |
| control_in | The operating-system-specific handle or path for the input control pipe. |
| parent | The parent QObject, defaults to 0. |
◆ received
| void InterfaceToolbarReader::received |
( |
QString |
ifname, |
|
|
int |
num, |
|
|
int |
command, |
|
|
QByteArray |
payload |
|
) |
| |
|
signal |
Signal emitted when a complete control message is successfully read.
- Parameters
-
| ifname | The name of the interface that sent the message. |
| num | The control number. |
| command | The command type. |
| payload | The raw byte array payload of the message. |
The documentation for this class was generated from the following files: