12 #ifndef ECL_DEVICES_CONSOLE_HPP_ 13 #define ECL_DEVICES_CONSOLE_HPP_ 62 bool open() {
return true; }
86 long write(
const char* s,
unsigned long n) ecl_assert_throw_decl(
StandardException);
163 long write(
const char* s,
unsigned long n) ecl_assert_throw_decl(
StandardException);
240 long read(
char *s,
const unsigned long &n) ecl_assert_throw_decl(
StandardException);
Default action for detection of source devices (input) (false).
const Error & error() const
Returns the most recent error status.
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.
OConsole()
Default constructor.
bool open()
Dummy handle to satisfy the input device concept.
EConsole()
Default constructor.
Device for reading from standard output.
#define ecl_assert_throw_decl(exception)
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