|
LMMS
|
#include <Lv2Features.h>
Public Member Functions | |
| Lv2Features () | |
| void | initCommon () |
| Register only plugin-common features. | |
| void *& | operator[] (const char *featName) |
| Return reference to feature data with given URI featName. | |
| void | createFeatureVectors () |
| Fill m_features and m_featurePointers with all features. | |
| const LV2_Feature *const * | featurePointers () const |
| Return LV2_Feature pointer vector, suited for lilv_plugin_instantiate. | |
| void | clear () |
| Clear everything. | |
Static Public Member Functions | |
| static bool | isFeatureSupported (const char *featName) |
| Return if a feature is supported by LMMS. | |
Private Attributes | |
| std::vector< LV2_Feature > | m_features |
| feature storage | |
| std::vector< const LV2_Feature * > | m_featurePointers |
| pointers to m_features, required for lilv_plugin_instantiate | |
| std::map< std::string_view, void * > | m_featureByUri |
| features + data, ordered by URI | |
Feature container
References all available features for a plugin and maps them to their URIs.
The public member functions should be called in descending order:
| lmms::Lv2Features::Lv2Features | ( | ) |
| void lmms::Lv2Features::clear | ( | ) |
Clear everything.
| void lmms::Lv2Features::createFeatureVectors | ( | ) |
Fill m_features and m_featurePointers with all features.
|
inline |
Return LV2_Feature pointer vector, suited for lilv_plugin_instantiate.
| void lmms::Lv2Features::initCommon | ( | ) |
Register only plugin-common features.
|
static |
Return if a feature is supported by LMMS.
Return reference to feature data with given URI featName.
|
private |
features + data, ordered by URI
|
private |
pointers to m_features, required for lilv_plugin_instantiate
|
private |
feature storage