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

Public Member Functions

bool check_ok ()
 

Static Public Member Functions

static void map_feature_handlers (FeatureHandlerMap &hmap)
 
static void handle_feature (void *instance, void *data)
 

Protected Member Functions

uint32_t uri_to_id (const char *map, const char *uri) const
 

Protected Attributes

LV2_URI_Map_Callback_Data m_callback_data
 
uint32_t(* m_func )(LV2_URI_Map_Callback_Data, const char *, const char *)
 

Member Function Documentation

bool check_ok ( )
inline

Sanity check the mixin

static void handle_feature ( void *  instance,
void *  data 
)
inlinestatic
static void map_feature_handlers ( FeatureHandlerMap hmap)
inlinestatic
uint32_t uri_to_id ( const char *  map,
const char *  uri 
) const
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.

Parameters
mapAn URI to be used as namespace.
uriThe URI that you want to map to a numeric ID.

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