![]() |
Cuberite
A lightweight, fast and extensible game server for Minecraft
|
Sends all command output to a log, line by line, when the command finishes processing. More...
#include <CommandOutput.h>
Public Member Functions | |
virtual void | Finished (void) override |
Called when the command processing has been finished. More... | |
![]() | |
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 () |
Additional Inherited Members | |
![]() | |
AString | m_Accum |
Output is stored here until the command finishes processing. More... | |
Sends all command output to a log, line by line, when the command finishes processing.
Definition at line 73 of file CommandOutput.h.
|
overridevirtual |
Called when the command processing has been finished.
Reimplemented from cStringAccumCommandOutputCallback.
Reimplemented in cLogCommandDeleteSelfOutputCallback.
Definition at line 42 of file CommandOutput.cpp.