trikRuntime
|
Interface that represents linux FIFO file, which is commonly used by various sensors. More...
#include <fifoInterface.h>
Public Slots | |
virtual QString | read ()=0 |
Reads data from this FIFO file, returning all available data as string. More... | |
virtual bool | hasData () const =0 |
Returns true if FIFO has new data in it. More... | |
Signals | |
void | newData (const QString &data) |
Emitted when new string is arrived to FIFO file. Emitted several times if more than one string arrives at once. More... | |
Additional Inherited Members | |
Public Types inherited from trikControl::DeviceInterface | |
enum | Status { Status::permanentFailure, Status::temporaryFailure, Status::off, Status::starting, Status::ready, Status::stopping } |
Device status. More... | |
Public Member Functions inherited from trikControl::DeviceInterface | |
DeviceInterface ()=default | |
virtual | ~DeviceInterface ()=default |
virtual Status | status () const =0 |
Returns current status of the device. More... | |
Static Public Member Functions inherited from trikControl::DeviceInterface | |
static Status | combine (const DeviceInterface &underlying, const DeviceInterface::Status &dependent) |
Helper method to return status of a device relying on other device to work. More... | |
Interface that represents linux FIFO file, which is commonly used by various sensors.
|
pure virtualslot |
Returns true if FIFO has new data in it.
|
signal |
Emitted when new string is arrived to FIFO file. Emitted several times if more than one string arrives at once.
|
pure virtualslot |
Reads data from this FIFO file, returning all available data as string.