Qt 6.x
The Qt SDK
Loading...
Searching...
No Matches
AsyncCallback< T > Class Template Reference

#include <evrcustompresenter_p.h>

+ Inheritance diagram for AsyncCallback< T >:
+ Collaboration diagram for AsyncCallback< T >:

Public Types

typedef HRESULT(T::* InvokeFn) (IMFAsyncResult *asyncResult)
 

Public Member Functions

 AsyncCallback (T *parent, InvokeFn fn)
 
STDMETHODIMP QueryInterface (REFIID iid, void **ppv) override
 
 STDMETHODIMP_ (ULONG) AddRef() override
 
 STDMETHODIMP_ (ULONG) Release() override
 
STDMETHODIMP GetParameters (DWORD *, DWORD *) override
 
STDMETHODIMP Invoke (IMFAsyncResult *asyncResult) override
 

Public Attributes

T * m_parent
 
InvokeFn m_invokeFn
 

Detailed Description

template<class T>
class AsyncCallback< T >

Definition at line 41 of file evrcustompresenter_p.h.

Member Typedef Documentation

◆ InvokeFn

template<class T >
typedef HRESULT(T::* AsyncCallback< T >::InvokeFn) (IMFAsyncResult *asyncResult)

Definition at line 45 of file evrcustompresenter_p.h.

Constructor & Destructor Documentation

◆ AsyncCallback()

template<class T >
AsyncCallback< T >::AsyncCallback ( T *  parent,
InvokeFn  fn 
)
inline

Definition at line 47 of file evrcustompresenter_p.h.

Member Function Documentation

◆ GetParameters()

template<class T >
STDMETHODIMP AsyncCallback< T >::GetParameters ( DWORD *  ,
DWORD *   
)
inlineoverride

Definition at line 79 of file evrcustompresenter_p.h.

◆ Invoke()

template<class T >
STDMETHODIMP AsyncCallback< T >::Invoke ( IMFAsyncResult *  asyncResult)
inlineoverride

◆ QueryInterface()

template<class T >
STDMETHODIMP AsyncCallback< T >::QueryInterface ( REFIID  iid,
void **  ppv 
)
inlineoverride

Definition at line 52 of file evrcustompresenter_p.h.

References ppv.

◆ STDMETHODIMP_() [1/2]

template<class T >
AsyncCallback< T >::STDMETHODIMP_ ( ULONG  )
inlineoverride

Definition at line 69 of file evrcustompresenter_p.h.

References AsyncCallback< T >::m_parent.

◆ STDMETHODIMP_() [2/2]

template<class T >
AsyncCallback< T >::STDMETHODIMP_ ( ULONG  )
inlineoverride

Definition at line 73 of file evrcustompresenter_p.h.

References AsyncCallback< T >::m_parent.

Member Data Documentation

◆ m_invokeFn

template<class T >
InvokeFn AsyncCallback< T >::m_invokeFn

Definition at line 91 of file evrcustompresenter_p.h.

Referenced by AsyncCallback< T >::Invoke().

◆ m_parent

template<class T >
T* AsyncCallback< T >::m_parent

The documentation for this class was generated from the following file: