|
MayaFlux 0.1.0
Digital-First Multimedia Processing Framework
|
|
protectedvirtual |
Cache a region's data if beneficial and not already cached.
Uses heuristics (e.g., segment size vs. cache size) to decide.
| segment | The region segment to consider for caching. |
| container | The container providing the data. |
Definition at line 33 of file RegionProcessorBase.cpp.
References MayaFlux::Kakshya::RegionCache::data, MayaFlux::Kakshya::RegionSegment::get_total_elements(), MayaFlux::Kakshya::RegionCache::load_time, m_auto_caching, m_cache_manager, m_max_cache_size, MayaFlux::Kakshya::RegionCache::source_region, and MayaFlux::Kakshya::RegionSegment::source_region.
Referenced by MayaFlux::Kakshya::RegionOrganizationProcessor::add_segment_to_region(), and MayaFlux::Kakshya::RegionOrganizationProcessor::organize_group().
Here is the call graph for this function:
Here is the caller graph for this function: