HDK
|
#include <PDG_AttributeMap.h>
Public Member Functions | |
ScopedTryLock (const PDG_AttributeMap &attribute_map) | |
~ScopedTryLock () | |
bool | didLock () const |
Version of the above lock that only tries to lock, and sets a flag to true or false based on whether the lock was acquired. This should be used for UI updates that don't require access to a specific attrib and are simply presenting current state, for example. It reduces the amount of time the UI spends blocked on PDG structures.
Definition at line 251 of file PDG_AttributeMap.h.
|
inline |
Definition at line 254 of file PDG_AttributeMap.h.
|
inline |
Definition at line 268 of file PDG_AttributeMap.h.
|
inline |
Returns true only if the lock was successful. This method should be checked before performing any actions on this attribute map.
Definition at line 279 of file PDG_AttributeMap.h.