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

#include <UT_LockUtil.h>

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 220 of file UT_LockUtil.h.

Constructor & Destructor Documentation

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

Definition at line 223 of file UT_LockUtil.h.

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

Definition at line 227 of file UT_LockUtil.h.

Member Function Documentation

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

Definition at line 234 of file UT_LockUtil.h.

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

Definition at line 251 of file UT_LockUtil.h.

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

Definition at line 270 of file UT_LockUtil.h.

Member Data Documentation

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

Definition at line 333 of file UT_LockUtil.h.

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

Definition at line 334 of file UT_LockUtil.h.


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