LV2  1.0.13
Data Fields
LV2_Options_Interface Struct Reference

Interface for dynamically setting options (LV2_OPTIONS__interface). More...

Data Fields

uint32_t(* get )(LV2_Handle instance, LV2_Options_Option *options)
 Get the given options.
 
uint32_t(* set )(LV2_Handle instance, const LV2_Options_Option *options)
 Set the given options.
 

Detailed Description

Interface for dynamically setting options (LV2_OPTIONS__interface).

Field Documentation

uint32_t(* LV2_Options_Interface::get)(LV2_Handle instance, LV2_Options_Option *options)

Get the given options.

Each element of the passed options array MUST have type, subject, and key set. All other fields (size, type, value) MUST be initialised to zero, and are set to the option value if such an option is found.

This function is in the "instantiation" LV2 threading class, so no other instance functions may be called concurrently.

Returns
Bitwise OR of LV2_Options_Status values.
uint32_t(* LV2_Options_Interface::set)(LV2_Handle instance, const LV2_Options_Option *options)

Set the given options.

This function is in the "instantiation" LV2 threading class, so no other instance functions may be called concurrently.

Returns
Bitwise OR of LV2_Options_Status values.

The documentation for this struct was generated from the following file: