Export (0) Print
Expand All

Module::GenericReleaseNotifier Class

Invokes an event handler when the last object in the current module is released. The event handler is specified by on a lambda, functor, or pointer-to-function.

template<
   typename T
>
class GenericReleaseNotifier : public ReleaseNotifier;

T

The type of the data member that contains the location of the event handler.

Name

Description

Module::GenericReleaseNotifier::GenericReleaseNotifier Constructor

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

Name

Description

Module::GenericReleaseNotifier::Invoke Method

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

Name

Description

Module::GenericReleaseNotifier::callback_ Data Member

Holds the lambda, functor, or pointer-to-function event handler associated with the current Module::GenericReleaseNotifier object.

ReleaseNotifier

GenericReleaseNotifier

Header: module.h

Namespace: Microsoft::WRL

Show:
© 2015 Microsoft