RuntimeClass – třída
Představuje instance třídy, která dědí určený počet rozhraní a obsahuje zadaný modul prostředí Windows Runtime, klasické rozhraní COM a slabou podporu odkazu.
Obvykle jsou odvozeny typů WRL RuntimeClass, protože tato třída implementuje AddRef, Release, a QueryInterface a pomáhá spravovat celkový referenční počet modulu.
template <
typename I0,
typename I1 = Details::Nil,
typename I2 = Details::Nil,
typename I3 = Details::Nil,
typename I4 = Details::Nil,
typename I5 = Details::Nil,
typename I6 = Details::Nil,
typename I7 = Details::Nil,
typename I8 = Details::Nil,
typename I9 = Details::Nil
>
class RuntimeClass : public Details::RuntimeClass<typename Details::InterfaceListHelper<I0, I1, I2, I3, I4, I5, I6, I7, I8, I9>::TypeT, RuntimeClassFlags<WinRt>>;
template <
unsigned int classFlags,
typename I0,
typename I1,
typename I2,
typename I3,
typename I4,
typename I5,
typename I6,
typename I7,
typename I8
>
class RuntimeClass<RuntimeClassFlags<classFlags>, I0, I1, I2, I3, I4, I5, I6, I7, I8> : public Details::RuntimeClass<typename Details::InterfaceListHelper<I0, I1, I2, I3, I4, I5, I6, I7, I8>::TypeT, RuntimeClassFlags<classFlags> >;
Parametry
I0
ID nultého rozhraní. (Povinný)I1
ID prvního rozhraní. (Volitelné)I2
Druhé ID rozhraní. (Volitelné)I3
ID třetího rozhraní. (Volitelné)I4
ID čtvrtého rozhraní. (Volitelné)I5
ID pátého rozhraní. (Volitelné)I6
ID šestého rozhraní. (Volitelné)I7
ID sedmého rozhraní. (Volitelné)I8
ID osmého rozhraní. (Volitelné)I9
ID devátého rozhraní. (Volitelné)classFlags
Kombinace jedné nebo více hodnot výčtu RuntimeClassType.
Členy
Veřejné konstruktory
Název |
Description |
---|---|
Inicializuje aktuální instance třídy RuntimeClass. |
|
Zruší inicializaci aktuální instance třídy RuntimeClass. |
Hierarchie dědičnosti
I0
ChainInterfaces
I0
RuntimeClassBase
ImplementsHelper
DontUseNewUseMake
RuntimeClassFlags
RuntimeClassBaseT
RuntimeClass
RuntimeClass
Požadavky
Hlavička: implements.h
Obor názvů: Microsoft::WRL