19 #ifndef __SLV2_PLUGIN_H__ 20 #define __SLV2_PLUGIN_H__ 28 #include "slv2/types.h" 29 #include "slv2/port.h" 30 #include "slv2/collections.h" 167 SLV2Value predicate);
178 const char* predicate);
190 const char* predicate);
214 SLV2Value subject_uri,
215 SLV2Value predicate_uri);
227 SLV2Value feature_uri);
315 SLV2Value class_1, ...);
355 const char* sparql_str,
371 const char* sparql_str);
SLV2Values slv2_plugin_get_value_by_qname(SLV2Plugin p, const char *predicate)
Get a value associated with the plugin in a plugin's data files.
SLV2Port slv2_plugin_get_port_by_index(SLV2Plugin plugin, uint32_t index)
Get a port on this plugin by index.
SLV2PluginClass slv2_plugin_get_class(SLV2Plugin plugin)
Get the class this plugin belongs to (ie Filters).
SLV2Values slv2_plugin_get_supported_features(SLV2Plugin p)
Get the LV2 Features supported (required or optionally) by a plugin.
SLV2Values slv2_plugin_get_data_uris(SLV2Plugin plugin)
Get the (resolvable) URIs of the RDF data files that define a plugin.
unsigned slv2_plugin_query_count(SLV2Plugin plugin, const char *sparql_str)
Query a plugin and return the number of results found.
SLV2Value slv2_plugin_get_author_name(SLV2Plugin plugin)
Get the full name of the plugin's author.
uint32_t slv2_plugin_get_latency_port_index(SLV2Plugin p)
Return the index of the plugin's latency port.
SLV2Value slv2_plugin_get_author_email(SLV2Plugin plugin)
Get the email address of the plugin's author.
uint32_t slv2_plugin_get_num_ports(SLV2Plugin p)
Get the number of ports on this plugin.
SLV2Values slv2_plugin_query_variable(SLV2Plugin plugin, const char *sparql_str, unsigned variable)
Query a plugin for a single variable (i.e.
SLV2Values slv2_plugin_get_required_features(SLV2Plugin p)
Get the LV2 Features required by a plugin.
bool slv2_plugin_has_latency(SLV2Plugin p)
Return whether or not the plugin introduces (and reports) latency.
SLV2Value slv2_plugin_get_bundle_uri(SLV2Plugin plugin)
Get the (resolvable) URI of the plugins "main" bundle.
SLV2Value slv2_plugin_get_author_homepage(SLV2Plugin plugin)
Get the email address of the plugin's author.
SLV2Values slv2_plugin_get_value_by_qname_i18n(SLV2Plugin p, const char *predicate)
Get a translated value associated with the plugin in a plugin's data files.
SLV2UIs slv2_plugin_get_uis(SLV2Plugin plugin)
Get a list of all UIs available for this plugin.
bool slv2_plugin_has_feature(SLV2Plugin p, SLV2Value feature_uri)
Return whether a feature is supported by a plugin.
SLV2Values slv2_plugin_get_optional_features(SLV2Plugin p)
Get the LV2 Features optionally supported by a plugin.
SLV2Values slv2_plugin_get_value_for_subject(SLV2Plugin p, SLV2Value subject_uri, SLV2Value predicate_uri)
Get a value associated with some subject in a plugin's data files.
SLV2Value slv2_plugin_get_name(SLV2Plugin plugin)
Get the name of plugin.
SLV2Value slv2_plugin_get_uri(SLV2Plugin plugin)
Get the URI of plugin.
bool slv2_plugin_verify(SLV2Plugin plugin)
Check if this plugin is valid.
SLV2Port slv2_plugin_get_port_by_symbol(SLV2Plugin plugin, SLV2Value symbol)
Get a port on this plugin by symbol.
void slv2_plugin_get_port_ranges_float(SLV2Plugin p, float *min_values, float *max_values, float *def_values)
Get the port ranges (minimum, maximum and default values) for all ports.
uint32_t slv2_plugin_get_num_ports_of_class(SLV2Plugin p, SLV2Value class_1,...)
Get the number of ports on this plugin that are members of some class(es).
SLV2Value slv2_plugin_get_library_uri(SLV2Plugin plugin)
Get the (resolvable) URI of the shared library for plugin.
SLV2Values slv2_plugin_get_value(SLV2Plugin p, SLV2Value predicate)
Get a value associated with the plugin in a plugin's data files.