Module::GenericReleaseNotifier Class
Visual Studio 2015
The new home for Visual Studio documentation is Visual Studio 2017 Documentation on docs.microsoft.com.
The latest version of this topic can be found at 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;
Parameters
T
The type of the data member that contains the location of the event handler.
Public Constructors
| Name | Description |
|---|---|
| Module::GenericReleaseNotifier::GenericReleaseNotifier Constructor | Initializes a new instance of the Module::GenericReleaseNotifier class. |
Public Methods
| Name | Description |
|---|---|
| Module::GenericReleaseNotifier::Invoke Method | Calls the event handler associated with the current Module::GenericReleaseNotifier object. |
Protected Data Members
| 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
Module Class
Show: