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

typedef cLogCommandOutputCallback super
 

Private Member Functions

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

Additional Inherited Members

- Public Member Functions inherited from cStringAccumCommandOutputCallback
const AStringGetAccum (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...
 
- Public Member Functions inherited from cCommandOutputCallback
void Out (const char *a_Fmt, fmt::ArgList)
 Syntax sugar function, calls Out() with Printf()-ed parameters; appends 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 86 of file CommandOutput.h.

Member Typedef Documentation

Definition at line 89 of file CommandOutput.h.

Member Function Documentation

virtual void cLogCommandDeleteSelfOutputCallback::Finished ( void  )
inlineoverrideprivatevirtual

Called when the command processing has been finished.

Reimplemented from cLogCommandOutputCallback.

Definition at line 91 of file CommandOutput.h.


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