12 #ifndef ECL_DEVICES_CONSOLE_HPP_ 13 #define ECL_DEVICES_CONSOLE_HPP_ 62 bool open() {
return true; }
74 long write(
const char &c);
86 long write(
const char* s,
unsigned long n);
151 long write(
const char &c);
163 long write(
const char* s,
unsigned long n);
240 long read(
char *s,
const unsigned long &n);
Default action for detection of source devices (input) (false).
Embedded control libraries.
bool open()
Dummy handle to satisfy the output device concept.
A generic buffer for devices.
Device for writing to standard output.
bool open()
Dummy handle to satisfy the output device concept.
const Error & error() const
Returns the most recent error status.
const Error & error() const
Returns the most recent error status.
const Error & error() const
Returns the most recent error status.
OConsole()
Default constructor.
bool open()
Dummy handle to satisfy the input device concept.
EConsole()
Default constructor.
Device for reading from standard output.
Simple char string buffer class for use internally by the devices.
#define ecl_devices_PUBLIC
Device for writing o standard error.
IConsole()
Default constructor.
Default action for detection of sink devices (output) (false).
devices::CharStringBuffer buffer
devices::CharStringBuffer buffer