GammaRay API Documentation
3.2.0
|
Manages launching a target process, injecting the probe and if needed also starting the client application. More...
#include <launcher.h>
Signals | |
void | attached () |
void | finished () |
void | started () |
void | stderrMessage (const QString &message) |
void | stdoutMessage (const QString &message) |
Public Member Functions | |
Launcher (const LaunchOptions &options, QObject *parent=nullptr) | |
QString | errorMessage () const |
Error message from attaching/launching the target, if any. | |
int | exitCode () const |
Target exit code, in case we launched it. | |
qint64 | instanceIdentifier () const |
This is used to identify the communication channels used by the launcher and the target process. | |
QUrl | serverAddress () const |
Address for the client to connect to, valid once received from the target. | |
bool | start () |
void | stop () |
Protected Member Functions | |
virtual void | startClient (const QUrl &serverAddress) |
Manages launching a target process, injecting the probe and if needed also starting the client application.