联盟首页 协同开发 共创软件 开放源码 软件工程 共创论坛 关于联盟
  您的位置 » 开放源码库【成熟 - 项目摘要 首页 | 分类源码 | 提交源码 | 下载统计 | 原创源码 | 成熟源码 | 代码片断
 
 ATL Tear-Off Interfaces - 项目摘要
摘要 | 管理 | 论坛
文档 | 软件包

源码库中源码数量为19221
有贡献人员名单:

-= 更多 =-
  • ffdshow
  • jasperreports
  • PoolMan
  • Air Traffic Controller
  • virtualdub-win
  • CppUnit
  • Apache-SSL-Jserv
  • FCK editor
  • Async Professional
  • GLgraph
  • -= 更多 =-

    项目描述:
    A tear-off interface maintains its own reference counting, through the CComTearOffObjectBase ATL class. Note that this is not entirely consistent with the usual COM model where the object maintains an object-wide reference count. In implementing the tear-off interface, you actually need to implement it in a separate C++ class, and instantiate this class separately from the main object class. Also, therefore, the tear-off interface doesn't feature in the multiple inheritance of the main implementation class.

    ATL Tear-Off 接口通过 CComTearOffObjectBase ATL 类来维护它自己的引用计数。注意,这同一般的使用COM模型不完全一致,在后者中对象只维护对象范围内的引用计数。在tear-off 接口的实现中,你实际上需要在一个单独的C++类中实现它,从主对象类中单独实例化这个类。此外,tear-off 接口不支持主实现类的多重继承。
    来源: http://www.codeguru.com/atl/ATLTearOffInterfaces.html
    类别:
    发布者: cbd002

    最新发布源码包
    软件包 版本号 日期 本地下载
    ATLTearOffInterfaces  1.0  2004-04-13 下载

    原始下载连接(国外) http://www.codeguru.com/code/legacy/atl/ATLTearOffInterfaces.zip

      » 合 作 伙 伴