IODevice device base class, may be used to conveniently implement an I/O class that is both an IInputDevice and IOutputDevice.
Input device base class, may be used to conveniently implement an IInputDevice.
Input device interface
Output device interface
Simple POSIX I/O device interfaces and base classes, significantly influenced by Tango's Conduit.
An input device is merely an ISelectable (a file descriptor) with a read() method and an output an ISelectable device wih a write() method. read() and write() wrap the POSIX function with the same name.