This document is for a version of USD that is under development. See this page for the current release.
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
TfSimpleRefBase Class Reference

Enable a concrete base class for use with TfRefPtr that inhibits the "unique changed" facility of TfRefPtr. More...

#include <refBase.h>

+ Inheritance diagram for TfSimpleRefBase:

Additional Inherited Members

- Public Types inherited from TfRefBase
typedef void(* UniqueChangedFuncPtr) (TfRefBase const *, bool)
 
- Public Member Functions inherited from TfRefBase
 TfRefBase (TfRefBase const &)
 
TfRefBaseoperator= (TfRefBase const &)
 
size_t GetCurrentCount () const
 Return the current reference count of this object.
 
bool IsUnique () const
 Return true if only one TfRefPtr points to this object.
 
void SetShouldInvokeUniqueChangedListener (bool shouldCall)
 
- Static Public Member Functions inherited from TfRefBase
static TF_API void SetUniqueChangedListener (UniqueChangedListener listener)
 

Detailed Description

Enable a concrete base class for use with TfRefPtr that inhibits the "unique changed" facility of TfRefPtr.

Derive from this class if you don't plan on wrapping your reference-counted object via pxr_boost::python.

Definition at line 139 of file refBase.h.


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