XLE  v0.02.0
Public Member Functions | Protected Attributes | List of all members
Utility::LRUCache< Type > Class Template Reference

Public Member Functions

void Insert (uint64 hashName, std::shared_ptr< Type > object)
 
std::shared_ptr< Type > & Get (uint64 hashName)
 
 LRUCache (unsigned cacheSize)
 

Protected Attributes

std::vector< std::shared_ptr< Type > > _objects
 
std::vector< std::pair< uint64, unsigned > > _lookupTable
 
LRUQueue _queue
 
unsigned _cacheSize
 

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