Audacity 3.2.0
|
#include <LV2FeaturesList.h>
Public Member Functions | |
LV2FeaturesList (const LilvPlugin &plug) | |
~LV2FeaturesList () override | |
bool | InitializeFeatures () |
FeaturePointers | GetFeaturePointers () const override |
bool | SuppliesWorkerInterface () const |
void | AddFeature (const char *uri, const void *data) |
LV2_URID_Map * | URIDMapFeature () const |
LV2_URID | URID_Map (const char *uri) const |
Public Member Functions inherited from LV2FeaturesListBase | |
LV2FeaturesListBase (const LilvPlugin &plug) | |
virtual | ~LV2FeaturesListBase () |
LV2FeaturesListBase (const LV2FeaturesListBase &)=delete | |
LV2FeaturesListBase & | operator= (const LV2FeaturesListBase &)=delete |
virtual FeaturePointers | GetFeaturePointers () const =0 |
bool | ValidateFeatures (const LilvNode *subject) |
bool | CheckFeatures (const LilvNode *subject, bool required) |
Static Public Member Functions | |
static ComponentInterfaceSymbol | GetPluginSymbol (const LilvPlugin &plug) |
static bool | SuppliesWorkerInterface (const LilvPlugin &plug) |
Public Attributes | |
const bool | mOk |
Public Attributes inherited from LV2FeaturesListBase | |
const LilvPlugin & | mPlug |
bool | mNoResize { false } |
Protected Member Functions | |
const char * | URID_Unmap (LV2_URID urid) |
int | LogVPrintf (LV2_URID type, const char *fmt, va_list ap) |
Static Protected Member Functions | |
static uint32_t | uri_to_id (LV2_URI_Map_Callback_Data callback_data, const char *map, const char *uri) |
static LV2_URID | urid_map (LV2_URID_Map_Handle handle, const char *uri) |
static const char * | urid_unmap (LV2_URID_Unmap_Handle handle, LV2_URID urid) |
static int | log_printf (LV2_Log_Handle handle, LV2_URID type, const char *fmt,...) |
static int | log_vprintf (LV2_Log_Handle handle, LV2_URID type, const char *fmt, va_list ap) |
Protected Attributes | |
const LV2_URI_Map_Feature | mUriMapFeature |
const LV2_URID_Map | mURIDMapFeature { this, LV2FeaturesList::urid_map } |
const LV2_URID_Unmap | mURIDUnmapFeature { this, LV2FeaturesList::urid_unmap } |
const LV2_Log_Log | mLogFeature |
LV2Symbols::URIDMap | mURIDMap |
Per-effect URID map allocates an ID for each URI on first lookup. More... | |
std::vector< LV2_Feature > | mFeatures |
const bool | mSuppliesWorkerInterface |
Additional Inherited Members | |
Public Types inherited from LV2FeaturesListBase | |
using | FeaturePointers = std::vector< const LV2_Feature * > |
Get vector of pointers to features, whose .data() can be passed to lv2. More... | |
Definition at line 79 of file LV2FeaturesList.h.
|
explicit |
Definition at line 71 of file LV2FeaturesList.cpp.
|
overridedefault |
void LV2FeaturesList::AddFeature | ( | const char * | uri, |
const void * | data | ||
) |
Definition at line 111 of file LV2FeaturesList.cpp.
References mFeatures.
Referenced by InitializeFeatures().
|
overridevirtual |
Implements LV2FeaturesListBase.
Definition at line 119 of file LV2FeaturesList.cpp.
References mFeatures.
|
static |
Definition at line 62 of file LV2FeaturesList.cpp.
References LilvStringMove().
Referenced by LV2EffectBase::GetSymbol(), and LogVPrintf().
bool LV2FeaturesList::InitializeFeatures | ( | ) |
Definition at line 78 of file LV2FeaturesList.cpp.
References AddFeature(), LV2_EXTERNAL_UI__Widget, LV2_UI__makeResident, mLogFeature, mURIDMapFeature, mURIDUnmapFeature, and mUriMapFeature.
|
staticprotected |
Definition at line 220 of file LV2FeaturesList.cpp.
References LogVPrintf().
|
staticprotected |
Definition at line 234 of file LV2FeaturesList.cpp.
References LogVPrintf().
|
protected |
Definition at line 240 of file LV2FeaturesList.cpp.
References GetPluginSymbol(), LV2FeaturesListBase::mPlug, and wxT().
Referenced by log_printf(), and log_vprintf().
|
inline |
Definition at line 97 of file LV2FeaturesList.h.
|
static |
Definition at line 97 of file LV2FeaturesList.cpp.
|
staticprotected |
Definition at line 172 of file LV2FeaturesList.cpp.
References URID_Map().
LV2_URID LV2FeaturesList::URID_Map | ( | const char * | uri | ) | const |
Definition at line 184 of file LV2FeaturesList.cpp.
References LV2Symbols::gURIDMap, LV2Symbols::Lookup_URI(), and mURIDMap.
Referenced by uri_to_id(), and urid_map().
|
staticprotected |
Definition at line 179 of file LV2FeaturesList.cpp.
References URID_Map().
|
protected |
Definition at line 204 of file LV2FeaturesList.cpp.
References LV2Symbols::gURIDMap, and mURIDMap.
Referenced by urid_unmap().
|
staticprotected |
Definition at line 199 of file LV2FeaturesList.cpp.
References URID_Unmap().
|
inline |
Definition at line 103 of file LV2FeaturesList.h.
Referenced by LV2EffectBase::LoadFactoryPreset(), and LV2Instance::LV2Instance().
|
protected |
Definition at line 137 of file LV2FeaturesList.h.
Referenced by AddFeature(), and GetFeaturePointers().
|
protected |
Definition at line 126 of file LV2FeaturesList.h.
Referenced by InitializeFeatures().
const bool LV2FeaturesList::mOk |
Definition at line 142 of file LV2FeaturesList.h.
Referenced by LV2EffectBase::InitializePlugin().
|
protected |
Definition at line 139 of file LV2FeaturesList.h.
|
mutableprotected |
Per-effect URID map allocates an ID for each URI on first lookup.
This is some state shared among all instances of an effect, but logically const as a mapping, assuming all reverse lookups of any urid (integer) are done only after at least one lookup of the related uri (string)
Definition at line 135 of file LV2FeaturesList.h.
Referenced by URID_Map(), and URID_Unmap().
|
protected |
Definition at line 124 of file LV2FeaturesList.h.
Referenced by InitializeFeatures().
|
protected |
Definition at line 125 of file LV2FeaturesList.h.
Referenced by InitializeFeatures().
|
protected |
Definition at line 122 of file LV2FeaturesList.h.
Referenced by InitializeFeatures().