Hydra 0.20
desktop::LoadCache< T, LOADER, KEY > Class Template Reference

#include <LoadCache.h>

Inheritance diagram for desktop::LoadCache< T, LOADER, KEY >:

List of all members.

Public Member Functions

 LoadCache (size_t maxhold, const LOADER &loader=LOADER())
desktop::cache_ptr< T, KEY > getItem (const KEY &key)

Protected Attributes

LOADER dm_loader

Detailed Description

template<class T, class LOADER, class KEY = QString>
class desktop::LoadCache< T, LOADER, KEY >

A LoadCache is a map that is able to manage a group of objects (T) keyed by a key KEY, with the given demand LOADER class.

This class will make sure all currently locked (via cache_ptr) objects are in memory, aswell as possible some extras (within the size maxhold as passed to the constructor

Author:
Aleksander Demko

The documentation for this class was generated from the following file:
 All Classes Namespaces Functions Variables