Skip to content

Latest commit

 

History

History
30 lines (19 loc) · 2.02 KB

atl-connection-point-classes.md

File metadata and controls

30 lines (19 loc) · 2.02 KB
description Learn more about: ATL Connection Point Classes
title ATL Connection Point Classes
ms.date 11/04/2016
helpviewer_keywords
CFirePropNotifyEvent class, connection point classes
connection points [C++], ATL classes
ATL, connection points
CComDynamicUnkArray class, connection point classes
CFirePropNotifyEvent class
CComUnkArray class, connection point classes
ms.assetid 9582ba71-7ace-4df4-9c9b-1b0636953efc

ATL Connection Point Classes

ATL uses the following classes to support connection points:

  • IConnectionPointImpl implements a connection point. The IID of the outgoing interface it represents is passed as a template parameter.

  • IConnectionPointContainerImpl implements the connection point container and manages the list of IConnectionPointImpl objects.

  • IPropertyNotifySinkCP implements a connection point representing the IPropertyNotifySink interface.

  • CComDynamicUnkArray manages an arbitrary number of connections between the connection point and its sinks.

  • CComUnkArray manages a predefined number of connections as specified by the template parameter.

  • CFirePropNotifyEvent notifies a client's sink that an object's property has changed or is about to change.

  • IDispEventImpl provides support for connection points for an ATL COM object. These connection points are mapped with an event sink map, which is provided by your COM object.

  • IDispEventSimpleImpl works in conjunction with the event sink map in your class to route events to the appropriate handler function.

See also

Connection Point