![]() |
Cuberite
A lightweight, fast and extensible game server for Minecraft
|
Sends all command output to a log, line by line; deletes self when command finishes processing. More...
#include <CommandOutput.h>
Private Types | |
typedef cLogCommandOutputCallback | super |
Private Member Functions | |
virtual void | Finished (void) override |
Called when the command processing has been finished. More... | |
Additional Inherited Members | |
![]() | |
const AString & | GetAccum (void) const |
Returns the accumulated command output in a string. More... | |
virtual void | Out (const AString &a_Text) override |
Called when the command wants to output anything; may be called multiple times. More... | |
![]() | |
void | Out (const char *a_Fmt, fmt::ArgList) |
Syntax sugar function, calls Out() with Printf()-ed parameters; appends a newline". More... | |
virtual | ~cCommandOutputCallback () |
![]() | |
AString | m_Accum |
Output is stored here until the command finishes processing. More... | |
Sends all command output to a log, line by line; deletes self when command finishes processing.
Definition at line 86 of file CommandOutput.h.
|
private |
Definition at line 89 of file CommandOutput.h.
|
inlineoverrideprivatevirtual |
Called when the command processing has been finished.
Reimplemented from cLogCommandOutputCallback.
Definition at line 91 of file CommandOutput.h.