#include <collectingprocess.h>
Inherits TDEProcess.
Public Member Functions | |
CollectingProcess (TQObject *parent=0, const char *name=0) | |
bool | start (RunMode runmode, Communication comm) |
TQByteArray | collectedStdout () |
TQByteArray | collectedStderr () |
Protected Member Functions | |
void | virtual_hook (int id, void *data) |
Detailed Description
An output collecting TDEProcess class.
This class simplifies the usage of TDEProcess by collecting all output (stdout/stderr) of the process.
Definition at line 49 of file collectingprocess.h.
Constructor & Destructor Documentation
◆ CollectingProcess()
CollectingProcess::CollectingProcess | ( | TQObject * | parent = 0 , |
const char * | name = 0 |
||
) |
Definition at line 52 of file collectingprocess.cpp.
◆ ~CollectingProcess()
CollectingProcess::~CollectingProcess | ( | ) |
Definition at line 58 of file collectingprocess.cpp.
Member Function Documentation
◆ collectedStderr()
TQByteArray CollectingProcess::collectedStderr | ( | ) |
Returns the contents of the stderr buffer and clears it afterwards.
Definition at line 116 of file collectingprocess.cpp.
◆ collectedStdout()
TQByteArray CollectingProcess::collectedStdout | ( | ) |
Returns the contents of the stdout buffer and clears it afterwards.
Definition at line 96 of file collectingprocess.cpp.
◆ start()
bool CollectingProcess::start | ( | RunMode | runmode, |
Communication | comm | ||
) |
Starts the process in NotifyOnExit mode and writes in to stdin of the process.
Definition at line 62 of file collectingprocess.cpp.
◆ virtual_hook()
|
protected |
Definition at line 136 of file collectingprocess.cpp.
The documentation for this class was generated from the following files: