|
VST 3 SDK
VST 3.6.6
SDK for developing VST Plug-in
|
Base class for VST 3 Component and Edit Controller. More...
#include <vstcomponentbase.h>
Inheritance diagram for ComponentBase:Public Member Functions | |
| ComponentBase () | |
| virtual | ~ComponentBase () |
| FUnknown * | getHostContext () |
| Returns the hostContext (set by the host during initialize call). More... | |
| IConnectionPoint * | getPeer () |
| Returns the peer for the messaging communication (you can only use IConnectionPoint::notify for communicate between peers, do not try to cast peerConnection. More... | |
| IMessage * | allocateMessage () |
| Allocates a message instance (don't forget to release it). More... | |
| tresult | sendMessage (IMessage *message) |
| Sends the given message to the peer. More... | |
| tresult | sendTextMessage (const char8 *text) |
| Sends a simple text message to the peer (max 255 characters). More... | |
| virtual tresult | receiveText (const char8 *text) |
| Receives a simple text message from the peer (max 255 characters). More... | |
| virtual tresult | initialize (FUnknown *context) |
| virtual tresult | terminate () |
| tresult | connect (IConnectionPoint *other) |
| tresult | disconnect (IConnectionPoint *other) |
| tresult | notify (IMessage *message) |
Public Member Functions inherited from FUnknown | |
| virtual tresult | queryInterface (const TUID _iid, void **obj)=0 |
| virtual uint32 | addRef ()=0 |
| virtual uint32 | release ()=0 |
Data Fields | |
| OBJ_METHODS(ComponentBase, FObject) DEFINE_INTERFACES DEF_INTERFACE(IPluginBase) DEF_INTERFACE(IConnectionPoint) END_DEFINE_INTERFACES(FObject) REFCOUNT_METHODS(FObject) protected IConnectionPoint * | peerConnection |
Additional Inherited Members | |
Static Public Attributes inherited from IPluginBase | |
| static const FUID | iid |
Static Public Attributes inherited from FUnknown | |
| static const FUID | iid |
Static Public Attributes inherited from IConnectionPoint | |
| static const FUID | iid |
Base class for VST 3 Component and Edit Controller.
| ComponentBase | ( | ) |
|
virtual |
|
inline |
Returns the hostContext (set by the host during initialize call).
|
inline |
Returns the peer for the messaging communication (you can only use IConnectionPoint::notify for communicate between peers, do not try to cast peerConnection.
| IMessage * allocateMessage | ( | ) |
Allocates a message instance (don't forget to release it).
Sends a simple text message to the peer (max 255 characters).
Receives a simple text message from the peer (max 255 characters).
Implements IPluginBase.
Reimplemented in EditController, Component, and SingleComponentEffect.
|
virtual |
Implements IPluginBase.
Reimplemented in EditController, Component, and SingleComponentEffect.
|
virtual |
Implements IConnectionPoint.
|
virtual |
Implements IConnectionPoint.
Implements IConnectionPoint.
| OBJ_METHODS (ComponentBase, FObject) DEFINE_INTERFACES DEF_INTERFACE (IPluginBase) DEF_INTERFACE (IConnectionPoint) END_DEFINE_INTERFACES (FObject) REFCOUNT_METHODS(FObject) protected IConnectionPoint* peerConnection |