Interface Technology Basics  VST 3.6.14
SDK for developing VST Plug-in
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
IRunLoop Class Referenceabstract

Linux host run loop interface. More...

#include <iplugview.h>

+ Inheritance diagram for IRunLoop:

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 return the new reference count. More...
virtual uint32 release ()=0
 Releases a reference and return the new reference count. More...

Static Public Attributes

static const FUID iid
- Static Public Attributes inherited from FUnknown
static const FUID iid

Detailed Description

Linux host run loop interface.

  • [host imp]
  • [extends IPlugFrame]
  • [released: 3.6.8]

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.

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.

Member Function Documentation

virtual tresult registerEventHandler ( IEventHandler handler,
FileDescriptor  fd 
pure virtual
virtual tresult unregisterEventHandler ( IEventHandler handler)
pure virtual
virtual tresult registerTimer ( ITimerHandler handler,
TimerInterval  milliseconds 
pure virtual
virtual tresult unregisterTimer ( ITimerHandler handler)
pure virtual

Member Data Documentation

const FUID iid

Copyright ©2019 Steinberg Media Technologies GmbH. All Rights Reserved. This documentation is under this license.