Namespaces | |
| namespace | demos |
| namespace | interfaces |
| namespace | streams |
Streaming to and from input-output devices. | |
Classes | |
| class | ClearScreen |
| Manipulator that clears a terminal screen the c++ (hard) way. More... | |
| class | EndOfLine |
| Replicates the well known end of line/flush combination. More... | |
| class | LogStream |
| A customised textstream for fast, multithreaded logging to file. More... | |
| class | Manipulator |
| Parent template for c++ style stream manipulators. More... | |
| class | OFileStream |
| Convenience class for OFile TextStream definitions. More... | |
| class | SerialStream |
| Convenience class for Serial TextStream definitions. More... | |
| class | SharedFileStream |
| Convenience class for SharedFile TextStream definitions. More... | |
| class | SocketClientStream |
| Convenience class for SocketClient TextStream definitions. More... | |
| class | SocketServerStream |
| Convenience class for SocketServer TextStream definitions. More... | |
| class | StringStream |
| Convenience wrapper for string device based textstreams. More... | |
| class | TextStream |
| A text streaming interface. More... | |
Typedefs | |
| typedef TextStream< EConsole > | EConsoleStream |
| Streams to standard error. | |
| typedef TextStream< IConsole > | IConsoleStream |
| Streams to standard input. | |
| typedef TextStream< OConsole > | OConsoleStream |
| Streams to standard output. | |
Variables | |
| ClearScreen | clrscr |
| EndOfLine | endl |
| typedef TextStream<EConsole> ecl::EConsoleStream |
Streams to standard error.
Streams to standard error.
Usage:
There is no need to open this device, it automatically connects to stderr.
EConsoleStream estream; estream << "Boom"; estream.flush();
Definition at line 85 of file console_streams.hpp.
| typedef TextStream<IConsole> ecl::IConsoleStream |
Streams to standard input.
Streams to standard input.
Usage:
There is no need to open this device, it automatically connects to stdin.
IConsoleStream istream; string str; istream << str;
Definition at line 69 of file console_streams.hpp.
| typedef TextStream<OConsole> ecl::OConsoleStream |
Streams to standard output.
This class operates similar to, but posesses several advantages to the usual cout c++ mechanism.
The ecl could provide a global mechanism very much like the cout handle, but instantiating separately stops getting standard output messages confused and is a useful property for multi-threaded control applications. If you wish to use a global mechanism, simply instantiate a global instance in your program.
Usage:
There is no need to open this device, it automatically connects to stdout.
OConsoleStream ostream; ostream << "Hey dude"; ostream.flush();
Definition at line 53 of file console_streams.hpp.
Definition at line 27 of file manipulators.cpp.
Definition at line 26 of file manipulators.cpp.