The console window class This class opens a console window when instanciated and redirect the stdio streams to it as long it exists. More...
#include <GuiConsole.h>
Public Member Functions | |
GUIConsole (void) | |
Constructor. | |
virtual | ~GUIConsole (void) |
Destructor. | |
virtual void | Error (const char *sErr) |
get calles when a Error is issued | |
virtual void | Log (const char *sErr) |
get calles when a Log Message is issued | |
virtual void | Message (const char *sMsg) |
get calles when a Message is issued | |
const char * | Name (void) |
virtual void | Warning (const char *sWarn) |
Observer implementation. | |
Static Protected Attributes | |
static const unsigned int | s_nMaxLines |
static unsigned int | s_nRefCount |
The console window class This class opens a console window when instanciated and redirect the stdio streams to it as long it exists.
This is for Windows only! After instanciation it automaticly register itself at the FCConsole class and gets all the FCConsoleObserver massages. The class must not used directly! Only the over the FCConsole class is allowed!
Definition at line 43 of file GuiConsole.h.
GUIConsole::GUIConsole | ( | void | ) |
Constructor.
Definition at line 116 of file GuiConsole.cpp.
GUIConsole::~GUIConsole | ( | void | ) | [virtual] |
Destructor.
Definition at line 117 of file GuiConsole.cpp.
void GUIConsole::Error | ( | const char * | ) | [virtual] |
get calles when a Error is issued
Implements Base::ConsoleObserver.
Definition at line 120 of file GuiConsole.cpp.
void GUIConsole::Log | ( | const char * | ) | [virtual] |
get calles when a Log Message is issued
Reimplemented from Base::ConsoleObserver.
Definition at line 121 of file GuiConsole.cpp.
void GUIConsole::Message | ( | const char * | ) | [virtual] |
get calles when a Message is issued
Reimplemented from Base::ConsoleObserver.
Definition at line 118 of file GuiConsole.cpp.
const char* Gui::GUIConsole::Name | ( | void | ) | [inline, virtual] |
Reimplemented from Base::ConsoleObserver.
Definition at line 56 of file GuiConsole.h.
void GUIConsole::Warning | ( | const char * | sWarn | ) | [virtual] |
Observer implementation.
Reimplemented from Base::ConsoleObserver.
Definition at line 119 of file GuiConsole.cpp.
const unsigned int Gui::GUIConsole::s_nMaxLines [static, protected] |
Definition at line 60 of file GuiConsole.h.
unsigned int Gui::GUIConsole::s_nRefCount [static, protected] |
Definition at line 61 of file GuiConsole.h.