diff options
Diffstat (limited to 'src/include/multilogdevice.h')
-rw-r--r-- | src/include/multilogdevice.h | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/src/include/multilogdevice.h b/src/include/multilogdevice.h new file mode 100644 index 0000000..a6f29f2 --- /dev/null +++ b/src/include/multilogdevice.h @@ -0,0 +1,29 @@ +/** -------------------------------------------------------------------- + * @file multilogdevice.h + * @brief Declaration of the MultilogDevice class. + * @author Andreas Aardal Hanssen + * @date Andreas Aardal Hanssen + * ----------------------------------------------------------------- **/ +#ifndef multilogdevice_h_included +#define multilogdevice_h_included + +#include "iodevice.h" + +namespace Binc { + class MultilogDevice : public IODevice { + public: + MultilogDevice(int flags); + ~MultilogDevice(); + + std::string service(void) const; + + protected: + bool waitForWrite(void) const; + bool waitForRead(void) const; + + WriteResult write(void); + bool fillInputBuffer(void); + }; +} + +#endif |