trikRuntime
|
Abstraction of Linux FIFO used to receive events. To write to FIFO, use OutputDeviceFileInterface. More...
#include <fifoInterface.h>
Signals | |
void | newData (const QString &data) |
Emitted when new data is read from FIFO. More... | |
void | readError () |
Emitted when something is wrong with opened FIFO file and reading failed. More... | |
Public Member Functions | |
virtual bool | open ()=0 |
Opens FIFO file and starts listening for events. More... | |
virtual bool | close ()=0 |
Closes FIFO file and stops listening for events. More... | |
virtual QString | fileName ()=0 |
Returns file name of a FIFO file. More... | |
Abstraction of Linux FIFO used to receive events. To write to FIFO, use OutputDeviceFileInterface.
|
pure virtual |
Closes FIFO file and stops listening for events.
Implemented in trikHal::trik::TrikFifo, and trikHal::stub::StubFifo.
|
pure virtual |
Returns file name of a FIFO file.
Implemented in trikHal::trik::TrikFifo, and trikHal::stub::StubFifo.
|
signal |
Emitted when new data is read from FIFO.
|
pure virtual |
Opens FIFO file and starts listening for events.
Implemented in trikHal::trik::TrikFifo, and trikHal::stub::StubFifo.
|
signal |
Emitted when something is wrong with opened FIFO file and reading failed.
It may be caused, for example, by another process reading from the same FIFO, it may partially read data.