brief This class implements a thread-safe counter used for reference counting.
在文件 RefCount.h 第 18 行定义.
Public 成员函数 | |
| RefCount (int32_t ref_start=0) | |
| int32_t | ref () |
| int32_t | unref () |
| int32_t | ref_count () |
Public 属性 | |
| int32_t | rc |
| CLock | lock |
| RefCount | ( | int32_t | ref_start = 0 | ) |
| int32_t ref | ( | ) |
| int32_t ref_count | ( | ) |
| int32_t unref | ( | ) |
| CLock lock |
the lock
在文件 RefCount.h 第 52 行定义.
| int32_t rc |
reference count
在文件 RefCount.h 第 49 行定义.