19 void Out(
const char * a_Fmt, fmt::ArgList);
20 FMT_VARIADIC(
void, Out,
const char *)
57 virtual void Out(
const AString & a_Text)
override;
78 virtual void Finished(
void)
override;
AString m_Accum
Output is stored here until the command finishes processing.
virtual ~cCommandOutputCallback()
const AString & GetAccum(void) const
Returns the accumulated command output in a string.
Accumulates all command output into a string.
virtual void Out(const AString &a_Text) override
Called when the command wants to output anything; may be called multiple times.
Sends all command output to a log, line by line, when the command finishes processing.
virtual void Finished(void)
Called when the command processing has been finished.
void Out(const char *a_Fmt, fmt::ArgList)
Syntax sugar function, calls Out() with Printf()-ed parameters; appends a newline".
Class that discards all command output.
virtual void Finished(void) override
Called when the command processing has been finished.
Sends all command output to a log, line by line; deletes self when command finishes processing...
virtual void Finished(void) override
Called when the command processing has been finished.
cCommandOutputCallback super
Interface for a callback that receives command output The Out() function is called for any output the...
cLogCommandOutputCallback super