LMMS
Loading...
Searching...
No Matches
lmms::UridMap Class Reference

#include <Lv2UridMap.h>

Public Member Functions

 UridMap ()
 constructor; will set up the features
LV2_URID map (const char *uri)
 map feature function
const char * unmap (LV2_URID urid)
 unmap feature function
LV2_URID_MapmapFeature ()
LV2_URID_UnmapunmapFeature ()

Private Attributes

std::unordered_map< std::string, LV2_URIDm_map
std::vector< const char * > m_unMap
std::mutex m_MapMutex
LV2_URID_Map m_mapFeature
LV2_URID_Unmap m_unmapFeature

Detailed Description

Complete implementation of the Lv2 Urid Map extension

Constructor & Destructor Documentation

◆ UridMap()

lmms::UridMap::UridMap ( )

constructor; will set up the features

Member Function Documentation

◆ map()

LV2_URID lmms::UridMap::map ( const char * uri)

map feature function

◆ mapFeature()

LV2_URID_Map * lmms::UridMap::mapFeature ( )
inline

◆ unmap()

const char * lmms::UridMap::unmap ( LV2_URID urid)

unmap feature function

◆ unmapFeature()

LV2_URID_Unmap * lmms::UridMap::unmapFeature ( )
inline

Member Data Documentation

◆ m_map

std::unordered_map<std::string, LV2_URID> lmms::UridMap::m_map
private

◆ m_mapFeature

LV2_URID_Map lmms::UridMap::m_mapFeature
private

◆ m_MapMutex

std::mutex lmms::UridMap::m_MapMutex
private

mutex for both m_map and m_unMap the URID map is global, which is why a mutex is required here

◆ m_unMap

std::vector<const char*> lmms::UridMap::m_unMap
private

◆ m_unmapFeature

LV2_URID_Unmap lmms::UridMap::m_unmapFeature
private

The documentation for this class was generated from the following files: