template<class KeyClass, class Interface>
class sbFixedInterfaceCache< KeyClass, Interface >
This class provides a fixed size cache for interface pointers. It holds an owning reference to the pointer, but hands out raw pointers that much be AddRef'd by the caller if they wish to hold on to it. The cache is populated from the end to make it easy to search the most recently added entry. The class now sports a hash implementation so lookups are fast and this makes the cache much more scalable and negates the power of 2 requirement on the size.
Definition at line 46 of file sbFixedInterfaceCache.h.