Estrutura InvokeHelper
Oferece suporte à infraestrutura de WRL e não deve ser usado diretamente no seu 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
O tipo de função do manipulador de eventos.argCount
O número de argumentos em uma especialização de InvokeHelper.
Comentários
Fornece uma implementação do método de Invoke() com base no número e o tipo especificados de argumentos.
Membros
Typedefs Públicas
Nome |
Descrição |
---|---|
Traits |
Um sinônimo para a classe que define o tipo de cada argumento do manipulador de eventos. |
Construtores Públicos
Nome |
Descrição |
---|---|
Inicializa uma nova instância da classe de InvokeHelper. |
Métodos Públicos
Nome |
Descrição |
---|---|
Chama o manipulador de eventos cuja assinatura contém o número especificado de argumentos. |
Membros de Dados Públicos
Nome |
Descrição |
---|---|
Representa o manipulador de eventos para chamar quando ocorre um evento. |
Hierarquia de Herança
InvokeHelper
Requisitos
Cabeçalho: event.h
Namespace: Microsoft::WRL::Details