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

RAII-style helper for destructing an MDataHandle obtained from a plug once it goes out of scope. More...

+ Inheritance diagram for MDataHandleHolder:

Public Member Functions

PXRUSDMAYA_API MDataHandle GetDataHandle ()
 
- Public Member Functions inherited from TfRefBase
size_t GetCurrentCount () const
 Return the current reference count of this object. More...
 
bool IsUnique () const
 Return true if only one TfRefPtr points to this object. More...
 
const TfRefCountGetRefCount () const
 
void SetShouldInvokeUniqueChangedListener (bool shouldCall)
 

Static Public Member Functions

static PXRUSDMAYA_API TfRefPtr
< MDataHandleHolder
New (const MPlug &plug)
 
- Static Public Member Functions inherited from TfRefBase
static TF_API void SetUniqueChangedListener (UniqueChangedListener listener)
 

Additional Inherited Members

- Public Types inherited from TfRefBase
typedef void(* UniqueChangedFuncPtr )(TfRefBase const *, bool)
 

Detailed Description

RAII-style helper for destructing an MDataHandle obtained from a plug once it goes out of scope.

Definition at line 118 of file util.h.


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