GammaRay API Documentaion  2.5.0
Public Member Functions | List of all members
GammaRay::StandardToolFactory< Type, Tool > Class Template Reference

A templated generic ToolFactory for some data type and tool. More...

#include <toolfactory.h>

Inheritance diagram for GammaRay::StandardToolFactory< Type, Tool >:
Inheritance graph
[legend]

Public Member Functions

QString id () const override
 Unique id of this tool. More...
 
void init (ProbeInterface *probe) override
 Initialize the tool. More...
 
- Public Member Functions inherited from GammaRay::ToolFactory
virtual bool isHidden () const
 Allows to hide a plug-in from the UI. More...
 
virtual QVector< QByteArray > selectableTypes () const
 Class names of types this tool can select. More...
 
void setSupportedTypes (const QVector< QByteArray > &types)
 Set names of supported classes. More...
 
const QVector< QByteArray > & supportedTypes () const
 Class names of types this tool can handle. More...
 
QString supportedTypesString () const
 Class names of types this tool can handle as a string. More...
 

Detailed Description

template<typename Type, typename Tool>
class GammaRay::StandardToolFactory< Type, Tool >

A templated generic ToolFactory for some data type and tool.

Member Function Documentation

template<typename Type , typename Tool >
QString GammaRay::StandardToolFactory< Type, Tool >::id ( ) const
inlineoverridevirtual

Unique id of this tool.

Returns
a QString containing the tool id.

Implements GammaRay::ToolFactory.

template<typename Type , typename Tool >
void GammaRay::StandardToolFactory< Type, Tool >::init ( ProbeInterface probe)
inlineoverridevirtual

Initialize the tool.

Implement this method to do non-GUI initialization, such as creating object tracking models etc.

Parameters
probeThe probe interface allowing access to the object models.

Implements GammaRay::ToolFactory.


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