【c++】跟webrtc学引用计数

rtc::RefCountInterface 接口类

  • G:\CDN\rtcCli\m98\src\rtc_base\ref_count.h

引用计数想形成一种树状结构

  • // Interfaces where refcounting is part of the public api should
    // inherit this abstract interface. The implementation of these
    // methods is usually provided by the RefCountedObject template class,
    // applied as a leaf in the inheritance tree.

  • // 引用计数是公共 api 一部分的接口应该
    //继承这个抽象接口。这些措施的实施
    // 方法通常由 RefCountedObject 模板类提供,
    // 作为继承树中的叶子应用。

引用计数的释放状态

enum class RefCountReleaseStatus {
   
    kDroppedLastRef, kOtherRefsRemained }

相关推荐

  1. c++】webrtc引用计数

    2024-02-05 05:54:02       38 阅读
  2. webrtcwebrtclist遍历

    2024-02-05 05:54:02       43 阅读
  3. webrtcwebrtc时间戳、序号类型转换

    2024-02-05 05:54:02       44 阅读
  4. c++中级篇——面向切片编程

    2024-02-05 05:54:02       63 阅读
  5. C++中级篇——函数模板的匹配

    2024-02-05 05:54:02       58 阅读
  6. c++高级篇——常见的反射框架

    2024-02-05 05:54:02       35 阅读

最近更新

  1. docker php8.1+nginx base 镜像 dockerfile 配置

    2024-02-05 05:54:02       94 阅读
  2. Could not load dynamic library ‘cudart64_100.dll‘

    2024-02-05 05:54:02       101 阅读
  3. 在Django里面运行非项目文件

    2024-02-05 05:54:02       82 阅读
  4. Python语言-面向对象

    2024-02-05 05:54:02       91 阅读

热门阅读

  1. 【webrtc】跟webrtc学list遍历

    2024-02-05 05:54:02       43 阅读
  2. hive表加字段

    2024-02-05 05:54:02       53 阅读
  3. Hive与PrestoSQL中的并列列转行

    2024-02-05 05:54:02       53 阅读
  4. 2024-02-04(hive)

    2024-02-05 05:54:02       44 阅读
  5. 【vue2源码】阶段一:Vue 初始化

    2024-02-05 05:54:02       39 阅读
  6. docker

    2024-02-05 05:54:02       48 阅读
  7. 数据库事务隔离级别

    2024-02-05 05:54:02       47 阅读
  8. vue基本理解

    2024-02-05 05:54:02       50 阅读