Public Member Functions | Protected Attributes

EventConnection Struct Reference

#include <webchild.h>

Inheritance diagram for EventConnection:
Inheritance graph
[legend]
Collaboration diagram for EventConnection:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 EventConnection (IConnectionPoint *connectionpoint, IUnknown *sink)
template<typename T >
 EventConnection (T &connectionpoint, IUnknown *sink)
 ~EventConnection ()

Protected Attributes

SIfacePtr< IConnectionPoint > _connectionpoint
DWORD _cookie

Detailed Description

Definition at line 94 of file webchild.h.


Constructor & Destructor Documentation

EventConnection::EventConnection ( IConnectionPoint *  connectionpoint,
IUnknown sink 
) [inline]

Definition at line 96 of file webchild.h.

References _connectionpoint, and _cookie.

    {
        CheckError(connectionpoint->Advise(sink, &_cookie));
        _connectionpoint = connectionpoint;
    }
template<typename T >
EventConnection::EventConnection ( T &  connectionpoint,
IUnknown sink 
) [inline]

Definition at line 102 of file webchild.h.

References _connectionpoint, and _cookie.

    {
        CheckError(connectionpoint->Advise(sink, &_cookie));
        _connectionpoint = connectionpoint;
    }
EventConnection::~EventConnection (  ) [inline]

Definition at line 120 of file webchild.h.

References _connectionpoint, and _cookie.


Member Data Documentation

SIfacePtr<IConnectionPoint> EventConnection::_connectionpoint [protected]

Definition at line 127 of file webchild.h.

Referenced by EventConnection(), and ~EventConnection().

DWORD EventConnection::_cookie [protected]

Definition at line 128 of file webchild.h.

Referenced by EventConnection(), and ~EventConnection().


The documentation for this struct was generated from the following file:

ROS Explorer Source Code Documentation
generated on 02.01.2013 by doxygen

ROS Explorer Homepage