载入中...
搜索中...
未找到
ProviderRegistry.h 文件参考
#include "common/Result.h"
#include <algorithm>
#include <cstdint>
#include <limits>
#include <memory>
#include <mutex>
#include <string>
#include <string_view>
#include <unordered_map>
#include <variant>
#include <vector>

浏览源代码.

类

struct  eve::cap::OwnedProviderHandle
 Owning identity of one publication; generations are local to its registry. 更多...
 
class  eve::cap::ProviderRegistry< I, Metadata >
 Instance-owned publication mechanism shared by capability and domain registries. @ownership The registry and acquired records share provider ownership. Metadata is an owning value. @lifetime Withdrawal prevents new acquisitions; existing records retain the old generation. Registry destruction releases its publications; previously acquired records remain alive. @thread Publication, acquisition, withdrawal and snapshots are synchronized. Provider callbacks are never invoked under the registry mutex; their affinity remains the domain owner's contract. @reentrancy Records may invoke callbacks which mutate this registry after acquisition returns. @cost Publication copies an id and allocates a slot; snapshot copies all live records. Bind or acquire outside per-frame inner loops and reuse the resulting owning record. 更多...
 
struct  eve::cap::ProviderRegistry< I, Metadata >::Record
 Owning lease and immutable-at-publication metadata for a generation. 更多...
 

命名空间

namespace  eve
 Build metadata (engine git commit, build time, third-party version).
 
namespace  eve::cap