UT_ThreadSafeCache< Lock >::UT_CacheItem Class Reference

#include <UT_ThreadSafeCache.h>

List of all members.

Public Member Functions

 UT_CacheItem ()
virtual ~UT_CacheItem ()

Protected Member Functions

virtual int64 allocate (void *parms)=0
virtual void deallocate (void *user_data)=0
int64 getMemoryUsage () const

Friends

class UT_ThreadSafeCache
class UT_ThreadSafeCache::unsafe_traverser
class UT_LimitedCache


Detailed Description

template<class Lock>
class UT_ThreadSafeCache< Lock >::UT_CacheItem

Definition at line 37 of file UT_ThreadSafeCache.h.


Constructor & Destructor Documentation

template<class Lock>
UT_ThreadSafeCache< Lock >::UT_CacheItem::UT_CacheItem (  )  [inline]

Definition at line 40 of file UT_ThreadSafeCache.h.

template<class Lock>
virtual UT_ThreadSafeCache< Lock >::UT_CacheItem::~UT_CacheItem (  )  [inline, virtual]

Definition at line 44 of file UT_ThreadSafeCache.h.


Member Function Documentation

template<class Lock>
virtual int64 UT_ThreadSafeCache< Lock >::UT_CacheItem::allocate ( void *  parms  )  [protected, pure virtual]

template<class Lock>
virtual void UT_ThreadSafeCache< Lock >::UT_CacheItem::deallocate ( void *  user_data  )  [protected, pure virtual]

template<class Lock>
int64 UT_ThreadSafeCache< Lock >::UT_CacheItem::getMemoryUsage ( void   )  const [inline, protected]

Definition at line 55 of file UT_ThreadSafeCache.h.


Friends And Related Function Documentation

template<class Lock>
friend class UT_LimitedCache [friend]

Definition at line 74 of file UT_ThreadSafeCache.h.

template<class Lock>
friend class UT_ThreadSafeCache [friend]

Definition at line 72 of file UT_ThreadSafeCache.h.

template<class Lock>
friend class UT_ThreadSafeCache::unsafe_traverser [friend]

Definition at line 73 of file UT_ThreadSafeCache.h.


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

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