ocean.io.device.IODevice

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.

Members

Classes

IODevice
class IODevice

IODevice device base class, may be used to conveniently implement an I/O class that is both an IInputDevice and IOutputDevice.

InputDevice
class InputDevice

Input device base class, may be used to conveniently implement an IInputDevice.

Interfaces

IInputDevice
interface IInputDevice

Input device interface

IOutputDevice
interface IOutputDevice

Output device interface

Meta

License

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).