Lv2: Add/improve some comments

This commit is contained in:
Johannes Lorenz
2022-12-01 15:17:27 +01:00
committed by Johannes Lorenz
parent f48dd0fb1f
commit 49a6abb343
2 changed files with 6 additions and 2 deletions

View File

@@ -131,6 +131,8 @@ public:
private:
//! models for the controls
//! @note The AutomatableModels behind the ModelInfo are not owned,
//! but referenced after `addModel` is being called.
std::map<std::string, ModelInfo> m_models;
};

View File

@@ -59,8 +59,8 @@ namespace Lv2Ports
}
//! Class representing one Lv2 processor, i.e. one Lv2 handle
//! For Mono effects, 1 Lv2ControlBase references 2 Lv2Proc
//! Class representing one Lv2 processor, i.e. one Lv2 handle.
//! For Mono effects, 1 Lv2ControlBase references 2 Lv2Proc.
class Lv2Proc : public LinkedModelGroup
{
public:
@@ -197,6 +197,8 @@ private:
static int32_t defaultEvbufSize() { return 1 << 15; /* ardour uses this*/ }
//! models for the controls, sorted by port symbols
//! @note These are not owned, but rather link to the models in
//! ControlPorts in `m_ports`
std::map<std::string, AutomatableModel *> m_connectedModels;
void initMOptions(); //!< initialize m_options