LMMS
Loading...
Searching...
No Matches
Worker

Classes

struct  _LV2_Worker_Interface
struct  _LV2_Worker_Schedule
struct  LV2_Worker_Interface
struct  LV2_Worker_Schedule

Macros

#define LV2_WORKER_URI   "http://lv2plug.in/ns/ext/worker"
 http://lv2plug.in/ns/ext/worker
#define LV2_WORKER_PREFIX   LV2_WORKER_URI "#"
 http://lv2plug.in/ns/ext/worker#
#define LV2_WORKER__interface   LV2_WORKER_PREFIX "interface"
 http://lv2plug.in/ns/ext/worker#interface
#define LV2_WORKER__schedule   LV2_WORKER_PREFIX "schedule"
 http://lv2plug.in/ns/ext/worker#schedule
#define LV2_WORKER_URI   "http://lv2plug.in/ns/ext/worker"
 http://lv2plug.in/ns/ext/worker
#define LV2_WORKER_PREFIX   LV2_WORKER_URI "#"
 http://lv2plug.in/ns/ext/worker#
#define LV2_WORKER__interface   LV2_WORKER_PREFIX "interface"
 http://lv2plug.in/ns/ext/worker#interface
#define LV2_WORKER__schedule   LV2_WORKER_PREFIX "schedule"
 http://lv2plug.in/ns/ext/worker#schedule

Typedefs

typedef voidLV2_Worker_Respond_Handle
typedef LV2_Worker_Status(* LV2_Worker_Respond_Function) (LV2_Worker_Respond_Handle handle, uint32_t size, const void *data)
typedef struct _LV2_Worker_Interface LV2_Worker_Interface
typedef voidLV2_Worker_Schedule_Handle
typedef struct _LV2_Worker_Schedule LV2_Worker_Schedule
typedef voidLV2_Worker_Respond_Handle
typedef LV2_Worker_Status(* LV2_Worker_Respond_Function) (LV2_Worker_Respond_Handle handle, uint32_t size, const void *data)
typedef voidLV2_Worker_Schedule_Handle

Enumerations

enum  LV2_Worker_Status { LV2_WORKER_SUCCESS = 0 , LV2_WORKER_ERR_UNKNOWN = 1 , LV2_WORKER_ERR_NO_SPACE = 2 }
enum  LV2_Worker_Status { LV2_WORKER_SUCCESS = 0 , LV2_WORKER_ERR_UNKNOWN = 1 , LV2_WORKER_ERR_NO_SPACE = 2 }

Detailed Description

Support for non-realtime plugin operations, see http://lv2plug.in/ns/ext/worker for details.

Support for non-realtime plugin operations.

See http://lv2plug.in/ns/ext/worker for details.

Macro Definition Documentation

◆ LV2_WORKER__interface [1/2]

#define LV2_WORKER__interface   LV2_WORKER_PREFIX "interface"

◆ LV2_WORKER__interface [2/2]

#define LV2_WORKER__interface   LV2_WORKER_PREFIX "interface"

◆ LV2_WORKER__schedule [1/2]

#define LV2_WORKER__schedule   LV2_WORKER_PREFIX "schedule"

◆ LV2_WORKER__schedule [2/2]

#define LV2_WORKER__schedule   LV2_WORKER_PREFIX "schedule"

◆ LV2_WORKER_PREFIX [1/2]

#define LV2_WORKER_PREFIX   LV2_WORKER_URI "#"

◆ LV2_WORKER_PREFIX [2/2]

#define LV2_WORKER_PREFIX   LV2_WORKER_URI "#"

◆ LV2_WORKER_URI [1/2]

#define LV2_WORKER_URI   "http://lv2plug.in/ns/ext/worker"

◆ LV2_WORKER_URI [2/2]

#define LV2_WORKER_URI   "http://lv2plug.in/ns/ext/worker"

Typedef Documentation

◆ LV2_Worker_Interface

typedef struct _LV2_Worker_Interface LV2_Worker_Interface

Plugin Worker Interface.

This is the interface provided by the plugin to implement a worker method. The plugin's extension_data() method should return an LV2_Worker_Interface when called with LV2_WORKER__interface as its argument.

◆ LV2_Worker_Respond_Function [1/2]

typedef LV2_Worker_Status(* LV2_Worker_Respond_Function) (LV2_Worker_Respond_Handle handle, uint32_t size, const void *data)

A function to respond to run() from the worker method.

The data MUST be safe for the host to copy and later pass to work_response(), and the host MUST guarantee that it will be eventually passed to work_response() if this function returns LV2_WORKER_SUCCESS.

◆ LV2_Worker_Respond_Function [2/2]

typedef LV2_Worker_Status(* LV2_Worker_Respond_Function) (LV2_Worker_Respond_Handle handle, uint32_t size, const void *data)

A function to respond to run() from the worker method.

The data MUST be safe for the host to copy and later pass to work_response(), and the host MUST guarantee that it will be eventually passed to work_response() if this function returns LV2_WORKER_SUCCESS.

◆ LV2_Worker_Respond_Handle [1/2]

◆ LV2_Worker_Respond_Handle [2/2]

◆ LV2_Worker_Schedule

typedef struct _LV2_Worker_Schedule LV2_Worker_Schedule

Schedule Worker Host Feature.

The host passes this feature to provide a schedule_work() function, which the plugin can use to schedule a worker call from run().

◆ LV2_Worker_Schedule_Handle [1/2]

◆ LV2_Worker_Schedule_Handle [2/2]

Enumeration Type Documentation

◆ LV2_Worker_Status [1/2]

Status code for worker functions.

Enumerator
LV2_WORKER_SUCCESS 

Completed successfully.

LV2_WORKER_ERR_UNKNOWN 

Unknown error.

LV2_WORKER_ERR_NO_SPACE 

Failed due to lack of space.

◆ LV2_Worker_Status [2/2]

Status code for worker functions.

Enumerator
LV2_WORKER_SUCCESS 

Completed successfully.

LV2_WORKER_ERR_UNKNOWN 

Unknown error.

LV2_WORKER_ERR_NO_SPACE 

Failed due to lack of space.