/** * @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