Go to the documentation of this file.
12 #ifndef ECL_DEVICES_CONSOLE_HPP_
13 #define ECL_DEVICES_CONSOLE_HPP_
48 OConsole() : error_handler(
NoError) {}
62 bool open() {
return true; }
74 long write(
const char &c);
86 long write(
const char* s,
unsigned long n);
103 const Error& error()
const {
return error_handler; }
139 bool open() {
return true; }
151 long write(
const char &c);
163 long write(
const char* s,
unsigned long n);
180 const Error& error()
const {
return error_handler; }
183 devices::CharStringBuffer buffer;
221 bool open() {
return true; }
240 long read(
char *s,
const unsigned long &n);
258 const Error& error()
const {
return error_handler; }
292 class is_sink<EConsole> :
public True {};
Default action for detection of sink devices (output) (false).
Simple char string buffer class for use internally by the devices.
Device for writing to standard output.
A generic buffer for devices.
#define ecl_devices_PUBLIC
Device for reading from standard output.
Embedded control libraries.
Device for writing o standard error.
Default action for detection of source devices (input) (false).
ecl_devices
Author(s): Daniel Stonier
autogenerated on Wed Mar 2 2022 00:16:45