template<typename Derived>
ComponentCacheImpl class
CRTP middle layer that routes Initialize() to tier-specific overrides.
Each derived class (ComponentCache<Tier>) provides:
GetFrameCount(Config)— how many ring-buffer frames to allocate.GetCacheTier()— theCacheTierenum value for this instance.GetLabel()— human-readable name for logging.
All data and frame/lock/alloc methods live in ComponentCacheBase.
Base classes
- class ComponentCacheBase
- Non-template concrete base for all SoA ring-buffer caches.
Public functions
- void Initialize(const EngineConfig* Config)
Protected variables
- friend Derived