Console system
Public Member Methods | |
Console () | |
Constructor. More... | |
void | Show () |
Shows the console. More... | |
void | Hide () |
Hides the console. More... | |
void | Write (PCChar8 message) |
Writes a message into the console. More... | |
void | WriteLine (PCChar8 message="") |
Writes a message into the console and a new line. More... | |
void | Pause () |
Demands a pause. (press any key to continue) More... | |
Public Attributes | |
EventSingleDelegateVoid | CloseEvent |
Close event delegate. More... | |
Console | ( | ) |
Constructor.
void Hide | ( | ) |
Hides the console.
void Pause | ( | ) |
Demands a pause. (press any key to continue)
void Show | ( | ) |
Shows the console.
void Write | ( | PCChar8 | message | ) |
Writes a message into the console.
message | The message. |
void WriteLine | ( | PCChar8 | message = "" | ) |
Writes a message into the console and a new line.
message | The message. |
EventSingleDelegateVoid CloseEvent |
Close event delegate.
The code executed by the delegate should not take much stack size or a long time to be executed. This code may be executed by a system thread. Be carefull about concurrent access. Declaration of the delegate in the class :
Initialization :