|
WSF
|
Encapsulates the execution of a WSF application. More...
#include <WsfExecution.hpp>
Inherits QProcess.

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 () |
| WsfExe * | GetExe () const |
| QStringList | GetArguments () const |
| ExitStatus | GetExitStatus () const |
| void | SetOutputLogPath (const QString &aPath) |
| UtPath | GetWorkingDir () const |
Static Public Member Functions | |
| static WsfExecution * | NewExecution (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 |
| WsfExe * | mExePtr |
| QStringList | mArguments |
| QRegExp | mErrExp |
| QRegExp | mInFileLineColExp |
| QRegExp | mInFileEofExp |
| bool | mDone |
| bool | mStarted |
| ExitStatus | mExitStatus |
Encapsulates the execution of a WSF application.
| wizard::WsfExecution::WsfExecution | ( | QString | aName, |
| WsfExe * | aExePtr, | ||
| const UtPath & | aWorkingDir, | ||
| const QStringList & | aArguments ) |
References Finished(), mArguments, mDone, mErrExp, mExePtr, mExitStatus, mInFileEofExp, mInFileLineColExp, mName, mOutputText, mWorkingDir, ReadyReadStandardOutput(), and WsfExecution().
Referenced by NewExecution(), and WsfExecution().
|
static |
|
signal |
Referenced by Finished(), and Kill().
|
protected |
|
protectedslot |
References Done(), mDone, mOutputLog, and ReadyReadStandardOutput().
Referenced by StandardOutputText(), and WsfExecution().
|
inline |
References mArguments.
|
inline |
References mExitStatus.
|
inline |
References mWorkingDir.
| void wizard::WsfExecution::Kill | ( | ) |
References Done(), mDone, mExitStatus, and ReadyReadStandardOutput().
|
protected |
Referenced by StandardOutputText().
|
static |
References LogServer::PrefObject::GetLogServerPort(), wizard::WsfExe::GetPath(), mConnectionParameters, wizard::WsfExecution::ConnectionParameters::mUsingXIO, wizard::WsfExecution::ConnectionParameters::mXIO_Address, wizard::WsfExecution::ConnectionParameters::mXIO_Interface, wizard::WsfExecution::ConnectionParameters::mXIO_Port, wizard::Util::QuotePathWithSpaces(), wizard::Util::SplitCommandLine(), and WsfExecution().
|
protectedslot |
References mOutputLog, and StandardOutputText().
Referenced by Finished(), Kill(), StandardOutputText(), and WsfExecution().
| void wizard::WsfExecution::SetOutputLogPath | ( | const QString & | aPath | ) |
References mOutputLog.
|
signal |
References Finished(), LimitOutputSize(), and ReadyReadStandardOutput().
Referenced by ReadyReadStandardOutput(), and Start().
| void wizard::WsfExecution::Start | ( | const std::vector< UtPath > & | aStartupFiles | ) |
References DebugSettingsString(), mArguments, mConnectionParameters, mExePtr, mOutputLog, mStarted, mWorkingDir, and StandardOutputText().
Referenced by wizard::ProjectWorkspace::StartExecution().
|
protected |
Referenced by GetArguments(), Start(), and WsfExecution().
| ConnectionParameters wizard::WsfExecution::mConnectionParameters |
Referenced by NewExecution(), and Start().
|
protected |
Referenced by Finished(), Kill(), and WsfExecution().
|
protected |
Referenced by WsfExecution().
|
protected |
Referenced by GetExe(), Start(), and WsfExecution().
|
protected |
Referenced by GetExitStatus(), Kill(), and WsfExecution().
|
protected |
Referenced by WsfExecution().
|
protected |
Referenced by WsfExecution().
| QString wizard::WsfExecution::mName |
Referenced by WsfExecution().
|
protected |
Referenced by Finished(), ReadyReadStandardOutput(), SetOutputLogPath(), and Start().
| QSharedPointer<QTextDocument> wizard::WsfExecution::mOutputText |
Referenced by WsfExecution().
|
protected |
Referenced by Start().
|
protected |
Referenced by GetWorkingDir(), Start(), and WsfExecution().