载入中...
搜索中...
未找到
eve::cap::OwnedProviderLease< I > 模板类 参考
Owning lease that keeps a shared_ptr provider alive while borrowed.
更多...
#include <CapabilityOwned.h>
Public 成员函数 | |
| OwnedProviderLease ()=default | |
| const OwnedProviderHandle & | handle () const noexcept |
| operator bool () const noexcept | |
| I * | get () const noexcept |
| Borrowed interface pointer valid while this lease remains alive. | |
| I & | operator* () const noexcept |
| I * | operator-> () const noexcept |
友元 | |
| template<class > | |
| class | OwnedProviderRegistry |
详细描述
template<class I>
class eve::cap::OwnedProviderLease< I >
class eve::cap::OwnedProviderLease< I >
Owning lease that keeps a shared_ptr provider alive while borrowed.
@ownership Shared with the registry until unload completes; the lease prolongs lifetime. @lifetime Valid until destroyed; do not retain the raw get() pointer after the lease ends. @thread Acquire under the registry lock; subsequent get() is a local shared_ptr read.
在文件 CapabilityOwned.h 第 50 行定义.
构造及析构函数说明
◆ OwnedProviderLease()
template<class I >
|
default |
成员函数说明
◆ get()
template<class I >
|
inlinenoexcept |
Borrowed interface pointer valid while this lease remains alive.
在文件 CapabilityOwned.h 第 57 行定义.
◆ handle()
template<class I >
|
inlinenoexcept |
在文件 CapabilityOwned.h 第 54 行定义.
◆ operator bool()
template<class I >
|
inlineexplicitnoexcept |
在文件 CapabilityOwned.h 第 55 行定义.
◆ operator*()
template<class I >
|
inlinenoexcept |
在文件 CapabilityOwned.h 第 58 行定义.
◆ operator->()
template<class I >
|
inlinenoexcept |
在文件 CapabilityOwned.h 第 59 行定义.
友元及相关函数文档
◆ OwnedProviderRegistry
在文件 CapabilityOwned.h 第 63 行定义.
该类的文档由以下文件生成:
- src/engine/common/CapabilityOwned.h