Share via


IConnectionPointContainerImpl Class

 

The latest version of this topic can be found at IConnectionPointContainerImpl Class.

This class implements a connection point container to manage a collection of IConnectionPointImpl objects.

Syntax

template<class T>  
class ATL_NO_VTABLE IConnectionPointContainerImpl 
   : public IConnectionPointContainer

Parameters

T
Your class, derived from IConnectionPointContainerImpl.

Members

Public Methods

Name Description
IConnectionPointContainerImpl::EnumConnectionPoints Creates an enumerator to iterate through the connection points supported in the connectable object.
IConnectionPointContainerImpl::FindConnectionPoint Retrieves an interface pointer to the connection point that supports the specified IID.

Remarks

IConnectionPointContainerImpl implements a connection point container to manage a collection of IConnectionPointImpl objects. IConnectionPointContainerImpl provides two methods that a client can call to retrieve more information about a connectable object:

  • EnumConnectionPoints allows the client to determine which outgoing interfaces the object supports.

  • FindConnectionPoint allows the client to determine whether the object supports a specific outgoing interface.

For information about using connection points in ATL, see the article Connection Points.

Inheritance Hierarchy

IConnectionPointContainer

IConnectionPointContainerImpl

Requirements

Header: atlcom.h

IConnectionPointContainerImpl::EnumConnectionPoints

Creates an enumerator to iterate through the connection points supported in the connectable object.

STDMETHOD(EnumConnectionPoints)(IEnumConnectionPoints** ppEnum);

Remarks

See IConnectionPointContainer::EnumConnectionPoints in the Windows SDK.

IConnectionPointContainerImpl::FindConnectionPoint

Retrieves an interface pointer to the connection point that supports the specified IID.

STDMETHOD(FindConnectionPoint)(REFIID riid, IConnectionPoint** ppCP);

Remarks

See IConnectionPointContainer::FindConnectionPoint in the Windows SDK.

See Also

IConnectionPointContainer
Class Overview