63 virtual void Out(
const AString & a_Text)
override;
Interface for a callback that receives command output The Out() function is called for any output the...
virtual void Finished()
Called when the command processing has been finished.
void OutLn(const AString &aText)
Outputs the specified text, plus a newline.
virtual ~cCommandOutputCallback()
virtual void Out(const AString &a_Text)=0
Called when the command wants to output anything; may be called multiple times.
Class that discards all command output.
virtual void Out(const AString &a_Text) override
Called when the command wants to output anything; may be called multiple times.
Accumulates all command output into a string.
AString m_Accum
Output is stored here until the command finishes processing.
const AString & GetAccum() const
Returns the accumulated command output in a string.
virtual void Finished() override
Called when the command processing has been finished.
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() 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() override
Called when the command processing has been finished.