lv2-c++-tools
1.0.7
|
#include <lv2types.hpp>
Inherits LV2::Extension< Required >.
Protected Member Functions | |
uint32_t | uri_to_id (const char *map, const char *uri) const |
This is the type that your plugin or GUI class will inherit when you use the FixedBufSize mixin. The public and protected members defined here will be available in your plugin class.
|
inlineprotected |
This returns a numeric identifier for a given URI and map. This is used for e.g. getting numeric IDs for event types specified by URIs. A return value of 0 should be considered to mean that the URI you passed is not supported by the host.
This function can be used even if the host does not support the URI map extension, and will then always return 0 for any URI.
map | An URI to be used as namespace. |
uri | The URI that you want to map to a numeric ID. |