UT_ObjLockType< Lock > Class Template Reference

#include <UT_LockUtil.h>

List of all members.

Classes

class  ut_ObjLockEntry

Public Member Functions

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

Public Attributes

Lock myAccessLock
UT_PtrArray< ut_ObjLockEntry * > myObjs
int myCapacity


Detailed Description

template<class Lock>
class UT_ObjLockType< Lock >

Definition at line 98 of file UT_LockUtil.h.


Constructor & Destructor Documentation

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

Definition at line 100 of file UT_LockUtil.h.

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

Definition at line 104 of file UT_LockUtil.h.


Member Function Documentation

template<class Lock>
int UT_ObjLockType< Lock >::lock ( void *  obj  )  [inline]

Definition at line 117 of file UT_LockUtil.h.

template<class Lock>
void UT_ObjLockType< Lock >::setCapacity ( int  capacity  )  [inline]

Definition at line 109 of file UT_LockUtil.h.

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

Definition at line 148 of file UT_LockUtil.h.


Member Data Documentation

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

Definition at line 185 of file UT_LockUtil.h.

template<class Lock>
int UT_ObjLockType< Lock >::myCapacity

Definition at line 187 of file UT_LockUtil.h.

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

Definition at line 186 of file UT_LockUtil.h.


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

Generated on Fri May 25 00:10:51 2012 for HDK by  doxygen 1.5.9