FFmpeg
Loading...
Searching...
No Matches
FFComObject< Interfaces > Struct Template Reference

#include <vsrc_gfxcapture_winrt.hpp>

Inheritance diagram for FFComObject< Interfaces >:

Public Member Functions

virtual ~FFComObject ()=default
 
HRESULT STDMETHODCALLTYPE QueryInterface (REFIID riid, void **ppvObject) override
 
ULONG STDMETHODCALLTYPE AddRef () override
 
ULONG STDMETHODCALLTYPE Release () override
 

Private Member Functions

template<typename Iface, typename... IFaces>
bool query_all (REFIID riid, void **ppvObject)
 

Private Attributes

std::atomic< ULONG > ref_count { 1 }
 

Detailed Description

template<typename... Interfaces>
struct FFComObject< Interfaces >

Definition at line 83 of file vsrc_gfxcapture_winrt.hpp.

Constructor & Destructor Documentation

◆ ~FFComObject()

template<typename... Interfaces>
virtual FFComObject< Interfaces >::~FFComObject ( )
virtualdefault

Member Function Documentation

◆ QueryInterface()

template<typename... Interfaces>
HRESULT STDMETHODCALLTYPE FFComObject< Interfaces >::QueryInterface ( REFIID riid,
void ** ppvObject )
inlineoverride

Definition at line 87 of file vsrc_gfxcapture_winrt.hpp.

◆ AddRef()

template<typename... Interfaces>
ULONG STDMETHODCALLTYPE FFComObject< Interfaces >::AddRef ( )
inlineoverride

Definition at line 102 of file vsrc_gfxcapture_winrt.hpp.

Referenced by QueryInterface().

◆ Release()

template<typename... Interfaces>
ULONG STDMETHODCALLTYPE FFComObject< Interfaces >::Release ( )
inlineoverride

Definition at line 107 of file vsrc_gfxcapture_winrt.hpp.

◆ query_all()

template<typename... Interfaces>
template<typename Iface, typename... IFaces>
bool FFComObject< Interfaces >::query_all ( REFIID riid,
void ** ppvObject )
inlineprivate

Definition at line 117 of file vsrc_gfxcapture_winrt.hpp.

Referenced by query_all(), and QueryInterface().

Field Documentation

◆ ref_count

template<typename... Interfaces>
std::atomic<ULONG> FFComObject< Interfaces >::ref_count { 1 }
private

Definition at line 132 of file vsrc_gfxcapture_winrt.hpp.

Referenced by AddRef(), and Release().


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