knowL: Knowledge Libraries
Loading...
Searching...
No Matches
knowCore::MemoryLeakTracker Class Reference

#include <MemoryLeakTracker.h>

Public Member Functions

void reference (const void *what, const void *bywho, const char *whatName=0)
 
void dereference (const void *what, const void *bywho)
 
void dumpReferences ()
 
void dumpReferences (const void *what)
 
template<typename _T_ >
void reference (const _T_ *what, const void *bywho)
 
template<typename _T_ >
void dereference (const _T_ *what, const void *bywho)
 

Static Public Member Functions

static MemoryLeakTrackerinstance ()
 

Detailed Description

This class tracks what pointer is reference by who. It is used by the smart pointers to detect leaks.

Note that the KisMemoryLeakTracker is currently only available on Linux, and translate to NOOP on other platforms. It is also just a debug tool, and should not be used in a production build of krita.


The documentation for this class was generated from the following files: