The CComAggObject class implements IUnknown for an aggregated object. This class has its own IUnknown, separate from the outer object's IUnknown, and maintains its own reference count. CComAggObject uses CComContainedObject to delegate to the outer unknown.
template< class contained >
class CComAggObject : public IUnknown, public CComObjectRootEx< contained::_ThreadModel::ThreadModelNoCS >
Header file: | Atlcom.h |
Platforms: | |
Versions: | 2.0 and later |
Complete documentation: | Visual C++ documentation |
CComAggObject Methods, CComAggObject Data Members, CComContainedObject, CComObject, CComPolyObject, DECLARE_AGGREGATABLE, DECLARE_ONLY_AGGREGATABLE, DECLARE_NOT_AGGREGATABLE