reference

This documentation is automatically generated from the openFrameworks source code using doxygen and refers to the most recent release, version 0.12.0.

ofMediaFoundationUtils::AsyncCallback Class Reference

#include <ofMediaFoundationSoundPlayer.h>

Inheritance diagram for ofMediaFoundationUtils::AsyncCallback:

Public Member Functions

 AsyncCallback (std::function< void()> aCallBack)
 
virtual ~AsyncCallback ()=default
 
IFACEMETHODIMP GetParameters (_Out_ DWORD *flags, _Out_ DWORD *queue)
 
STDMETHODIMP Invoke (IMFAsyncResult *pResult)
 
HRESULT STDMETHODCALLTYPE QueryInterface (REFIID riid, LPVOID *ppvObj)
 
ULONG STDMETHODCALLTYPE AddRef ()
 
ULONG STDMETHODCALLTYPE Release ()
 

Protected Attributes

std::function< void()> mCallBack
 
ULONG m_refCount = 0
 

Constructor & Destructor Documentation

◆ AsyncCallback()

ofMediaFoundationUtils::AsyncCallback::AsyncCallback ( std::function< void()>  aCallBack)
inline

◆ ~AsyncCallback()

virtual ofMediaFoundationUtils::AsyncCallback::~AsyncCallback ( )
virtualdefault

Member Function Documentation

◆ AddRef()

ULONG STDMETHODCALLTYPE ofMediaFoundationUtils::AsyncCallback::AddRef ( )
inline

◆ GetParameters()

IFACEMETHODIMP ofMediaFoundationUtils::AsyncCallback::GetParameters ( _Out_ DWORD *  flags,
_Out_ DWORD *  queue 
)
inline

◆ Invoke()

STDMETHODIMP ofMediaFoundationUtils::AsyncCallback::Invoke ( IMFAsyncResult *  pResult)
inline

◆ QueryInterface()

HRESULT STDMETHODCALLTYPE ofMediaFoundationUtils::AsyncCallback::QueryInterface ( REFIID  riid,
LPVOID *  ppvObj 
)
inline

◆ Release()

ULONG STDMETHODCALLTYPE ofMediaFoundationUtils::AsyncCallback::Release ( )
inline

Member Data Documentation

◆ m_refCount

ULONG ofMediaFoundationUtils::AsyncCallback::m_refCount = 0
protected

◆ mCallBack

std::function<void()> ofMediaFoundationUtils::AsyncCallback::mCallBack
protected

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