载入中...
搜索中...
未找到
Optional owning capability registration (shared_ptr + generation + lease). 更多...
#include "common/Capability.h"#include "common/Diagnostic.h"#include "common/Export.h"#include "common/Result.h"#include "common/Status.h"#include <cstdint>#include <memory>#include <mutex>#include <string>#include <string_view>#include <unordered_map>#include <utility>类 | |
| struct | eve::cap::OwnedProviderHandle |
| Generation-qualified id for one owned capability provider. 更多... | |
| class | eve::cap::OwnedProviderLease< I > |
Owning lease that keeps a shared_ptr provider alive while borrowed. 更多... | |
| class | eve::cap::OwnedProviderRegistry< I > |
| Thread-safe owned-provider table keyed by capability name + provider id. 更多... | |
命名空间 | |
| namespace | eve |
| Build metadata (engine git commit, build time, third-party version). | |
| namespace | eve::cap |
| namespace | eve::cap::detail |
函数 | |
| std::mutex & | eve::cap::detail::ownedMutex () |
| std::unordered_map< std::string, OwnedSlot > & | eve::cap::detail::ownedSlots (const char *capabilityName) |
| std::unordered_map< std::string, std::uint64_t > & | eve::cap::detail::ownedGenerations (const char *capabilityName) |
| void | eve::cap::detail::clearOwnedRaw () |
详细描述
Optional owning capability registration (shared_ptr + generation + lease).
Elevates the model validated by editing::ExtensionProviderRegistry into the common capability layer (R-COHESION-3). Bare provide/query remain the default borrowed path; this header is for families that need ownership, stale-handle detection, or thread-safe register/unload.
在文件 CapabilityOwned.h 中定义.