18 #ifndef __XUSD_DataLock_h__
19 #define __XUSD_DataLock_h__
46 {
return myLockCount > 0; }
48 {
return myLockCount > 0 && !myWriteLock; }
50 {
return myLockCount > 0 && myWriteLock; }
52 {
return myLockCount > 0 && myLayerLock; }
54 {
return myLockedNodeId; }
56 {
return myLastLockedNodeId; }
62 int myLastLockedNodeId;
66 friend class ::HUSD_DataHandle;
bool isReadLocked() const
#define OP_INVALID_ITEM_ID
int getLockedNodeId() const
A reference counter base class for use with UT_IntrusivePtr.
bool isWriteLocked() const
int getLastLockedNodeId() const
PXR_NAMESPACE_CLOSE_SCOPE PXR_NAMESPACE_OPEN_SCOPE
#define PXR_NAMESPACE_CLOSE_SCOPE
bool isLayerLocked() const