LMMS
Loading...
Searching...
No Matches
lmms::LinkedModelGroups Class Referenceabstract

#include <LinkedModelGroups.h>

Inheritance diagram for lmms::LinkedModelGroups:
lmms::Lv2ControlBase lmms::Lv2FxControls lmms::Lv2Instrument

Public Member Functions

virtual ~LinkedModelGroups ()=default
void linkAllModels ()
void saveSettings (class QDomDocument &doc, class QDomElement &that)
void loadSettings (const class QDomElement &that)
virtual LinkedModelGroupgetGroup (std::size_t idx)=0
virtual const LinkedModelGroupgetGroup (std::size_t idx) const =0

Detailed Description

Container for a group of linked models

Each group contains the same models and model types. The models are numbered, and equal numbered models are associated and always linked.

A typical application are two mono plugins making a stereo plugin.

Note
Though this class can contain multiple model groups, a corresponding view ("LinkedModelGroupViews") will only display one group, as they all have the same values
Though called "container", this class does not contain, but only know the single groups. The inheriting classes are responsible for storage.

Constructor & Destructor Documentation

◆ ~LinkedModelGroups()

virtual lmms::LinkedModelGroups::~LinkedModelGroups ( )
virtualdefault

Member Function Documentation

◆ getGroup() [1/2]

virtual const LinkedModelGroup * lmms::LinkedModelGroups::getGroup ( std::size_t idx) const
pure virtual
See also
getGroup

Implemented in lmms::Lv2ControlBase.

◆ getGroup() [2/2]

virtual LinkedModelGroup * lmms::LinkedModelGroups::getGroup ( std::size_t idx)
pure virtual

Derived classes must return the group with index idx, or nullptr if is out of range

Implemented in lmms::Lv2ControlBase.

◆ linkAllModels()

void lmms::LinkedModelGroups::linkAllModels ( )

◆ loadSettings()

void lmms::LinkedModelGroups::loadSettings ( const class QDomElement & that)

◆ saveSettings()

void lmms::LinkedModelGroups::saveSettings ( class QDomDocument & doc,
class QDomElement & that )

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