|
Ritchie's Abstractions 0.2
Platform abstractions that make Toolbox work
|
An object that can be used to track the state of a cache. More...
Public Member Functions | |
| void | Update () |
| Update the current cache state. | |
| bool | CheckState (ref ulong previousState) |
| Takes a reference to memory containing a cache state value, and checks if the cache is invalid with respect to this CacheState instance. | |
An object that can be used to track the state of a cache.
|
inline |
Takes a reference to memory containing a cache state value, and checks if the cache is invalid with respect to this CacheState instance.
| previousState | A reference to a field containing a cache state value. |
If the cache is invalid, the given reference will be updated with the new cache state.