This class implements the cf::ConsoleI interface by means of a cf::GuiSys::WindowT, thus providing us with a GuiSys-based console. More...
#include "ConsoleByWindow.hpp"
Public Member Functions | |
ConsoleByWindowT (IntrusivePtrT< WindowT > Win) | |
Constructor for a console that is implemented by means of the given WindowT object. More... | |
void | Print (const std::string &s) |
Print message to console. More... | |
void | DevPrint (const std::string &s) |
Print dev message to console. More... | |
void | Warning (const std::string &s) |
Print warning to console. More... | |
void | DevWarning (const std::string &s) |
Print dev warning to console. More... | |
![]() | |
virtual | ~ConsoleI () |
Virtual dtor so that derived classes properly destroy. More... | |
This class implements the cf::ConsoleI interface by means of a cf::GuiSys::WindowT, thus providing us with a GuiSys-based console.
It quasi acts as a kind of "mediator" between the cf::ConsoleI interface and the WindowT instance. Note that the target window must live longer than instances of this class!
ConsoleByWindowT::ConsoleByWindowT | ( | IntrusivePtrT< WindowT > | Win | ) |
Constructor for a console that is implemented by means of the given WindowT object.
|
virtual |
Print dev message to console.
Implements cf::ConsoleI.
|
virtual |
Print dev warning to console.
Implements cf::ConsoleI.
|
virtual |
Print message to console.
Implements cf::ConsoleI.
|
virtual |
Print warning to console.
Implements cf::ConsoleI.