VHISTlib  1.84.0.3018
Public Member Functions
vhist::VhistaddRunner Class Reference

Executes an VHIST argfile using vhistadd. More...

#include <vhistaddrunner.h>

Inheritance diagram for vhist::VhistaddRunner:
vhist::VhistRunner vhist::LogSource

List of all members.

Public Member Functions

 VhistaddRunner (QObject *listener=NULL)
 Creates a new VhistaddRunner object.
virtual ~VhistaddRunner ()
 Destroys the VhistaddRunner object.
virtual int runProcess (const QString &argfile)
 Runs m_vhistrun with the given argfile.

Detailed Description

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.


Member Function Documentation

int VhistaddRunner::runProcess ( const QString &  argfile) [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.

Parameters:
[in]argfileThe 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.

Returns:
The returncode of "m_vhistrun" if it started successfully or one of the values from VHISTADD_ERROR.

Implements vhist::VhistRunner.


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

VHISTlib 1.84.0.3018 of Jun 28 2013, generated by doxygen.