HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
UT_ThreadSafeCache< Lock >::UT_CacheItem Class Referenceabstract

#include <UT_ThreadSafeCache.h>

Public Member Functions

 UT_CacheItem ()
 
virtual ~UT_CacheItem ()
 
virtual const char * getItemType () const =0
 
int64 getMemoryUsage () const
 

Protected Member Functions

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

Friends

class UT_ThreadSafeCache
 
class UT_ThreadSafeCache::unsafe_traverser
 

Detailed Description

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

Definition at line 36 of file UT_ThreadSafeCache.h.

Constructor & Destructor Documentation

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

Definition at line 39 of file UT_ThreadSafeCache.h.

template<class Lock>
virtual UT_ThreadSafeCache< Lock >::UT_CacheItem::~UT_CacheItem ( )
inlinevirtual

Definition at line 43 of file UT_ThreadSafeCache.h.

Member Function Documentation

template<class Lock>
virtual int64 UT_ThreadSafeCache< Lock >::UT_CacheItem::allocate ( void parms)
protectedpure virtual
template<class Lock>
virtual void UT_ThreadSafeCache< Lock >::UT_CacheItem::deallocate ( void user_data)
protectedpure virtual
template<class Lock>
virtual const char* UT_ThreadSafeCache< Lock >::UT_CacheItem::getItemType ( ) const
pure virtual
template<class Lock>
int64 UT_ThreadSafeCache< Lock >::UT_CacheItem::getMemoryUsage ( ) const
inline

Definition at line 50 of file UT_ThreadSafeCache.h.

Friends And Related Function Documentation

template<class Lock>
friend class UT_ThreadSafeCache
friend

Definition at line 129 of file UT_ThreadSafeCache.h.

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

Definition at line 130 of file UT_ThreadSafeCache.h.


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