Ardour  9.0-pre0-350-gf17a656217
RegionSelection Class Reference

#include <region_selection.h>

Inheritance diagram for RegionSelection:
[legend]

Public Member Functions

 RegionSelection ()
 
 RegionSelection (const RegionSelection &)
 
RegionSelectionoperator= (const RegionSelection &)
 
bool add (RegionView *)
 
bool remove (RegionView *)
 
bool remove (std::vector< RegionView * >)
 
void sort_by_position_and_track ()
 
bool contains (RegionView *) const
 
bool contains (std::shared_ptr< ARDOUR::Region >) const
 
bool involves (const TimeAxisView &) const
 
void clear_all ()
 
Temporal::timepos_t start_time () const
 
Temporal::timepos_t end_time () const
 
const std::list< RegionView * > & by_layer () const
 
void by_position (std::list< RegionView * > &) const
 
void by_track (std::list< RegionView * > &) const
 
size_t n_midi_regions () const
 
ARDOUR::PlaylistSet playlists () const
 
ARDOUR::RegionList regionlist () const
 

Public Attributes

std::list< PBD::IDpending
 

Private Member Functions

void add_to_layer (RegionView *)
 

Private Attributes

std::list< RegionView * > _bylayer
 list of regions sorted by layer More...
 

Detailed Description

Class to represent list of selected regions.

Definition at line 40 of file region_selection.h.

Constructor & Destructor Documentation

◆ RegionSelection() [1/2]

RegionSelection::RegionSelection ( )

◆ RegionSelection() [2/2]

RegionSelection::RegionSelection ( const RegionSelection )

Member Function Documentation

◆ add()

bool RegionSelection::add ( RegionView )

◆ add_to_layer()

void RegionSelection::add_to_layer ( RegionView )
private

◆ by_layer()

const std::list<RegionView *>& RegionSelection::by_layer ( ) const
inline

Definition at line 62 of file region_selection.h.

◆ by_position()

void RegionSelection::by_position ( std::list< RegionView * > &  ) const

◆ by_track()

void RegionSelection::by_track ( std::list< RegionView * > &  ) const

◆ clear_all()

void RegionSelection::clear_all ( )

◆ contains() [1/2]

bool RegionSelection::contains ( RegionView ) const

◆ contains() [2/2]

bool RegionSelection::contains ( std::shared_ptr< ARDOUR::Region ) const

◆ end_time()

Temporal::timepos_t RegionSelection::end_time ( ) const

◆ involves()

bool RegionSelection::involves ( const TimeAxisView ) const

◆ n_midi_regions()

size_t RegionSelection::n_midi_regions ( ) const

◆ operator=()

RegionSelection& RegionSelection::operator= ( const RegionSelection )

◆ playlists()

ARDOUR::PlaylistSet RegionSelection::playlists ( ) const

◆ regionlist()

ARDOUR::RegionList RegionSelection::regionlist ( ) const

◆ remove() [1/2]

bool RegionSelection::remove ( RegionView )

◆ remove() [2/2]

bool RegionSelection::remove ( std::vector< RegionView * >  )

◆ sort_by_position_and_track()

void RegionSelection::sort_by_position_and_track ( )

◆ start_time()

Temporal::timepos_t RegionSelection::start_time ( ) const

Member Data Documentation

◆ _bylayer

std::list<RegionView *> RegionSelection::_bylayer
private

list of regions sorted by layer

Definition at line 76 of file region_selection.h.

◆ pending

std::list<PBD::ID> RegionSelection::pending

Definition at line 69 of file region_selection.h.


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