trikRuntime
|
Real implementation of FIFO. More...
#include <trikFifo.h>
Public Member Functions | |
TrikFifo (const QString &fileName) | |
Constructor. More... | |
~TrikFifo () override | |
bool | open () override |
Opens FIFO file and starts listening for events. More... | |
bool | close () override |
Closes FIFO file and stops listening for events. More... | |
QString | fileName () override |
Returns file name of a FIFO file. More... | |
Additional Inherited Members | |
Signals inherited from trikHal::FifoInterface | |
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... | |
Real implementation of FIFO.
TrikFifo::TrikFifo | ( | const QString & | fileName | ) |
Constructor.
fileName | - name of a FIFO file. |
|
override |
|
overridevirtual |
Closes FIFO file and stops listening for events.
Implements trikHal::FifoInterface.
|
overridevirtual |
Returns file name of a FIFO file.
Implements trikHal::FifoInterface.
|
overridevirtual |
Opens FIFO file and starts listening for events.
Implements trikHal::FifoInterface.