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


Constructor & Destructor Documentation

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

Definition at line 190 of file UT_LockUtil.h.

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

Definition at line 194 of file UT_LockUtil.h.


Member Function Documentation

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

Definition at line 207 of file UT_LockUtil.h.

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

Definition at line 199 of file UT_LockUtil.h.

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

Definition at line 238 of file UT_LockUtil.h.


Member Data Documentation

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

Definition at line 275 of file UT_LockUtil.h.

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

Definition at line 277 of file UT_LockUtil.h.

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

Definition at line 276 of file UT_LockUtil.h.


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

Generated on Mon Jan 28 00:30:13 2013 for HDK by  doxygen 1.5.9