GammaRay API Documentation 3.4.1
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 >:
GammaRay::ToolFactory

Public Member Functions

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

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

◆ id()

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.

◆ init()

template<typename Type, typename Tool>
void GammaRay::StandardToolFactory< Type, Tool >::init ( Probe * 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, C++ and OpenGL Experts"
https://www.kdab.com/
GammaRay Qt-application inspection and manipulation tool
https://www.kdab.com/development-resources/qt-tools/gammaray/
Generated on for GammaRay API Documentation by doxygen 1.15.0