JUCE
|
A simple COM smart pointer. More...
Public Member Functions | |
ComSmartPtr () noexcept | |
ComSmartPtr (ObjectType *object, bool autoAddRef=true) noexcept | |
ComSmartPtr (const ComSmartPtr &other) noexcept | |
~ComSmartPtr () | |
operator ObjectType * () const noexcept | |
ObjectType * | get () const noexcept |
ObjectType & | operator* () const noexcept |
ObjectType * | operator-> () const noexcept |
ComSmartPtr & | operator= (const ComSmartPtr &other) |
ComSmartPtr & | operator= (ObjectType *const newObjectToTakePossessionOf) |
bool | operator== (ObjectType *const other) noexcept |
bool | operator!= (ObjectType *const other) noexcept |
bool | loadFrom (Steinberg::FUnknown *o) |
bool | loadFrom (Steinberg::IPluginFactory *factory, const Steinberg::TUID &uuid) |
ComSmartPtr () noexcept | |
ComSmartPtr (ComClass *obj) | |
ComSmartPtr (const ComSmartPtr &other) | |
~ComSmartPtr () | |
operator ComClass * () const noexcept | |
ComClass & | operator* () const noexcept |
ComClass * | operator-> () const noexcept |
ComSmartPtr & | operator= (ComClass *const newP) |
ComSmartPtr & | operator= (const ComSmartPtr &newP) |
ComClass ** | resetAndGetPointerAddress () |
HRESULT | CoCreateInstance (REFCLSID classUUID, DWORD dwClsContext=CLSCTX_INPROC_SERVER) |
template<class OtherComClass > | |
HRESULT | QueryInterface (REFCLSID classUUID, ComSmartPtr< OtherComClass > &destObject) const |
template<class OtherComClass > | |
HRESULT | QueryInterface (ComSmartPtr< OtherComClass > &destObject) const |
A simple COM smart pointer.
|
noexcept |
|
noexcept |
|
noexcept |
juce::ComSmartPtr< ObjectType >::~ComSmartPtr | ( | ) |
|
noexcept |
juce::ComSmartPtr< ObjectType >::ComSmartPtr | ( | ComClass * | obj | ) |
juce::ComSmartPtr< ObjectType >::ComSmartPtr | ( | const ComSmartPtr< ObjectType > & | other | ) |
juce::ComSmartPtr< ObjectType >::~ComSmartPtr | ( | ) |
|
noexcept |
|
noexcept |
|
noexcept |
|
noexcept |
ComSmartPtr& juce::ComSmartPtr< ObjectType >::operator= | ( | const ComSmartPtr< ObjectType > & | other | ) |
ComSmartPtr& juce::ComSmartPtr< ObjectType >::operator= | ( | ObjectType *const | newObjectToTakePossessionOf | ) |
|
noexcept |
|
noexcept |
bool juce::ComSmartPtr< ObjectType >::loadFrom | ( | Steinberg::FUnknown * | o | ) |
bool juce::ComSmartPtr< ObjectType >::loadFrom | ( | Steinberg::IPluginFactory * | factory, |
const Steinberg::TUID & | uuid | ||
) |
References jassert.
|
noexcept |
|
noexcept |
|
noexcept |
ComSmartPtr& juce::ComSmartPtr< ObjectType >::operator= | ( | ComClass *const | newP | ) |
ComSmartPtr& juce::ComSmartPtr< ObjectType >::operator= | ( | const ComSmartPtr< ObjectType > & | newP | ) |
ComClass** juce::ComSmartPtr< ObjectType >::resetAndGetPointerAddress | ( | ) |
Referenced by juce::WinRTWrapper::getWRLFactory(), and juce::ComSmartPtr< ObjectType >::QueryInterface().
HRESULT juce::ComSmartPtr< ObjectType >::CoCreateInstance | ( | REFCLSID | classUUID, |
DWORD | dwClsContext = CLSCTX_INPROC_SERVER |
||
) |
HRESULT juce::ComSmartPtr< ObjectType >::QueryInterface | ( | REFCLSID | classUUID, |
ComSmartPtr< OtherComClass > & | destObject | ||
) | const |
HRESULT juce::ComSmartPtr< ObjectType >::QueryInterface | ( | ComSmartPtr< OtherComClass > & | destObject | ) | const |
References __uuidof.