GammaRay API Documentation 3.0.1
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.
 
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< QByteArrayselectableTypes () 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.


© 2010-2023 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 Thu Apr 18 2024 00:04:28 for GammaRay API Documentation by doxygen 1.9.8