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

Sends all command output to a log, line by line; deletes self when command finishes processing. More...

#include <CommandOutput.h>

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

Private Types

using Super = cLogCommandOutputCallback
 

Private Member Functions

virtual void Finished () override
 Called when the command processing has been finished. More...
 

Additional Inherited Members

- 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 ()
 
- 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; deletes self when command finishes processing.

Definition at line 92 of file CommandOutput.h.

Member Typedef Documentation

◆ Super

Definition at line 95 of file CommandOutput.h.

Member Function Documentation

◆ Finished()

virtual void cLogCommandDeleteSelfOutputCallback::Finished ( void  )
inlineoverrideprivatevirtual

Called when the command processing has been finished.

Reimplemented from cLogCommandOutputCallback.

Definition at line 97 of file CommandOutput.h.


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