ai::CacheScopeSuppressor< Cache_t > Class Template Reference
CacheScopeSuppressor: Prevents caching in a scope.
More...
#include <IAIScopedCache.hpp>
List of all members.
Detailed Description
template<typename Cache_t>
class ai::CacheScopeSuppressor< Cache_t >
CacheScopeSuppressor: Prevents caching in a scope.
This invalidates cache which may have been created by CacheScopeManager of the same type and prevents further caching of that type even if new instances of CacheScopeManager are created. CacheScopeSuppressor instances can be safely nested. When the last CacheScopeSuppressor goes out of scope and we have at least one CacheScopeManager still in scope, caching is resumed but the cache is empty and is not restored to the old value before the first CacheScopeSuppressor came in scope.
Constructor & Destructor Documentation
template<typename Cache_t >
The documentation for this class was generated from the following file: