#include <webchild.h>
Public Member Functions | |
EventConnection (IConnectionPoint *connectionpoint, IUnknown *sink) | |
template<typename T > | |
EventConnection (T &connectionpoint, IUnknown *sink) | |
~EventConnection () | |
Protected Attributes | |
SIfacePtr< IConnectionPoint > | _connectionpoint |
DWORD | _cookie |
Definition at line 94 of file webchild.h.
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; }
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.
{ if (_connectionpoint) _connectionpoint->Unadvise(_cookie); }
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().
ROS Explorer Source Code Documentation
generated on 02.01.2013 by ![]() |