17 #include <QtCore/QString> 18 #include <QtCore/QObject> 30 virtual bool open() = 0;
34 virtual bool close() = 0;
41 void newData(
const QString &data);
virtual bool open()=0
Opens FIFO file and starts listening for events.
virtual bool close()=0
Closes FIFO file and stops listening for events.
void readError()
Emitted when something is wrong with opened FIFO file and reading failed.
Definition: brickFactory.h:21
Abstraction of Linux FIFO used to receive events. To write to FIFO, use OutputDeviceFileInterface.
Definition: fifoInterface.h:23
virtual QString fileName()=0
Returns file name of a FIFO file.
void newData(const QString &data)
Emitted when new data is read from FIFO.