|
trikRuntime
|
Output device file abstraction. More...
#include <outputDeviceFileInterface.h>

Public Member Functions | |
| OutputDeviceFileInterface ()=default | |
| virtual | ~OutputDeviceFileInterface ()=default |
| virtual bool | open ()=0 |
| Open a file. File name must be set previously. More... | |
| virtual void | close ()=0 |
| Close a file. More... | |
| virtual void | write (const QString &data)=0 |
| Write data to a file using UTF-8 encoding. More... | |
| virtual QString | fileName () const =0 |
| Returns name of a file. More... | |
Output device file abstraction.
Can only write to a device file, thus sending commands to a device driver. Flushes its contents after every write.
|
default |
|
virtualdefault |
|
pure virtual |
Close a file.
Implemented in trikHal::stub::StubOutputDeviceFile, and trikHal::trik::TrikOutputDeviceFile.
|
pure virtual |
Returns name of a file.
Implemented in trikHal::stub::StubOutputDeviceFile, and trikHal::trik::TrikOutputDeviceFile.
|
pure virtual |
Open a file. File name must be set previously.
Implemented in trikHal::stub::StubOutputDeviceFile, and trikHal::trik::TrikOutputDeviceFile.
|
pure virtual |
Write data to a file using UTF-8 encoding.
Implemented in trikHal::stub::StubOutputDeviceFile, and trikHal::trik::TrikOutputDeviceFile.