Export (0) Print
Expand All

Module::MethodReleaseNotifier Class

Invokes an event handler when the last object in the current module is released. The event handler is specified by an object and its pointer-to-a-method member.

template<
   typename T
>
class MethodReleaseNotifier : public ReleaseNotifier;

T

The type of the object whose member function is the event handler.

Name

Description

Module::MethodReleaseNotifier::MethodReleaseNotifier Constructor

Initializes a new instance of the Module::MethodReleaseNotifier class.

Name

Description

Module::MethodReleaseNotifier::Invoke Method

Calls the event handler associated with the current Module::MethodReleaseNotifier object.

Name

Description

Module::MethodReleaseNotifier::method_ Data Member

Holds a pointer to the event handler for the current Module::MethodReleaseNotifier object.

Module::MethodReleaseNotifier::object_ Data Member

Holds a pointer to the object whose member function is the event handler for the current Module::MethodReleaseNotifier object.

ReleaseNotifier

MethodReleaseNotifier

Header: module.h

Namespace: Microsoft::WRL

Show:
© 2014 Microsoft