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

Cached URIDs for fast access (for use in real-time code). More...

#include <Lv2UridCache.h>

Classes

struct  IdForType
struct  IdForType< float >
struct  IdForType< std::int32_t >

Public Types

enum class  Id {
  atom_Float , atom_Int , bufsz_minBlockLength , bufsz_maxBlockLength ,
  bufsz_nominalBlockLength , bufsz_sequenceSize , midi_MidiEvent , param_sampleRate ,
  size
}
 < ID for m_uridCache array More...

Public Member Functions

uint32_t operator[] (Id id) const
 Return URID for a cache ID.
 Lv2UridCache (class UridMap &mapper)

Private Attributes

uint32_t m_cache [static_cast< int >(Id::size)]

Detailed Description

Cached URIDs for fast access (for use in real-time code).

Member Enumeration Documentation

◆ Id

enum class lmms::Lv2UridCache::Id
strong

< ID for m_uridCache array

Enumerator
atom_Float 
atom_Int 
bufsz_minBlockLength 
bufsz_maxBlockLength 
bufsz_nominalBlockLength 
bufsz_sequenceSize 
midi_MidiEvent 
param_sampleRate 
size 

Constructor & Destructor Documentation

◆ Lv2UridCache()

lmms::Lv2UridCache::Lv2UridCache ( class UridMap & mapper)

Member Function Documentation

◆ operator[]()

uint32_t lmms::Lv2UridCache::operator[] ( Lv2UridCache::Id id) const

Return URID for a cache ID.

Member Data Documentation

◆ m_cache

uint32_t lmms::Lv2UridCache::m_cache[static_cast< int >(Id::size)]
private

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