VHISTlib
1.84.0.3018
|
Executes an VHIST argfile using vhistadd. More...
#include <vhistdelrunner.h>
Public Member Functions | |
VhistdelRunner (QObject *listener=NULL) | |
Creates a new VhistdelRunner object. | |
virtual | ~VhistdelRunner () |
Destroys the VhistdelRunner object. | |
virtual int | runProcess (const QString &argfile) |
Runs m_vhistrun with the given argfile. |
Executes an VHIST argfile using vhistadd.
The class searches for a vhistadd executable in the given path list. Both, the native python version and the py2exe version of vhistadd are supported.
int VhistdelRunner::runProcess | ( | const QString & | szVHistFIle | ) | [virtual] |
Runs m_vhistrun with the given argfile.
The output of m_vhistrun is parsed and reported on a line by line basis using the vhist::LogSource interface.
[in] | argfile | The content of an argfile. m_vhistrun will be called with the --stdin option and the argfile if passed to m_vhistrun via the stdin pipe. |
While executing "m_vhistrun", VhistRunner will regularly emit an intercept signal, which can be used to update the user interface of the calling application and react to user inputs.
Implements vhist::VhistRunner.