MayaFlux 0.1.0
Digital-First Multimedia Processing Framework
Loading...
Searching...
No Matches
MayaFlux::Kakshya::RegionCache Struct Reference

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< DataVariantdata
 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.
 

Detailed Description

Stores cached data for a region, with metadata for cache management.

Definition at line 11 of file RegionSegment.hpp.


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