FFmpeg
Loading...
Searching...
No Matches
FFTypedCBHandler< Iface, F, Args > Struct Template Reference

#include <vsrc_gfxcapture_winrt.hpp>

Inheritance diagram for FFTypedCBHandler< Iface, F, Args >:
FFComObject< Iface, IAgileObject >

Public Types

using Func = std::decay_t<F>
 

Public Member Functions

 FFTypedCBHandler (F &&f)
 
std::invoke_result_t< Func &, Args... > STDMETHODCALLTYPE Invoke (Args... args) override
 
- Public Member Functions inherited from FFComObject< Iface, IAgileObject >
virtual ~FFComObject ()=default
 
HRESULT STDMETHODCALLTYPE QueryInterface (REFIID riid, void **ppvObject) override
 
ULONG STDMETHODCALLTYPE AddRef () override
 
ULONG STDMETHODCALLTYPE Release () override
 

Private Attributes

Func cb_func
 

Detailed Description

template<class Iface, typename F, typename... Args>
struct FFTypedCBHandler< Iface, F, Args >

Definition at line 139 of file vsrc_gfxcapture_winrt.hpp.

Member Typedef Documentation

◆ Func

template<class Iface, typename F, typename... Args>
using FFTypedCBHandler< Iface, F, Args >::Func = std::decay_t<F>

Definition at line 141 of file vsrc_gfxcapture_winrt.hpp.

Constructor & Destructor Documentation

◆ FFTypedCBHandler()

template<class Iface, typename F, typename... Args>
FFTypedCBHandler< Iface, F, Args >::FFTypedCBHandler ( F && f)
inlineexplicit

Definition at line 143 of file vsrc_gfxcapture_winrt.hpp.

Member Function Documentation

◆ Invoke()

template<class Iface, typename F, typename... Args>
std::invoke_result_t< Func &, Args... > STDMETHODCALLTYPE FFTypedCBHandler< Iface, F, Args >::Invoke ( Args... args)
inlineoverride

Definition at line 145 of file vsrc_gfxcapture_winrt.hpp.

Field Documentation

◆ cb_func

template<class Iface, typename F, typename... Args>
Func FFTypedCBHandler< Iface, F, Args >::cb_func
private

Definition at line 156 of file vsrc_gfxcapture_winrt.hpp.

Referenced by FFTypedCBHandler(), and Invoke().


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