Cuberite
A lightweight, fast and extensible game server for Minecraft
Public Member Functions | List of all members
cLogCommandOutputCallback Class Reference

Sends all command output to a log, line by line, when the command finishes processing. More...

#include <CommandOutput.h>

Inheritance diagram for cLogCommandOutputCallback:
Inheritance graph
[legend]
Collaboration diagram for cLogCommandOutputCallback:
Collaboration graph
[legend]

Public Member Functions

virtual void Finished () override
 Called when the command processing has been finished. More...
 
- Public Member Functions inherited from cStringAccumCommandOutputCallback
const AStringGetAccum () 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...
 
- Public Member Functions inherited from cCommandOutputCallback
void OutLn (const AString &aText)
 Outputs the specified text, plus a newline. More...
 
virtual ~cCommandOutputCallback ()
 

Additional Inherited Members

- Protected Attributes inherited from cStringAccumCommandOutputCallback
AString m_Accum
 Output is stored here until the command finishes processing. More...
 

Detailed Description

Sends all command output to a log, line by line, when the command finishes processing.

Definition at line 79 of file CommandOutput.h.

Member Function Documentation

◆ Finished()

void cLogCommandOutputCallback::Finished ( void  )
overridevirtual

Called when the command processing has been finished.

Reimplemented from cStringAccumCommandOutputCallback.

Reimplemented in cLogCommandDeleteSelfOutputCallback.

Definition at line 28 of file CommandOutput.cpp.


The documentation for this class was generated from the following files: