VTK  9.3.20240419
Classes | Functions
vtkGarbageCollector.h File Reference
#include "vtkCommonCoreModule.h"
#include "vtkGarbageCollectorManager.h"
#include "vtkObject.h"
Include dependency graph for vtkGarbageCollector.h:

Go to the source code of this file.

Classes

class  vtkGarbageCollector
 Detect and break reference loops. More...
 

Functions

void VTKCOMMONCORE_EXPORT vtkGarbageCollectorReportInternal (vtkGarbageCollector *, vtkObjectBase *, void *, const char *)
 
void VTKCOMMONCORE_EXPORT vtkGarbageCollectorReport (vtkGarbageCollector *collector, vtkSmartPointerBase &ptr, const char *desc)
 Function to report a reference held by a smart pointer to a collector. More...
 
template<class T >
void vtkGarbageCollectorReport (vtkGarbageCollector *collector, T *&ptr, const char *desc)
 Function to report a reference held by a raw pointer to a collector. More...
 

Function Documentation

◆ vtkGarbageCollectorReportInternal()

void VTKCOMMONCORE_EXPORT vtkGarbageCollectorReportInternal ( vtkGarbageCollector ,
vtkObjectBase ,
void *  ,
const char *   
)

◆ vtkGarbageCollectorReport() [1/2]

void VTKCOMMONCORE_EXPORT vtkGarbageCollectorReport ( vtkGarbageCollector collector,
vtkSmartPointerBase ptr,
const char *  desc 
)

Function to report a reference held by a smart pointer to a collector.

◆ vtkGarbageCollectorReport() [2/2]

template<class T >
void vtkGarbageCollectorReport ( vtkGarbageCollector collector,
T *&  ptr,
const char *  desc 
)

Function to report a reference held by a raw pointer to a collector.

Definition at line 188 of file vtkGarbageCollector.h.