Class Context

Inheritance Relationships

Derived Types

Class Documentation

class Context

Guards the single active provider/loading-owner domain shared by all caches.

This is publication/teardown context, not an eviction or residency manager. Cache maps retain strong handles until explicit clear/replacement or provider teardown; readers retain independent handles across either operation. Distinct owned Loaders still share this domain. Teardown rejects publication; after release, a later provider may bind it. Old handles keep their old native domain and cannot migrate to the replacement provider.

Subclassed by CE::Assets::Cache::Store< CE::Text::Legacy::Font >, CE::Assets::Cache::Store< CE::Rendering::Resources::Program >, CE::Assets::Cache::Store< CE::Assets::Sprites::Asset, std::string >, CE::Assets::Cache::Store< CE::Rendering::Resources::Image >, CE::Assets::Cache::Store< CE::Assets::Tilesets::Asset, std::string >, CE::Assets::Cache::Store< const CE::Rendering::Resources::Material >, CE::Assets::Cache::Store< const Asset, std::string >, CE::Assets::Cache::Store< AssetType, Key, Allocator >

Public Static Functions

static inline void verify_provider(const CE::Rendering::Resources::Provider &provider)
static inline bool is_bound_to(const CE::Rendering::Resources::Provider &provider) noexcept

Declaration: [[nodiscard]]

Protected Static Functions

static inline void bind_provider(const CE::Rendering::Resources::Provider &provider)

Friends

friend struct CE::Rendering::Resources::Provider