在当前模块的最后一个对象解锁时,将调用事件处理程序。 事件处理程序在 lambda、functor 或函数指针。
template<
typename T
>
class GenericReleaseNotifier : public ReleaseNotifier;
参数
- T
包含事件处理程序的位置数据成员的类型。
成员
公共构造函数
名称 |
说明 |
---|---|
初始化Module::GenericReleaseNotifier类的新实例。 |
公共方法
名称 |
说明 |
---|---|
调用事件处理程序与当前 Module::GenericReleaseNotifier 对象。 |
受保护的数据成员
名称 |
说明 |
---|---|
包含 lambda、functor 指针或函数关联的事件处理程序 Module::GenericReleaseNotifier 当前对象。 |
继承层次结构
ReleaseNotifier
GenericReleaseNotifier
要求
标头: module.h
命名空间: Microsoft::WRL