Udostępnij za pośrednictwem


Struktura InvokeHelper

Obsługuje infrastrukturę światowym laboratorium Referencyjnym i nie ma być używane bezpośrednio w kodzie.

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>;

Parametry

  • TDelegateInterface

  • TCallback
    Typ funkcji obsługi zdarzenia.

  • argCount
    Liczba argumentów specjalizacji InvokeHelper.

Uwagi

Miejsce realizacji metoda Invoke(), na podstawie określonej liczby i typu argumentów.

Członkowie

BR244850.collapse_all(pl-pl,VS.110).gifDefinicje typów publicznych

Nazwa

Opis

Traits

Synonim klasa, która definiuje typ argumentu obsługi zdarzeń.

BR244850.collapse_all(pl-pl,VS.110).gifPubliczne konstruktory

Nazwa

Opis

Konstruktor InvokeHelper::InvokeHelper

Inicjuje nowe wystąpienie klasy InvokeHelper.

BR244850.collapse_all(pl-pl,VS.110).gifMetody publiczne

Nazwa

Opis

Metoda InvokeHelper::Invoke

Wywołuje program obsługi zdarzeń, których podpis zawiera określoną liczbę argumentów.

BR244850.collapse_all(pl-pl,VS.110).gifCzłonkowie dane publicznych

Nazwa

Opis

Członek danych InvokeHelper::callback_

Reprezentuje obsługi zdarzenia do wywołania po wystąpieniu zdarzenia.

Hierarchii dziedziczenia

InvokeHelper

Wymagania

Nagłówek: event.h

Obszar nazw: Microsoft::WRL::Details

Zobacz też

Informacje

Obszar nazw Microsoft::WRL::details