Bincimap 2.0.16
Easy Imapping
Loading...
Searching...
No Matches
stdiodevice.h
Go to the documentation of this file.
1
7#ifndef stdiodevice_h_included
8#define stdiodevice_h_included
9
10#include "iodevice.h"
11
12namespace Binc {
13 class StdIODevice : public IODevice {
14 public:
15 StdIODevice(int flags);
17
18 std::string service(void) const;
19
20 bool canRead(void) const;
21
22 protected:
23 bool waitForWrite(void) const;
24 bool waitForRead(void) const;
25
26 WriteResult write(void);
27 bool fillInputBuffer(void);
28 };
29}
30
31#endif
The IODevice class provides a framework for reading and writing to device.
Definition: iodevice.h:31
unsigned int flags
Definition: iodevice.h:342
bool waitForRead(void) const
Definition: stdiodevice.cc:64
bool waitForWrite(void) const
Definition: stdiodevice.cc:48
WriteResult write(void)
Definition: stdiodevice.cc:80
std::string service(void) const
Definition: stdiodevice.cc:35
bool fillInputBuffer(void)
Definition: stdiodevice.cc:102
bool canRead(void) const
Definition: stdiodevice.cc:41
Declaration of the IODevice class.
Definition: bincimapd.cc:9