blob: 313a6cde7f4d5a69b018f1eb8bd2f78f79280200 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
|
/**
* @file stdiodevice.h
* @brief Declaration of the StdIODevice class.
* @author Andreas Aardal Hanssen
* @date 2002, 2003
*/
#ifndef stdiodevice_h_included
#define stdiodevice_h_included
#include "iodevice.h"
namespace Binc {
class StdIODevice : public IODevice {
public:
StdIODevice(int flags);
~StdIODevice();
std::string service() const;
bool canRead() const;
protected:
bool waitForWrite() const;
bool waitForRead() const;
WriteResult write();
bool fillInputBuffer();
};
}
#endif
|