MayaFlux 0.4.0
Digital-First Multimedia Processing Framework
Loading...
Searching...
No Matches

◆ get_cached_region_internal()

std::optional< RegionCache > MayaFlux::Kakshya::RegionCacheManager::get_cached_region_internal ( const Region region)
private

Definition at line 111 of file RegionCacheManager.cpp.

112{
113 auto it = m_cache.find(region);
114 if (it != m_cache.end()) {
115 update_lru(region);
116 it->second.mark_accessed();
117 return it->second;
118 }
119 return std::nullopt;
120}
std::unordered_map< Region, RegionCache, RegionHash > m_cache

References m_cache, and update_lru().

Referenced by get_cached_segment().

+ Here is the call graph for this function:
+ Here is the caller graph for this function: