NVBIO
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Classes | Public Types | Public Methods | List of all members
nvbio::LRU< CacheManager > Struct Template Reference

Detailed description

template< typename CacheManager>
struct nvbio::LRU< CacheManager >

Definition at line 54 of file cache.h.

#include <cache.h>

Public Types

typedef CacheManager cache_manager_type
 

Public Methods

 LRU (CacheManager &manager)
 
void pin (const uint32 item)
 
void unpin (const uint32 item)
 

Member Typedef Documentation

template<typename CacheManager>
typedef CacheManager nvbio::LRU< CacheManager >::cache_manager_type

Definition at line 56 of file cache.h.

Constructor & Destructor Documentation

template<typename CacheManager >
nvbio::LRU< CacheManager >::LRU ( CacheManager manager)

cache constructor

Definition at line 33 of file cache_inl.h.

Member Function Documentation

template<typename CacheManager >
void nvbio::LRU< CacheManager >::pin ( const uint32  item)

pin a given element, marking it as non-releasable

Definition at line 36 of file cache_inl.h.

template<typename CacheManager >
void nvbio::LRU< CacheManager >::unpin ( const uint32  item)

unpin a given element, marking it as releasable

Definition at line 87 of file cache_inl.h.


The documentation for this struct was generated from the following files: