Delen via


IConnectionPointContainerImpl Class

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

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

See Also

Reference

IConnectionPointContainer

Other Resources

ATL Class Overview