A simple COM smart pointer. More...
#include <juce_win32_ComSmartPtr.h>
Public Member Functions | |
ComSmartPtr () noexcept | |
ComSmartPtr (ComClass *obj) | |
ComSmartPtr (const ComSmartPtr &other) | |
~ComSmartPtr () | |
HRESULT | CoCreateInstance (REFCLSID classUUID, DWORD dwClsContext=CLSCTX_INPROC_SERVER) |
operator ComClass * () const noexcept | |
ComClass & | operator* () const noexcept |
ComClass * | operator-> () const noexcept |
ComSmartPtr & | operator= (ComClass *const newP) |
ComSmartPtr & | operator= (const ComSmartPtr &newP) |
template<class OtherComClass > | |
HRESULT | QueryInterface (REFCLSID classUUID, ComSmartPtr< OtherComClass > &destObject) const |
template<class OtherComClass > | |
HRESULT | QueryInterface (ComSmartPtr< OtherComClass > &destObject) const |
ComClass ** | resetAndGetPointerAddress () |
Private Member Functions | |
ComClass ** | operator & () noexcept |
void | release () |
Private Attributes | |
ComClass * | p = nullptr |
A simple COM smart pointer.
{Core}
|
inlinenoexcept |
|
inline |
|
inline |
|
inline |
|
inline |
|
privatenoexcept |
|
inlinenoexcept |
|
inlinenoexcept |
|
inlinenoexcept |
|
inline |
|
inline |
References juce::ComSmartPtr< ComClass >::p.
|
inline |
|
inline |
References __uuidof.
|
inlineprivate |
|
inline |
Referenced by juce::ComSmartPtr< ComClass >::QueryInterface().
|
private |
Referenced by juce::ComSmartPtr< ComClass >::operator=().