Ardour  9.0-pre0-582-g084a23a80d
TimeSelection Class Reference

#include <time_selection.h>

Inheritance diagram for TimeSelection:
[legend]

Public Member Functions

ARDOUR::TimelineRangeoperator[] (uint32_t)
 
ARDOUR::samplepos_t start_sample () const
 
ARDOUR::samplepos_t end_sample () const
 
ARDOUR::samplepos_t length_samples () const
 
Temporal::timepos_t start_time () const
 
Temporal::timepos_t end_time () const
 
Temporal::timecnt_t length () const
 
void set (Temporal::timepos_t const &, Temporal::timepos_t const &)
 
bool consolidate ()
 

Detailed Description

Definition at line 29 of file time_selection.h.

Member Function Documentation

◆ consolidate()

bool TimeSelection::consolidate ( )

◆ end_sample()

ARDOUR::samplepos_t TimeSelection::end_sample ( ) const

◆ end_time()

Temporal::timepos_t TimeSelection::end_time ( ) const

◆ length()

Temporal::timecnt_t TimeSelection::length ( ) const

◆ length_samples()

ARDOUR::samplepos_t TimeSelection::length_samples ( ) const

◆ operator[]()

ARDOUR::TimelineRange& TimeSelection::operator[] ( uint32_t  )

◆ set()

void TimeSelection::set ( Temporal::timepos_t const &  ,
Temporal::timepos_t const &   
)

◆ start_sample()

ARDOUR::samplepos_t TimeSelection::start_sample ( ) const

◆ start_time()

Temporal::timepos_t TimeSelection::start_time ( ) const

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