Compartir a través de


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

BR244850.collapse_all(es-es,VS.110).gifTypedefs públicas

Name

Descripción

Traits

Un sinónimo de la clase que define el tipo de cada argumento del controlador de eventos.

BR244850.collapse_all(es-es,VS.110).gifConstructores públicos

Name

Descripción

InvokeHelper::InvokeHelper (Constructor)

Inicializa una nueva instancia de la clase de InvokeHelper.

BR244850.collapse_all(es-es,VS.110).gifMétodos públicos

Name

Descripción

InvokeHelper::Invoke (Método)

Llama al controlador de eventos cuya signatura contiene el número especificado de argumentos.

BR244850.collapse_all(es-es,VS.110).gifMiembros de datos públicos

Name

Descripción

InvokeHelper::callback_ (Miembro de datos)

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

Vea también

Referencia

Microsoft::WRL::Details (Espacio de nombres)