87 tresult PLUGIN_API
terminate () SMTG_OVERRIDE;
Implements FUnknown and IDependent.
The basic interface of all interfaces.
Basic interface to a plug-in component: IPluginBase.
IPtr - Smart pointer template class.
Base class for VST 3 Component and Edit Controller.
tresult PLUGIN_API notify(IMessage *message) SMTG_OVERRIDE
Called when a message has been sent from the connection point to this.
IConnectionPoint * getPeer() const
Returns the peer for the messaging communication (you can only use IConnectionPoint::notify for commu...
IMessage * allocateMessage() const
Allocates a message instance (do not forget to release it).
tresult PLUGIN_API initialize(FUnknown *context) SMTG_OVERRIDE
The host passes a number of interfaces as context to initialize the plug-in class.
FUnknown * getHostContext() const
Returns the hostContext (set by the host during initialize call).
tresult PLUGIN_API terminate() SMTG_OVERRIDE
This function is called before the plug-in is unloaded and can be used for cleanups.
tresult sendTextMessage(const char8 *text) const
Sends a simple text message to the peer (max 255 characters).
virtual tresult receiveText(const char8 *text)
Receives a simple text message from the peer (max 255 characters).
tresult sendMessage(IMessage *message) const
Sends the given message to the peer.
tresult sendMessageID(const char8 *messageID) const
Sends a message with a given ID without any other payload.
tresult PLUGIN_API disconnect(IConnectionPoint *other) SMTG_OVERRIDE
Disconnects a given connection point from this.
Connect a component with another one: Vst::IConnectionPoint.
Private plug-in message: Vst::IMessage.
Basic Object implementing FUnknown.
#define DEFINE_INTERFACES
Start defining interfaces.
#define DEF_INTERFACE(InterfaceName)
Add a interfaces.
#define END_DEFINE_INTERFACES(BaseClass)
End defining interfaces.
#define REFCOUNT_METHODS(BaseClass)
Delegate refcount functions to BaseClass.