|
Ardour
9.0-pre0-1950-g391fe97693
|
#include <uri_map.h>
Classes | |
| struct | URIDs |
Public Member Functions | |
| URIMap () | |
| URIMap (const URIMap &)=delete | |
| URIMap & | operator= (const URIMap &)=delete |
| LV2_Feature * | urid_map_feature () |
| LV2_Feature * | urid_unmap_feature () |
| LV2_URID_Map * | urid_map () |
| LV2_URID_Unmap * | urid_unmap () |
| uint32_t | uri_to_id (const char *uri) |
| const char * | id_to_uri (uint32_t id) const |
Static Public Member Functions | |
| static URIMap & | instance () |
Public Attributes | |
| URIDs | urids |
Private Types | |
| typedef std::map< const std::string, uint32_t > | Map |
| typedef std::map< uint32_t, const std::string > | Unmap |
Private Attributes | |
| Map | _map |
| Unmap | _unmap |
| LV2_Feature | _urid_map_feature |
| LV2_URID_Map | _urid_map_feature_data |
| LV2_Feature | _urid_unmap_feature |
| LV2_URID_Unmap | _urid_unmap_feature_data |
| Glib::Threads::Mutex | _lock |
Static Private Attributes | |
| static URIMap * | uri_map |
Implementation of the LV2 urid extension.
This just uses a pair of std::map and is not so great in the space overhead department, but it's fast enough and not really performance critical anyway.
|
private |
|
private |
| ARDOUR::URIMap::URIMap | ( | ) |
|
delete |
| const char* ARDOUR::URIMap::id_to_uri | ( | uint32_t | id | ) | const |
|
static |
| uint32_t ARDOUR::URIMap::uri_to_id | ( | const char * | uri | ) |
|
private |
|
private |