Share via


IPropertyNotifySinkCP クラス

このクラスは、IPropertyNotifySink インターフェイスを接続可能オブジェクトのアウトゴーイング インターフェイスとして公開します。

template< class T, class CDV = CComDynamicUnkArray >
class IPropertyNotifySinkCP : 
public IConnectionPointImpl< T, &IID_IPropertyNotifySink, CDV >

パラメーター

  • T
    IPropertyNotifySinkCP の派生クラス。

  • CDV
    コネクション ポイントとシンクの間の接続を管理するクラス。 既定値は、接続の数に制限がない CComDynamicUnkArray です。 接続の数が固定の CComUnkArray を使うこともできます。

解説

IPropertyNotifySink インターフェイスによって、シンク オブジェクトはプロパティの変更についての通知を受け取ります。 IPropertyNotifySinkCP クラスは、このインターフェイスを接続可能オブジェクトへのアウトゴーイング インターフェイスとして公開します。 クライアントはシンクに IPropertyNotifySink メソッドを実装する必要があります。

IPropertyNotifySink インターフェイスを表すコネクション ポイントを作成する場合は、クラスを IPropertyNotifySinkCP から派生させてください。

ATL のコネクション ポイントの使い方の詳細については、「ATL コネクション ポイント」を参照してください。

必要条件

**ヘッダー:**atlctl.h

参照

参照

IConnectionPointImpl クラス

IConnectionPointContainerImpl クラス

その他の技術情報

IPropertyNotifySinkCP のメンバー

ATL クラスの概要