WSF
wizard::WsfExecution Class Reference

Encapsulates the execution of a WSF application. More...

#include <WsfExecution.hpp>

Inherits QProcess.

Collaboration diagram for wizard::WsfExecution:

Classes

struct  ConnectionParameters

Signals

void Done ()
void StandardOutputText (const QString &aText)

Public Member Functions

 WsfExecution (QString aName, WsfExe *aExePtr, const UtPath &aWorkingDir, const QStringList &aArguments)
void Start (const std::vector< UtPath > &aStartupFiles)
void Kill ()
WsfExeGetExe () const
QStringList GetArguments () const
ExitStatus GetExitStatus () const
void SetOutputLogPath (const QString &aPath)
UtPath GetWorkingDir () const

Static Public Member Functions

static WsfExecutionNewExecution (WsfExe *aExe, const UtPath &aWorkingDir, const std::vector< UtPath > &aStartupFiles, const QString &aCmdLineArgs, const QString &aProjectName, int aXioRecvPort, bool aUseDebugging)
static std::string DebugSettingsString (int aPort)

Public Attributes

QSharedPointer< QTextDocument > mOutputText
ConnectionParameters mConnectionParameters
QString mName

Protected Slots

void ReadyReadStandardOutput ()
void Finished ()

Protected Member Functions

void LimitOutputSize (QTextCursor *aCursorPtr)
int Exec ()

Protected Attributes

QFile mOutputLog
UtPath mWorkingDir
WsfExemExePtr
QStringList mArguments
QRegExp mErrExp
QRegExp mInFileLineColExp
QRegExp mInFileEofExp
bool mDone
bool mStarted
ExitStatus mExitStatus

Detailed Description

Encapsulates the execution of a WSF application.

Constructor & Destructor Documentation

◆ WsfExecution()

wizard::WsfExecution::WsfExecution ( QString aName,
WsfExe * aExePtr,
const UtPath & aWorkingDir,
const QStringList & aArguments )

Member Function Documentation

◆ DebugSettingsString()

std::string wizard::WsfExecution::DebugSettingsString ( int aPort)
static

◆ Done

void wizard::WsfExecution::Done ( )
signal

Referenced by Finished(), and Kill().

◆ Exec()

int wizard::WsfExecution::Exec ( )
protected

◆ Finished

void wizard::WsfExecution::Finished ( )
protectedslot

◆ GetArguments()

QStringList wizard::WsfExecution::GetArguments ( ) const
inline

References mArguments.

◆ GetExe()

WsfExe * wizard::WsfExecution::GetExe ( ) const
inline

References mExePtr.

◆ GetExitStatus()

ExitStatus wizard::WsfExecution::GetExitStatus ( ) const
inline

References mExitStatus.

◆ GetWorkingDir()

UtPath wizard::WsfExecution::GetWorkingDir ( ) const
inline

References mWorkingDir.

◆ Kill()

void wizard::WsfExecution::Kill ( )

◆ LimitOutputSize()

void wizard::WsfExecution::LimitOutputSize ( QTextCursor * aCursorPtr)
protected

Referenced by StandardOutputText().

◆ NewExecution()

◆ ReadyReadStandardOutput

void wizard::WsfExecution::ReadyReadStandardOutput ( )
protectedslot

◆ SetOutputLogPath()

void wizard::WsfExecution::SetOutputLogPath ( const QString & aPath)

References mOutputLog.

◆ StandardOutputText

void wizard::WsfExecution::StandardOutputText ( const QString & aText)
signal

◆ Start()

void wizard::WsfExecution::Start ( const std::vector< UtPath > & aStartupFiles)

Member Data Documentation

◆ mArguments

QStringList wizard::WsfExecution::mArguments
protected

Referenced by GetArguments(), Start(), and WsfExecution().

◆ mConnectionParameters

ConnectionParameters wizard::WsfExecution::mConnectionParameters

Referenced by NewExecution(), and Start().

◆ mDone

bool wizard::WsfExecution::mDone
protected

Referenced by Finished(), Kill(), and WsfExecution().

◆ mErrExp

QRegExp wizard::WsfExecution::mErrExp
protected

Referenced by WsfExecution().

◆ mExePtr

WsfExe* wizard::WsfExecution::mExePtr
protected

Referenced by GetExe(), Start(), and WsfExecution().

◆ mExitStatus

ExitStatus wizard::WsfExecution::mExitStatus
protected

Referenced by GetExitStatus(), Kill(), and WsfExecution().

◆ mInFileEofExp

QRegExp wizard::WsfExecution::mInFileEofExp
protected

Referenced by WsfExecution().

◆ mInFileLineColExp

QRegExp wizard::WsfExecution::mInFileLineColExp
protected

Referenced by WsfExecution().

◆ mName

QString wizard::WsfExecution::mName

Referenced by WsfExecution().

◆ mOutputLog

QFile wizard::WsfExecution::mOutputLog
protected

◆ mOutputText

QSharedPointer<QTextDocument> wizard::WsfExecution::mOutputText

Referenced by WsfExecution().

◆ mStarted

bool wizard::WsfExecution::mStarted
protected

Referenced by Start().

◆ mWorkingDir

UtPath wizard::WsfExecution::mWorkingDir
protected

Referenced by GetWorkingDir(), Start(), and WsfExecution().


The documentation for this class was generated from the following files:
Copyrights Multiple, All Rights Reserved