Interface Technology Basics VST 3.7
SDK for developing VST plug-in
|
Linux host run loop interface. More...
#include <iplugview.h>
Public Member Functions | |
virtual tresult | registerEventHandler (IEventHandler *handler, FileDescriptor fd)=0 |
virtual tresult | unregisterEventHandler (IEventHandler *handler)=0 |
virtual tresult | registerTimer (ITimerHandler *handler, TimerInterval milliseconds)=0 |
virtual tresult | unregisterTimer (ITimerHandler *handler)=0 |
Public Member Functions inherited from FUnknown | |
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 |
Static Public Attributes inherited from FUnknown | |
static const FUID | iid |
Linux host run loop interface.
On Linux the host has to provide this interface to the plug-in as there's no global event run loop defined as on other platforms.
This can be done by IPlugFrame and the context which is passed to the plug-in as an argument in the method IPlugFactory3::setHostContext. This way the plug-in can get a runloop even if it does not have an editor.
A plug-in can register an event handler for a file descriptor. The host has to call the event handler when the file descriptor is marked readable.
A plug-in also can register a timer which will be called repeatedly until it is unregistered.
|
pure virtual |
|
pure virtual |
|
pure virtual |
|
pure virtual |
|
static |