InvokeHelper (Estructura)
Admite la infraestructura de WRL y no está diseñado para usarse directamente desde el código.
template<
typename TDelegateInterface,
typename TCallback,
unsigned int argCount
>
struct InvokeHelper;
template<
typename TDelegateInterface,
typename TCallback
>
struct InvokeHelper<TDelegateInterface, TCallback, 0> : public Microsoft::WRL::RuntimeClass<RuntimeClassFlags<Delegate>, TDelegateInterface>;
template<
typename TDelegateInterface,
typename TCallback
>
struct InvokeHelper<TDelegateInterface, TCallback, 1> : public Microsoft::WRL::RuntimeClass<RuntimeClassFlags<Delegate>, TDelegateInterface>;
template<
typename TDelegateInterface,
typename TCallback
>
struct InvokeHelper<TDelegateInterface, TCallback, 2> : public Microsoft::WRL::RuntimeClass<RuntimeClassFlags<Delegate>, TDelegateInterface>;
template<
typename TDelegateInterface,
typename TCallback
>
struct InvokeHelper<TDelegateInterface, TCallback, 3> : public Microsoft::WRL::RuntimeClass<RuntimeClassFlags<Delegate>, TDelegateInterface>;
template<
typename TDelegateInterface,
typename TCallback
>
struct InvokeHelper<TDelegateInterface, TCallback, 4> : Microsoft::WRL::RuntimeClass<RuntimeClassFlags<Delegate>, TDelegateInterface>;
template<
typename TDelegateInterface,
typename TCallback
>
struct InvokeHelper<TDelegateInterface, TCallback, 5> : Microsoft::WRL::RuntimeClass<RuntimeClassFlags<Delegate>, TDelegateInterface>;
template<
typename TDelegateInterface,
typename TCallback
>
struct InvokeHelper<TDelegateInterface, TCallback, 6> : Microsoft::WRL::RuntimeClass<RuntimeClassFlags<Delegate>, TDelegateInterface>;
template<
typename TDelegateInterface,
typename TCallback
>
struct InvokeHelper<TDelegateInterface, TCallback, 7> : Microsoft::WRL::RuntimeClass<RuntimeClassFlags<Delegate>, TDelegateInterface>;
template<
typename TDelegateInterface,
typename TCallback
>
struct InvokeHelper<TDelegateInterface, TCallback, 8> : Microsoft::WRL::RuntimeClass<RuntimeClassFlags<Delegate>, TDelegateInterface>;
template<
typename TDelegateInterface,
typename TCallback
>
struct InvokeHelper<TDelegateInterface, TCallback, 9> : Microsoft::WRL::RuntimeClass<RuntimeClassFlags<Delegate>, TDelegateInterface>;
Parámetros
TDelegateInterface
TCallback
El tipo de función de controlador de eventos.argCount
El número de argumentos en una especialización de InvokeHelper.
Comentarios
Proporciona una implementación del método invoke () basándose en el número y el tipo especificados de argumentos.
Members
Typedefs públicas
Name |
Descripción |
---|---|
Traits |
Un sinónimo de la clase que define el tipo de cada argumento del controlador de eventos. |
Constructores públicos
Name |
Descripción |
---|---|
Inicializa una nueva instancia de la clase de InvokeHelper. |
Métodos públicos
Name |
Descripción |
---|---|
Llama al controlador de eventos cuya signatura contiene el número especificado de argumentos. |
Miembros de datos públicos
Name |
Descripción |
---|---|
Representa el controlador de eventos para llamar a un evento. |
Jerarquía de herencia
InvokeHelper
Requisitos
encabezado: event.h
espacio de nombres: Microsoft::WRL::Details