GammaRay API Documentation  2.11.3
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

Public Member Functions

QString id () const override
 Unique id of this tool. More...
void init (Probe *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< QByteArrayselectableTypes () 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

◆ id()

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

Unique id of this tool.

a QString containing the tool id.

Implements GammaRay::ToolFactory.

◆ init()

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

Initialize the tool.

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

probeThe probe interface allowing access to the object models.

Implements GammaRay::ToolFactory.

© 2010-2021 Klarälvdalens Datakonsult AB (KDAB)
"The Qt, C++ and OpenGL Experts"
GammaRay Qt-application inspection and manipulation tool
Generated on Wed Mar 15 2023 01:05:10 for GammaRay API Documentation by doxygen 1.8.20