GammaRay API Documentaion  2.5.0
Signals | Public Member Functions | Protected Member Functions | List of all members
GammaRay::Launcher Class Reference

Manages launching a target process, injecting the probe and if needed also starting the client application. More...

#include <launcher.h>

Inheritance diagram for GammaRay::Launcher:
Inheritance graph
[legend]

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=0)
 
QString errorMessage () const
 
int exitCode () const
 
qint64 instanceIdentifier () const
 
QUrl serverAddress () const
 
bool start ()
 
void stop ()
 

Protected Member Functions

virtual void startClient (const QUrl &serverAddress)
 

Detailed Description

Manages launching a target process, injecting the probe and if needed also starting the client application.

Member Function Documentation

QString GammaRay::Launcher::errorMessage ( ) const

Error message from attaching/launching the target, if any.

int GammaRay::Launcher::exitCode ( ) const

Target exit code, in case we launched it.

qint64 GammaRay::Launcher::instanceIdentifier ( ) const

This is used to identify the communication channels used by the launcher and the target process.

QUrl GammaRay::Launcher::serverAddress ( ) const

Address for the client to connect to, valid once received from the target.


Klarälvdalens Datakonsult AB (KDAB)
"The Qt Experts"
http://www.kdab.com/
GammaRay
Qt-application inspection and manipulation tool
http://www.kdab.com/gammaray/