|
MayaFlux 0.1.0
Digital-First Multimedia Processing Framework
|
Stores cached data for a region, with metadata for cache management. More...
#include <RegionSegment.hpp>
Collaboration diagram for MayaFlux::Kakshya::RegionCache:Public Member Functions | |
| void | mark_accessed () |
| void | mark_dirty () |
| std::chrono::duration< double > | age () const |
Public Attributes | |
| std::vector< DataVariant > | data |
| Cached data. | |
| Region | source_region |
| Region this cache corresponds to. | |
| std::chrono::steady_clock::time_point | load_time |
| When cache was loaded. | |
| size_t | access_count = 0 |
| Number of times accessed. | |
| bool | is_dirty = false |
| Whether cache is dirty. | |
Stores cached data for a region, with metadata for cache management.
Definition at line 11 of file RegionSegment.hpp.