A simple COM smart pointer. More...
#include <juce_win32_ComSmartPtr.h>


Public Member Functions | |
| ComSmartPtr () noexcept | |
| ComSmartPtr (ComClass *obj) | |
| ComSmartPtr (const ComSmartPtr &other) | |
| ComSmartPtr () noexcept | |
| ComSmartPtr (ObjectType *object, bool autoAddRef=true) noexcept | |
| ComSmartPtr (const ComSmartPtr &other) noexcept | |
| ~ComSmartPtr () | |
| ~ComSmartPtr () | |
| HRESULT | CoCreateInstance (REFCLSID classUUID, DWORD dwClsContext=CLSCTX_INPROC_SERVER) |
| ObjectType * | get () const noexcept |
| bool | loadFrom (Steinberg::FUnknown *o) |
| bool | loadFrom (Steinberg::IPluginFactory *factory, const Steinberg::TUID &uuid) |
| operator ComClass * () const noexcept | |
| operator ObjectType * () const noexcept | |
| bool | operator!= (ObjectType *const other) noexcept |
| ComClass & | operator* () const noexcept |
| ObjectType & | operator* () const noexcept |
| ComClass * | operator-> () const noexcept |
| ObjectType * | operator-> () const noexcept |
| ComSmartPtr & | operator= (ComClass *const newP) |
| ComSmartPtr & | operator= (const ComSmartPtr &newP) |
| ComSmartPtr & | operator= (const ComSmartPtr &other) |
| ComSmartPtr & | operator= (ObjectType *const newObjectToTakePossessionOf) |
| bool | operator== (ObjectType *const other) noexcept |
| 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 |
| ObjectType * | source |
A simple COM smart pointer.
|
inlinenoexcept |
|
inlinenoexcept |
|
inlinenoexcept |
|
inline |
|
inlinenoexcept |
|
inline |
|
inline |
|
inline |
|
inline |
|
inlinenoexcept |
|
inline |
|
inline |
|
privatenoexcept |
|
inlinenoexcept |
|
inlinenoexcept |
|
inlinenoexcept |
|
inlinenoexcept |
|
inlinenoexcept |
|
inlinenoexcept |
|
inlinenoexcept |
|
inline |
|
inline |
|
inline |
|
inline |
|
inlinenoexcept |
|
inline |
|
inline |
|
inlineprivate |
|
inline |
Referenced by CameraDevice::Pimpl::addGraphToRot(), CameraDevice::Pimpl::createFileCaptureFilter(), CameraDevice::Pimpl::enumerateCameras(), CameraDevice::Pimpl::getPin(), WinRTWrapper::getWRLFactory(), VideoComponent::Pimpl::DirectShowContext::isRendererConnected(), CameraDevice::Pimpl::Pimpl(), ComSmartPtr< ISampleGrabber >::QueryInterface(), and CameraDevice::Pimpl::removeGraphFromRot().
|
private |
Referenced by ComSmartPtr< ISampleGrabber >::operator=().
|
private |
Referenced by ComSmartPtr< ISampleGrabber >::operator=().