|
fastdo
0.6.16
|
弱句柄 更多...
#include <smartptr.hpp>
Public 类型 | |
| typedef _HTy | HType |
| 句柄类型 更多... | |
| typedef SharedHandle< _HTy >::SharedHandleData | WeakHandleData |
| 句柄数据结构体 更多... | |
Public 成员函数 | |
| WeakHandle () | |
| 构造函数0 更多... | |
| template<typename _HTy2 > | |
| WeakHandle (SharedHandle< _HTy2 > const &other) | |
构造函数1,从一个SharedHandle构建一个WeakHandle 更多... | |
| template<typename _HTy2 > | |
| WeakHandle & | operator= (SharedHandle< _HTy2 > const &other) |
赋值函数1,从一个SharedHandle构建一个WeakHandle 更多... | |
| ~WeakHandle () | |
| 析构函数 更多... | |
| WeakHandle (WeakHandle const &other) | |
| 拷贝构造函数1 更多... | |
| WeakHandle & | operator= (WeakHandle const &other) |
| 拷贝赋值函数1 更多... | |
| template<typename _HTy2 > | |
| WeakHandle (WeakHandle< _HTy2 > const &other) | |
拷贝构造函数2。_HTy2为可直接转为_HTy的类型 更多... | |
| template<typename _HTy2 > | |
| WeakHandle & | operator= (WeakHandle< _HTy2 > const &other) |
拷贝赋值函数2。_HTy2为可直接转为_HTy的类型 更多... | |
| void | reset () |
| 释放并重置 更多... | |
| SharedHandle< _HTy > | lock () const |
锁定共享引用计数场景,创建一个SharedHandle持住资源 更多... | |
| bool | expired () const |
| 是否过期 更多... | |
| operator bool () const | |
| 弱句柄是否有效 更多... | |
Protected 成员函数 | |
| template<typename _HTy2 > | |
| bool | _sharedReset (SharedHandle< _HTy2 > *shared) const |
调用SharedHandle::_reset0()。用于从WeakHandle创建SharedHandle 更多... | |
| template<typename _HTy2 > | |
| void | _reset (_HTy2 otherH, SharedDeleterContext *otherCtx) |
增加另一个弱引用计数,减少自身弱计数。管理另一个WeakHandle 更多... | |
| template<typename _HTy2 > | |
| void | _reset (WeakHandle< _HTy2 > const &other) |
增加另一个弱引用计数,减少自身弱计数。管理另一个WeakHandle 更多... | |
Protected 属性 | |
| WeakHandleData | _self |
友元 | |
| template<typename _HTy0 > | |
| class | WeakHandle |
| template<typename _HTy0 > | |
| class | SharedHandle |
| typedef _HTy winux::WeakHandle< _HTy >::HType |
句柄类型
在文件 smartptr.hpp 第 1028 行定义.
| typedef SharedHandle<_HTy>::SharedHandleData winux::WeakHandle< _HTy >::WeakHandleData |
句柄数据结构体
在文件 smartptr.hpp 第 1031 行定义.
|
inline |
构造函数0
在文件 smartptr.hpp 第 1034 行定义.
|
inline |
构造函数1,从一个SharedHandle构建一个WeakHandle
在文件 smartptr.hpp 第 1038 行定义.
|
inline |
析构函数
在文件 smartptr.hpp 第 1052 行定义.
|
inline |
拷贝构造函数1
在文件 smartptr.hpp 第 1058 行定义.
|
inline |
拷贝构造函数2。_HTy2为可直接转为_HTy的类型
在文件 smartptr.hpp 第 1072 行定义.
|
inline |
赋值函数1,从一个SharedHandle构建一个WeakHandle
在文件 smartptr.hpp 第 1045 行定义.
|
inline |
拷贝赋值函数1
在文件 smartptr.hpp 第 1064 行定义.
|
inline |
拷贝赋值函数2。_HTy2为可直接转为_HTy的类型
在文件 smartptr.hpp 第 1079 行定义.
|
inline |
释放并重置
在文件 smartptr.hpp 第 1086 行定义.
|
inline |
锁定共享引用计数场景,创建一个SharedHandle持住资源
在文件 smartptr.hpp 第 1092 行定义.
|
inline |
|
inline |
弱句柄是否有效
在文件 smartptr.hpp 第 1105 行定义.
|
inlineprotected |
调用SharedHandle::_reset0()。用于从WeakHandle创建SharedHandle
在文件 smartptr.hpp 第 1110 行定义.
|
inlineprotected |
增加另一个弱引用计数,减少自身弱计数。管理另一个WeakHandle
在文件 smartptr.hpp 第 1123 行定义.
|
inlineprotected |
增加另一个弱引用计数,减少自身弱计数。管理另一个WeakHandle
在文件 smartptr.hpp 第 1135 行定义.
在文件 smartptr.hpp 第 1144 行定义.
在文件 smartptr.hpp 第 1146 行定义.
|
protected |
在文件 smartptr.hpp 第 1140 行定义.