_LV2_Feature Struct Reference

Feature. More...

#include <lv2.h>

Data Fields

const char * URI
 A globally unique, case-sensitive identifier (URI) for this feature.
void * data
 Pointer to arbitrary data.

Detailed Description

Feature.

Features are used to provide an extensible interface to allow adding arbitrary functionality to implementations without breaking API compatibility. In particular, they may be passed by the host to the plugin's instantiate method to provide additional functionality. Extensions that describe a feature MUST specify the URI and format of data that needs to be used here. The core LV2 specification does not define any features; implementations are not required to use this facility.


Field Documentation

const char* _LV2_Feature::URI

A globally unique, case-sensitive identifier (URI) for this feature.

This MUST be a valid URI string as defined by RFC 3986.

Pointer to arbitrary data.

The format of this data is defined by the extension which describes the feature with the given URI. The core LV2 specification makes no restrictions on the format of this data. If no data is required, this may be set to NULL if the relevant extension explicitly allows this.


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

Generated on 21 Aug 2011 for LV2Core by  doxygen 1.6.1