ApplicationLauncher Class
(ProjectExplorer::ApplicationLauncher)The ApplicationLauncher class is the application launcher of the ProjectExplorer plugin. More...
Header: | #include <ApplicationLauncher> |
Public Types
enum | Mode { Console, Gui } |
Public Functions
ApplicationLauncher(QObject *parent = nullptr) | |
~ApplicationLauncher() override | |
Utils::ProcessHandle | applicationPID() const |
void | bringToForeground() |
QString | errorString() const |
bool | isRemoteRunning() const |
bool | isRunning() const |
QProcess::ProcessError | processError() const |
void | setProcessChannelMode(QProcess::ProcessChannelMode mode) |
void | start(const Runnable &runnable) |
void | start(const Runnable &runnable, const IDevice::ConstPtr &device) |
void | stop() |
Signals
void | appendMessage(const QString &message, Utils::OutputFormat format) |
void | error(QProcess::ProcessError error) |
void | finished(bool success) |
void | processExited(int exitCode, QProcess::ExitStatus) |
void | processStarted() |
void | remoteProcessStarted() |
void | remoteStderr(const QString &output) |
void | remoteStdout(const QString &output) |
void | reportError(const QString &errorOutput) |
void | reportProgress(const QString &progressOutput) |
Static Public Members
QString | msgWinCannotRetrieveDebuggingOutput() |
Detailed Description
The ApplicationLauncher class is the application launcher of the ProjectExplorer plugin.
Encapsulates processes running in a console or as GUI processes, captures debug output of GUI processes on Windows (outputDebugString()).
See also Utils::ConsoleProcess.
Member Function Documentation
ApplicationLauncher::ApplicationLauncher(QObject *parent = nullptr)
Default constructs an instance of ApplicationLauncher.
ApplicationLauncher::~ApplicationLauncher()
Destroys the instance of ApplicationLauncher.