Elm
2
ELM is a library providing generic data structures, OS-independent interface, plugins and XML.
|
#include <elm/io/Monitor.h>
Public Member Functions | |
Monitor (void) | |
Monitor (const Monitor &monitor) | |
virtual | ~Monitor (void) |
virtual void | info (const string &message) |
virtual void | error (const string &message) |
virtual void | warn (const string &message) |
void | setOut (OutStream &out) |
void | setErr (OutStream &err) |
void | setLog (OutStream &log) |
Public Attributes | |
Output | out |
Output | err |
Output | log |
The monitor is a standard way to provide user interface that may be adapted to the current environment of an application. In its default implementation, it provides access to standard input/output to communicate with the user but it may be customized in any way without need of customization of classes based on this class.
Display an error to the user (on error output).
message | Message to display. |
References elm::io::endl, and Monitor::err.
Display an information to the user (on error output).
message | Message to display. |
References elm::io::endl, and Monitor::err.
Display a warning to the user (on error output).
message | Message to display. |
References elm::io::endl, and Monitor::err.
Output err |
Referenced by Monitor::error(), Monitor::info(), Monitor::setErr(), and Monitor::warn().
Output log |
Referenced by Monitor::setLog().
Output out |
Referenced by Monitor::setOut().