ST_engine
0.3-ALPHA
|
This object represents the console window. More...
#include <console.hpp>
Public Member Functions | |
console (message_bus &gMessageBus) | |
~console () | |
void | set_log_level (ST::log_type arg) |
bool | is_open () const |
void | update () |
void | post_init () const |
Friends | |
class | drawing_manager |
class | console_test |
This object represents the console window.
Definition at line 17 of file console.hpp.
|
explicit |
msg_bus | A pointer to the global message bus. |
Definition at line 19 of file console.cpp.
console::~console | ( | ) |
Close the console.
Definition at line 248 of file console.cpp.
bool console::is_open | ( | ) | const |
Definition at line 227 of file console.cpp.
void console::set_log_level | ( | ST::log_type | arg | ) |
Set the log level.
arg | The log level - this can be log_type::ERROR, log_type::INFO, log_type::SUCCESS or any of the three or'ed together. |
For example: set_log_level(log_type::INFO | log_type::SUCCESS | log_type::ERROR);
Definition at line 190 of file console.cpp.
void console::update | ( | ) |
Consumes messages from the subscriber object.
Definition at line 346 of file console.cpp.