Ardour  8.7-14-g57a6773833
ARDOUR::Region::RegionGroupRetainer Struct Reference

#include <region.h>

Public Member Functions

 RegionGroupRetainer ()
 
 ~RegionGroupRetainer ()
 

Public Attributes

bool _clear_on_destruction
 

Detailed Description

Region Groups: every region has a group-id. regions that have the same group-id (excepting zero) are 'grouped' if you select a 'grouped' region, then all other regions in the group will be selected operations like Import, Record, and Paste assign a group-id to the new regions they create users can explicitly group regions, which implies a stronger connection and gets the 'explicit' flag users can explicitly ungroup regions, which prevents ardour from applying equivalent-regions logic regions with no flags and no group-id (prior sessions) will revert to equivalent-regions logic RegionGroupRetainer is an RAII construct to retain a group-id for the length of an operation that creates regions

Definition at line 182 of file ardour/ardour/region.h.

Constructor & Destructor Documentation

◆ RegionGroupRetainer()

ARDOUR::Region::RegionGroupRetainer::RegionGroupRetainer ( )
inline

Definition at line 183 of file ardour/ardour/region.h.

◆ ~RegionGroupRetainer()

ARDOUR::Region::RegionGroupRetainer::~RegionGroupRetainer ( )
inline

Definition at line 196 of file ardour/ardour/region.h.

Member Data Documentation

◆ _clear_on_destruction

bool ARDOUR::Region::RegionGroupRetainer::_clear_on_destruction

Definition at line 205 of file ardour/ardour/region.h.


The documentation for this struct was generated from the following file: