HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Tf_RefPtrTrackerUtil Class Reference

#include <refPtrTracker.h>

Static Public Member Functions

static void Watch (const TfRefBase *obj)
 Start watching obj. Only watched objects are traced. More...
 
static void Unwatch (const TfRefBase *obj)
 Stop watching obj. Existing traces for obj are kept. More...
 
static void AddTrace (const void *owner, const TfRefBase *obj, TfRefPtrTracker::TraceType type=TfRefPtrTracker::Add)
 
static void RemoveTraces (const void *owner)
 Remove traces for owner owner. More...
 

Detailed Description

Definition at line 207 of file refPtrTracker.h.

Member Function Documentation

static void Tf_RefPtrTrackerUtil::AddTrace ( const void owner,
const TfRefBase obj,
TfRefPtrTracker::TraceType  type = TfRefPtrTracker::Add 
)
inlinestatic

Add a trace for a new owner owner of object obj if obj is being watched.

Definition at line 223 of file refPtrTracker.h.

static void Tf_RefPtrTrackerUtil::RemoveTraces ( const void owner)
inlinestatic

Remove traces for owner owner.

Definition at line 230 of file refPtrTracker.h.

static void Tf_RefPtrTrackerUtil::Unwatch ( const TfRefBase obj)
inlinestatic

Stop watching obj. Existing traces for obj are kept.

Definition at line 216 of file refPtrTracker.h.

static void Tf_RefPtrTrackerUtil::Watch ( const TfRefBase obj)
inlinestatic

Start watching obj. Only watched objects are traced.

Definition at line 210 of file refPtrTracker.h.


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