Gui::GUIConsole Class Reference
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 | ~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 |
Detailed Description
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!
- See also
- FCConsole
Constructor & Destructor Documentation
◆ GUIConsole()
GUIConsole::GUIConsole | ( | void | ) |
Constructor.
◆ ~GUIConsole()
|
virtual |
Destructor.
Member Function Documentation
◆ Name()
|
overridevirtual |
Reimplemented from Base::ILogger.
◆ SendLog()
|
overridevirtual |
Used to send a Log message at the given level.
Implements Base::ILogger.
References Base::Error, Base::Log, Base::Message, and Base::Warning.
Member Data Documentation
◆ s_nMaxLines
|
staticprotected |
◆ s_nRefCount
|
staticprotected |
The documentation for this class was generated from the following files:
- src/Gui/GuiConsole.h
- src/Gui/GuiConsole.cpp