Containment and Aggregation - 项目摘要 |
摘要
| 管理 |
论坛 文档
| 软件包 |
|
|
|
项目描述: |
One of the main reasons for adopting the COM model is to avoid any dependence on the source code of the server. Object Re-use implies one COM object using another COM object. There are two main strategies for this: Containment and Aggregation. In both cases, the client is unaware that there is more than one COM object involved. In this article, I'll consider first the underlying mechanics of containment and aggregation, and then look at the way the ATL supports the two strategies.
使用COM模型的一个原因为避免依赖服务器端的源代码。对象重用暗示COM对象可以使用其它的COM对象。有两个主要的策略:聚合和聚集。在两种情况下,客户端不知道使用了多个COM对象。在这个项目中,我首先考虑聚合和聚集的基本机制,再看一下用ATL支持这两种策略的方式。
来源: http://www.codeguru.com/atl/containmentAndAggregation.html |
类别: |
|
发布者:
cbd002
|
|
最新发布源码包 |
软件包 |
版本号 |
日期 |
本地下载 |
containmentAndAggregation |
 1.0  |
2004-04-12 |
下载 |
|
|