Pyrogenesis HEAD
Pyrogenesis, a RTS Engine
Landlord_Cached< Key, Entry > Class Template Reference

#include <cache_adt.h>

Inheritance diagram for Landlord_Cached< Key, Entry >:
Collaboration diagram for Landlord_Cached< Key, Entry >:

Additional Inherited Members

- Public Member Functions inherited from Landlord< Key, Entry, McdCalc_Cached >
bool empty () const
 
void add (const Key &key, const Entry &entry)
 
bool find (const Key &key, const Entry **pentry) const
 
void remove (const Key &key)
 
void on_access (Entry &entry)
 
void remove_least_valuable (std::list< Entry > &entry_list)
 
- Protected Types inherited from Landlord< Key, Entry, McdCalc_Cached >
typedef Map::iterator MapIt
 
typedef Map::const_iterator MapCIt
 
- Protected Member Functions inherited from Landlord< Key, Entry, McdCalc_Cached >
MapIt add_ (const Key &key, const Entry &entry)
 
void remove_ (MapIt it)
 
void charge (Entry &entry, float delta)
 
void charge_all (float delta)
 
bool should_evict (const Entry &entry)
 
- Protected Attributes inherited from Landlord< Key, Entry, McdCalc_Cached >
Map map
 

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