The console window class This class opens a console window when instantiated and redirects the stdio streams to it as long it exists. More...
#include <GuiConsole.h>
Public Member Functions | |
GUIConsole (void) | |
Constructor. More... | |
const char * | Name (void) override |
void | SendLog (const std::string &msg, Base::LogStyle level) override |
Used to send a Log message at the given level. More... | |
virtual | ~GUIConsole (void) |
Destructor. More... | |
Public Member Functions inherited from Base::ILogger | |
ILogger () | |
virtual const char * | Name () |
virtual void | SendLog (const std::string &msg, LogStyle level)=0 |
Used to send a Log message at the given level. More... | |
virtual | ~ILogger ()=0 |
Static Protected Attributes | |
static const unsigned int | s_nMaxLines |
static unsigned int | s_nRefCount |
Additional Inherited Members | |
Public Attributes inherited from Base::ILogger | |
bool | bErr |
bool | bLog |
bool | bMsg |
bool | bWrn |
The console window class This class opens a console window when instantiated and redirects the stdio streams to it as long it exists.
This is for Windows only! After instantiation it automatically registers itself at the FCConsole class and gets all the FCConsoleObserver messages. The class must not used directly! Only the FCConsole class is allowed!
GUIConsole::GUIConsole | ( | void | ) |
Constructor.
|
virtual |
Destructor.
|
overridevirtual |
Reimplemented from Base::ILogger.
|
overridevirtual |
Used to send a Log message at the given level.
Implements Base::ILogger.
References Base::Error, Base::Log, Base::Message, and Base::Warning.
|
staticprotected |
|
staticprotected |