Interface Technology Basics VST 3.7
SDK for developing VST plug-in
|
The basic interface of all interfaces. More...
#include <funknown.h>
Public Member Functions | |
virtual tresult | queryInterface (const TUID _iid, void **obj)=0 |
Query for a pointer to the specified interface. More... | |
virtual uint32 | addRef ()=0 |
Adds a reference and returns the new reference count. More... | |
virtual uint32 | release ()=0 |
Releases a reference and returns the new reference count. More... | |
Static Public Attributes | |
static const FUID | iid |
The basic interface of all interfaces.
Interfaces are identified by 16 byte Globally Unique Identifiers. The SDK provides a class called FUID for this purpose.
howtoClass
Query for a pointer to the specified interface.
Returns kResultOk on success or kNoInterface if the object does not implement the interface. The object has to call addRef when returning an interface.
_iid | : (in) 16 Byte interface identifier (-> FUID) |
obj | : (out) On return, *obj points to the requested interface |
|
pure virtual |
Adds a reference and returns the new reference count.
|
pure virtual |
Releases a reference and returns the new reference count.
If the reference count reaches zero, the object will be destroyed in memory.
|
static |