Classes | |
struct | Resource |
Public Member Functions | |
ResourceCacheTemplate (DatManager *dat) | |
ResourceClass * | get (int resourceId) |
void | release (int resourceId) |
void | purge (bool force=false) |
Protected Types | |
typedef Common::HashMap< int, Resource * > | CacheMap |
typedef CacheMap::iterator | CacheMapIterator |
Protected Member Functions | |
Resource * | find (int resourceId) |
ResourceClass * | load (int resourceId) |
Protected Attributes | |
DatManager * | _dat |
CacheMap | _cache |