• Skip to content
  • Skip to link menu
KDE API Reference
  • KDE API Reference
  • kdesdk API Reference
  • KDE Home
  • Contact Us
 

kcachegrind

Public Member Functions | Static Public Member Functions | Protected Attributes | List of all members
TraceAssociation Class Reference

#include <tracedata.h>

Inheritance diagram for TraceAssociation:
Inheritance graph
[legend]

Public Member Functions

 TraceAssociation ()
 
virtual ~TraceAssociation ()
 
TraceFunction * function ()
 
void invalidate ()
 
bool isAssociated ()
 
bool isValid ()
 
virtual int rtti ()
 
bool setFunction (TraceFunction *)
 

Static Public Member Functions

static void clear (TraceData *data, int rtti)
 
static void invalidate (TraceData *data, int rtti)
 

Protected Attributes

TraceFunction * _function
 
bool _valid
 

Detailed Description

For temporary association of objects with TraceFunctions.

Used in coverage analysis and TreeMap drawing.

Definition at line 1068 of file tracedata.h.

Constructor & Destructor Documentation

TraceAssociation::TraceAssociation ( )

Creates an invalid association.

Definition at line 1737 of file tracedata.cpp.

TraceAssociation::~TraceAssociation ( )
virtual

Definition at line 1743 of file tracedata.cpp.

Member Function Documentation

void TraceAssociation::clear ( TraceData *  data,
int  rtti 
)
static

Delete all associations in TraceFunctions of data with rtti runtime info.

rtti = 0: delete ALL associations.

Definition at line 1774 of file tracedata.cpp.

TraceFunction* TraceAssociation::function ( )
inline

Definition at line 1091 of file tracedata.h.

void TraceAssociation::invalidate ( )
inline

Definition at line 1093 of file tracedata.h.

void TraceAssociation::invalidate ( TraceData *  data,
int  rtti 
)
static

Invalidate all associations in TraceFunctions of data with rtti runtime info.

rtti = 0: Invalidate ALL associations.

Definition at line 1782 of file tracedata.cpp.

bool TraceAssociation::isAssociated ( )

Could we set the function association to ourself? This only can return false if this is a unique association.

Definition at line 1749 of file tracedata.cpp.

bool TraceAssociation::isValid ( )
inline

Definition at line 1094 of file tracedata.h.

virtual int TraceAssociation::rtti ( )
inlinevirtual

Reimplemented in Coverage.

Definition at line 1078 of file tracedata.h.

bool TraceAssociation::setFunction ( TraceFunction *  f)

reset function to associate this object to.

returns true if association could be established

Definition at line 1756 of file tracedata.cpp.

Member Data Documentation

TraceFunction* TraceAssociation::_function
protected

Definition at line 1109 of file tracedata.h.

bool TraceAssociation::_valid
protected

Definition at line 1110 of file tracedata.h.


The documentation for this class was generated from the following files:
  • tracedata.h
  • tracedata.cpp
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:39:51 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.

kcachegrind

Skip menu "kcachegrind"
  • Main Page
  • Alphabetical List
  • Class List
  • Class Hierarchy
  • Class Members
  • File List
  • File Members

kdesdk API Reference

Skip menu "kdesdk API Reference"
  • kapptemplate
  • kcachegrind
  • kompare
  • lokalize
  • umbrello
  •   umbrello

Search



Report problems with this website to our bug tracking system.
Contact the specific authors with questions and comments about the page contents.

KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal