#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.
uint32_t LV2::URIMap< Required >::I< Derived >::uri_to_id | ( | const char * | map, | |
const char * | uri | |||
) | const [inline, protected] |
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.
map | An URI to be used as namespace. | |
uri | The URI that you want to map to a numeric ID. |