LV2 Toolkit  1.2.0
Public Member Functions | Static Public Member Functions | Protected Member Functions | List of all members
Options< Required >::I< Derived > Struct Template Reference
Collaboration diagram for Options< Required >::I< Derived >:
Collaboration graph
[legend]

Public Member Functions

 I ()
 
bool check_ok ()
 
const Optionget_supplied_options ()
 

Static Public Member Functions

static void map_feature_handlers (FeatureHandlerMap &hmap)
 
static void handle_feature (void *instance, FeatureData data)
 
static const void * extension_data (const char *uri)
 

Protected Member Functions

uint32_t get_options (Option *)
 
uint32_t set_options (const Option *)
 

Constructor & Destructor Documentation

I ( )
inline

Member Function Documentation

static const void* extension_data ( const char *  uri)
inlinestatic
uint32_t get_options ( Option )
inlineprotected

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 method corresponds with LV2_Options_Interface::get

Returns
Bitwise OR of OptionsStatus values.
const Option* get_supplied_options ( )
inline

Get the options passed by the host as an LV2_Feature

Note
The options array MUST NOT be modified by the plugin instance
Returns
The options array or 0 if no options were supplied
static void map_feature_handlers ( FeatureHandlerMap hmap)
inlinestatic
uint32_t set_options ( const Option )
inlineprotected

Set the given options.

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

This method corresponds with LV2_Options_Interface::set

Returns
Bitwise OR of OptionsStatus values.

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