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
Boost Software License Version 1.0. See LICENSE_BOOST.txt for details. Alternatively, this file may be distributed under the terms of the Tango 3-Clause BSD License (see LICENSE_BSD.txt for details).
Copyright (c) 2009-2016 dunnhumby Germany GmbH. All rights reserved.
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.