HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
UT_ObjLockType< Lock > Class Template Reference

#include <UT_LockUtil.h>

+ Inheritance diagram for UT_ObjLockType< Lock >:

Public Member Functions

 UT_ObjLockType (int capacity=256)
 
 ~UT_ObjLockType ()
 
int lock (const void *obj)
 
int tryLock (const void *obj)
 
void unlock (const void *obj, int ident)
 

Public Attributes

Lock myAccessLock
 
UT_Array< ut_ObjLockEntry * > myObjs
 

Detailed Description

template<class Lock>
class UT_ObjLockType< Lock >

Definition at line 209 of file UT_LockUtil.h.

Constructor & Destructor Documentation

template<class Lock>
UT_ObjLockType< Lock >::UT_ObjLockType ( int  capacity = 256)
inline

Definition at line 212 of file UT_LockUtil.h.

template<class Lock>
UT_ObjLockType< Lock >::~UT_ObjLockType ( )
inline

Definition at line 216 of file UT_LockUtil.h.

Member Function Documentation

template<class Lock>
int UT_ObjLockType< Lock >::lock ( const void obj)
inline

Definition at line 221 of file UT_LockUtil.h.

template<class Lock>
int UT_ObjLockType< Lock >::tryLock ( const void obj)
inline

Definition at line 238 of file UT_LockUtil.h.

template<class Lock>
void UT_ObjLockType< Lock >::unlock ( const void obj,
int  ident 
)
inline

Definition at line 257 of file UT_LockUtil.h.

Member Data Documentation

template<class Lock>
Lock UT_ObjLockType< Lock >::myAccessLock

Definition at line 320 of file UT_LockUtil.h.

template<class Lock>
UT_Array<ut_ObjLockEntry *> UT_ObjLockType< Lock >::myObjs

Definition at line 321 of file UT_LockUtil.h.


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