Interface Technology Basics VST 3.7
SDK for developing VST plug-in
|
FUnknownPtr - automatic interface conversion and smart pointer in one. More...
#include <funknown.h>
Public Member Functions | |
FUnknownPtr (FUnknown *unknown) | |
FUnknownPtr (const FUnknownPtr &p) | |
FUnknownPtr () | |
FUnknownPtr & | operator= (const FUnknownPtr &p) |
I * | operator= (FUnknown *unknown) |
I * | getInterface () |
Public Member Functions inherited from IPtr< I > | |
IPtr (I *ptr, bool addRef=true) | |
IPtr (const IPtr &) | |
template<class T > | |
IPtr (const IPtr< T > &other) | |
IPtr () | |
~IPtr () | |
I * | operator= (I *ptr) |
IPtr & | operator= (const IPtr &other) |
template<class T > | |
IPtr & | operator= (const IPtr< T > &other) |
operator I* () const | |
I * | operator-> () const |
I * | get () const |
void | reset (I *obj=nullptr) |
I * | take () SMTG_NOEXCEPT |
template<class I > | |
IPtr (const IPtr< I > &other) | |
template<class I > | |
IPtr< I > & | operator= (const IPtr< I > &_ptr) |
Additional Inherited Members | |
Static Public Member Functions inherited from IPtr< I > | |
template<typename T > | |
static IPtr< T > | adopt (T *obj) SMTG_NOEXCEPT |
Protected Attributes inherited from IPtr< I > | |
I * | ptr |
FUnknownPtr - automatic interface conversion and smart pointer in one.
This template class can be used for interface conversion like this:
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |