载入中...
搜索中...
未找到
CapabilityOwned.h 文件参考

Optional owning capability registration (shared_ptr + generation + lease). 更多...

#include "common/Capability.h"
#include "common/Diagnostic.h"
#include "common/Export.h"
#include "common/ProviderRegistry.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>

浏览源代码.

类

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::ownedPublicationMutex ()
 Process-owned type-erased store; one canonical instance across link groups.
 
ProviderRegistry< void > & eve::cap::detail::ownedRegistry (const char *capabilityName)
 
void eve::cap::detail::clearOwnedRaw ()
 Clear publications for isolated tests after borrowed dispatch has stopped.
 

详细描述

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 中定义.