![]() |
Audacity 3.2.0
|
#include <LV2FeaturesList.h>
Public Types | |
| using | FeaturePointers = std::vector< const LV2_Feature * > |
Get vector of pointers to features, whose .data() can be passed to lv2. More... | |
Public Member Functions | |
| 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) |
Public Attributes | |
| const LilvPlugin & | mPlug |
| bool | mNoResize { false } |
Abstraction of a list of features, with a check for satisfaction of requirements of a given lv2 "subject"
Definition at line 33 of file LV2FeaturesList.h.
| using LV2FeaturesListBase::FeaturePointers = std::vector<const LV2_Feature *> |
Get vector of pointers to features, whose .data() can be passed to lv2.
Definition at line 42 of file LV2FeaturesList.h.
|
explicit |
Definition at line 67 of file LV2FeaturesList.cpp.
|
virtualdefault |
|
delete |
| bool LV2FeaturesListBase::CheckFeatures | ( | const LilvNode * | subject, |
| bool | required | ||
| ) |
| subject | URI of the host or of the UI identifies a resource in lv2 |
| required | whether to check required or optional features of subject |
!required or else all required features are supported Definition at line 133 of file LV2FeaturesList.cpp.
References details::end(), GetFeaturePointers(), LV2Symbols::gWorld, mNoResize, mPlug, and wxT().
Referenced by ValidateFeatures().
|
pure virtual |
Implemented in ExtendedLV2FeaturesList, and LV2FeaturesList.
Referenced by CheckFeatures(), and ExtendedLV2FeaturesList::GetFeaturePointers().
|
delete |
| bool LV2FeaturesListBase::ValidateFeatures | ( | const LilvNode * | subject | ) |
| subject | URI of the host or of the UI identifies a resource in lv2 |
Definition at line 128 of file LV2FeaturesList.cpp.
References CheckFeatures().
Referenced by LV2UIFeaturesList::InitializeFeatures().
| bool LV2FeaturesListBase::mNoResize { false } |
Definition at line 59 of file LV2FeaturesList.h.
Referenced by CheckFeatures(), and LV2Effect::ShowClientInterface().
| const LilvPlugin& LV2FeaturesListBase::mPlug |
Definition at line 58 of file LV2FeaturesList.h.
Referenced by CheckFeatures(), LV2InstanceFeaturesList::CheckOptions(), LV2Wrapper::Create(), LV2InstanceFeaturesList::InitializeOptions(), and LV2FeaturesList::LogVPrintf().