JUCE  v6.1.6 (6.0.8-1114)
JUCE API
Looking for a senior C++ dev?
I'm looking for work. Hire me!
juce::ComBaseClassHelper< ComClasses > Class Template Reference

Handy base class for writing COM objects, providing ref-counting and a basic QueryInterface method. More...

#include <juce_win32_ComSmartPtr.h>

Inheritance diagram for juce::ComBaseClassHelper< ComClasses >:
Collaboration diagram for juce::ComBaseClassHelper< ComClasses >:

Public Member Functions

 ComBaseClassHelper (unsigned int initialRefCount=1)
 
ULONG STDMETHODCALLTYPE AddRef ()
 
JUCE_COMRESULT QueryInterface (REFIID refId, void **result)
 
ULONG STDMETHODCALLTYPE Release ()
 

Protected Member Functions

JUCE_COMRESULT castToType (void **result)
 

Protected Attributes

ULONG refCount
 

Detailed Description

template<class... ComClasses>
class juce::ComBaseClassHelper< ComClasses >

Handy base class for writing COM objects, providing ref-counting and a basic QueryInterface method.

@tags{Core}

Constructor & Destructor Documentation

◆ ComBaseClassHelper()

template<class... ComClasses>
juce::ComBaseClassHelper< ComClasses >::ComBaseClassHelper ( unsigned int  initialRefCount = 1)
inlineexplicit

Member Function Documentation

◆ AddRef()

ULONG STDMETHODCALLTYPE juce::ComBaseClassHelperBase< ComClasses... , ComClasses >::AddRef ( )
inlineinherited

◆ castToType()

JUCE_COMRESULT juce::ComBaseClassHelperBase< ComClasses... , ComClasses >::castToType ( void **  result)
inlineprotectedinherited

◆ QueryInterface()

template<class... ComClasses>
JUCE_COMRESULT juce::ComBaseClassHelper< ComClasses >::QueryInterface ( REFIID  refId,
void **  result 
)
inline

◆ Release()

ULONG STDMETHODCALLTYPE juce::ComBaseClassHelperBase< ComClasses... , ComClasses >::Release ( )
inlineinherited

Member Data Documentation

◆ refCount

ULONG juce::ComBaseClassHelperBase< ComClasses... , ComClasses >::refCount
protectedinherited

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