HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
UT_SpinLockT< RecursiveLock, LockDebug > Class Template Reference

#include <UT_SpinLock.h>

+ Inheritance diagram for UT_SpinLockT< RecursiveLock, LockDebug >:

Public Types

typedef UT_LockScopeType
< UT_SpinLockT< RecursiveLock,
LockDebug > > 
Scope
 

Public Member Functions

 UT_SpinLockT (int lockstate=0)
 
 ~UT_SpinLockT ()
 
int64 getMemoryUsage (bool inclusive) const
 
bool tryLock ()
 
bool lock (int ms)
 
void lock ()
 
bool safeLock ()
 
void unlock ()
 
void waitForTrigger ()
 
void trigger ()
 
void debugLock (bool debug)
 
bool isLocked ()
 
int getCollisions ()
 

Detailed Description

template<bool RecursiveLock = false, bool LockDebug = true>
class UT_SpinLockT< RecursiveLock, LockDebug >

Examples:
COP2/COP2_FullImageFilter.h.

Definition at line 105 of file UT_SpinLock.h.

Member Typedef Documentation

template<bool RecursiveLock = false, bool LockDebug = true>
typedef UT_LockScopeType<UT_SpinLockT<RecursiveLock,LockDebug> > UT_SpinLockT< RecursiveLock, LockDebug >::Scope

Definition at line 143 of file UT_SpinLock.h.

Constructor & Destructor Documentation

template<bool RecursiveLock = false, bool LockDebug = true>
UT_SpinLockT< RecursiveLock, LockDebug >::UT_SpinLockT ( int  lockstate = 0)
explicit
template<bool RecursiveLock = false, bool LockDebug = true>
UT_SpinLockT< RecursiveLock, LockDebug >::~UT_SpinLockT ( )

Member Function Documentation

template<bool RecursiveLock = false, bool LockDebug = true>
void UT_SpinLockT< RecursiveLock, LockDebug >::debugLock ( bool  debug)
inline

Definition at line 133 of file UT_SpinLock.h.

template<bool RecursiveLock = false, bool LockDebug = true>
int UT_SpinLockT< RecursiveLock, LockDebug >::getCollisions ( )
inline

Definition at line 141 of file UT_SpinLock.h.

template<bool RecursiveLock = false, bool LockDebug = true>
int64 UT_SpinLockT< RecursiveLock, LockDebug >::getMemoryUsage ( bool  inclusive) const
inline

Definition at line 111 of file UT_SpinLock.h.

template<bool RecursiveLock = false, bool LockDebug = true>
bool UT_SpinLockT< RecursiveLock, LockDebug >::isLocked ( )
inline

Definition at line 136 of file UT_SpinLock.h.

template<bool RecursiveLock = false, bool LockDebug = true>
bool UT_SpinLockT< RecursiveLock, LockDebug >::lock ( int  ms)
template<bool RecursiveLock = false, bool LockDebug = true>
void UT_SpinLockT< RecursiveLock, LockDebug >::lock ( )
template<bool RecursiveLock = false, bool LockDebug = true>
bool UT_SpinLockT< RecursiveLock, LockDebug >::safeLock ( )
inline

Definition at line 123 of file UT_SpinLock.h.

template<bool RecursiveLock = false, bool LockDebug = true>
void UT_SpinLockT< RecursiveLock, LockDebug >::trigger ( )
template<bool RecursiveLock = false, bool LockDebug = true>
bool UT_SpinLockT< RecursiveLock, LockDebug >::tryLock ( )
template<bool RecursiveLock = false, bool LockDebug = true>
void UT_SpinLockT< RecursiveLock, LockDebug >::unlock ( )
template<bool RecursiveLock = false, bool LockDebug = true>
void UT_SpinLockT< RecursiveLock, LockDebug >::waitForTrigger ( )

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