JUCE  v5.4.1-191-g0ab5e696f
JUCE API
Looking for a senior C++ dev?
I'm looking for work. Hire me!
juce::ComBaseClassHelper< ComClass > 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< ComClass >:
Collaboration diagram for juce::ComBaseClassHelper< ComClass >:

Public Member Functions

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

Protected Member Functions

template<class Type >
JUCE_COMRESULT castToType (void **result)
 

Protected Attributes

ULONG refCount
 

Detailed Description

template<class ComClass>
class juce::ComBaseClassHelper< ComClass >

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

{Core}

Constructor & Destructor Documentation

◆ ComBaseClassHelper()

template<class ComClass >
juce::ComBaseClassHelper< ComClass >::ComBaseClassHelper ( unsigned int  initialRefCount = 1)
inline

◆ ~ComBaseClassHelper()

template<class ComClass >
juce::ComBaseClassHelper< ComClass >::~ComBaseClassHelper ( )
inline

Member Function Documentation

◆ AddRef()

template<class ComClass >
ULONG __stdcall juce::ComBaseClassHelperBase< ComClass >::AddRef ( )
inlineinherited

◆ castToType()

template<class ComClass >
template<class Type >
JUCE_COMRESULT juce::ComBaseClassHelperBase< ComClass >::castToType ( void **  result)
inlineprotectedinherited

◆ QueryInterface()

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

◆ Release()

template<class ComClass >
ULONG __stdcall juce::ComBaseClassHelperBase< ComClass >::Release ( )
inlineinherited

Member Data Documentation

◆ refCount

template<class ComClass >
ULONG juce::ComBaseClassHelperBase< ComClass >::refCount
protectedinherited

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