Ardour  9.0-pre0-582-g084a23a80d
ARDOUR::TimelineRange Struct Reference

#include <types.h>

Inheritance diagram for ARDOUR::TimelineRange:
[legend]

Public Member Functions

 TimelineRange (Temporal::timepos_t const &s, Temporal::timepos_t e, uint32_t i)
 
samplecnt_t length_samples () const
 
bool operator== (const TimelineRange &other) const
 
bool equal (const TimelineRange &other) const
 
- Public Member Functions inherited from Temporal::Range
 Range (timepos_t const &s, timepos_t const &e)
 
 Range (samplepos_t const s, samplepos_t const e)
 
bool empty () const
 
timecnt_t length () const
 
RangeList subtract (RangeList &) const
 
void set_start (timepos_t s)
 
void set_end (timepos_t e)
 
timepos_t start () const
 
timepos_t end () const
 
bool operator== (Range const &other) const
 
void force_to_samples ()
 
timepos_t squish (timepos_t const &t) const
 
OverlapType coverage (timepos_t const &s, timepos_t const &e) const
 
void dump (std::ostream &ostr) const
 

Public Attributes

uint32_t id
 

Detailed Description

Definition at line 393 of file ardour/ardour/types.h.

Constructor & Destructor Documentation

◆ TimelineRange()

ARDOUR::TimelineRange::TimelineRange ( Temporal::timepos_t const &  s,
Temporal::timepos_t  e,
uint32_t  i 
)
inline

Definition at line 397 of file ardour/ardour/types.h.

Member Function Documentation

◆ equal()

bool ARDOUR::TimelineRange::equal ( const TimelineRange other) const
inline

Definition at line 405 of file ardour/ardour/types.h.

◆ length_samples()

samplecnt_t ARDOUR::TimelineRange::length_samples ( ) const
inline

Definition at line 399 of file ardour/ardour/types.h.

◆ operator==()

bool ARDOUR::TimelineRange::operator== ( const TimelineRange other) const
inline

Definition at line 401 of file ardour/ardour/types.h.

Member Data Documentation

◆ id

uint32_t ARDOUR::TimelineRange::id

Definition at line 395 of file ardour/ardour/types.h.


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