This class implements the ConsoleI interface by printing the console output to stdout. More...
#include "ConsoleStdout.hpp"
Public Member Functions | |
ConsoleStdoutT (bool AutoFlush_=false) | |
Constructor for creating an instance of a ConsoleStdoutT. More... | |
void | EnableAutoFlush (bool AutoFlush_) |
Enables or diables auto-flushing. More... | |
void | Flush () |
Flushes the stdout stream. 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 ConsoleI interface by printing the console output to stdout.
ConsoleStdoutT::ConsoleStdoutT | ( | bool | AutoFlush_ = false | ) |
Constructor for creating an instance of a ConsoleStdoutT.
AutoFlush_ | Whether auto-flushing is enabled or not. |
|
virtual |
Print dev message to console.
Implements cf::ConsoleI.
|
virtual |
Print dev warning to console.
Implements cf::ConsoleI.
void ConsoleStdoutT::EnableAutoFlush | ( | bool | AutoFlush_ | ) |
Enables or diables auto-flushing.
If enabled, each call to the ConsoleI output functions is followed by a flush of the stdout stream.
void ConsoleStdoutT::Flush | ( | ) |
Flushes the stdout stream.
|
virtual |
Print message to console.
Implements cf::ConsoleI.
|
virtual |
Print warning to console.
Implements cf::ConsoleI.