Ardour  8.7-15-gadf511264b
ARDOUR::SegmentDescriptor Class Reference

#include <segment_descriptor.h>

Public Member Functions

 SegmentDescriptor ()
 
 SegmentDescriptor (XMLNode const &, int version)
 
Temporal::TimeDomain time_domain () const
 
void set_position (Temporal::samplepos_t)
 
void set_position (Temporal::Beats const &)
 
void set_duration (Temporal::samplecnt_t)
 
void set_duration (Temporal::Beats const &)
 
void set_extent (Temporal::samplepos_t pos, Temporal::samplecnt_t dur)
 
void set_extent (Temporal::Beats const &pos, Temporal::Beats const &dur)
 
Temporal::timecnt_t extent () const
 
Temporal::timepos_t position () const
 
Temporal::Tempo tempo () const
 
void set_tempo (Temporal::Tempo const &)
 
Temporal::Meter meter () const
 
void set_meter (Temporal::Meter const &)
 
XMLNodeget_state () const
 
int set_state (const XMLNode &, int version)
 

Private Attributes

Temporal::TimeDomain _time_domain
 
Temporal::samplepos_t _position_samples
 
Temporal::Beats _position_beats
 
Temporal::samplepos_t _duration_samples
 
Temporal::Beats _duration_beats
 
Temporal::Tempo _tempo
 
Temporal::Meter _meter
 

Detailed Description

Definition at line 34 of file segment_descriptor.h.

Constructor & Destructor Documentation

◆ SegmentDescriptor() [1/2]

ARDOUR::SegmentDescriptor::SegmentDescriptor ( )

◆ SegmentDescriptor() [2/2]

ARDOUR::SegmentDescriptor::SegmentDescriptor ( XMLNode const &  ,
int  version 
)

Member Function Documentation

◆ extent()

Temporal::timecnt_t ARDOUR::SegmentDescriptor::extent ( ) const

◆ get_state()

XMLNode& ARDOUR::SegmentDescriptor::get_state ( ) const

◆ meter()

Temporal::Meter ARDOUR::SegmentDescriptor::meter ( ) const
inline

Definition at line 61 of file segment_descriptor.h.

◆ position()

Temporal::timepos_t ARDOUR::SegmentDescriptor::position ( ) const
inline

Definition at line 56 of file segment_descriptor.h.

◆ set_duration() [1/2]

void ARDOUR::SegmentDescriptor::set_duration ( Temporal::Beats const &  )

◆ set_duration() [2/2]

void ARDOUR::SegmentDescriptor::set_duration ( Temporal::samplecnt_t  )

◆ set_extent() [1/2]

void ARDOUR::SegmentDescriptor::set_extent ( Temporal::Beats const &  pos,
Temporal::Beats const &  dur 
)

◆ set_extent() [2/2]

void ARDOUR::SegmentDescriptor::set_extent ( Temporal::samplepos_t  pos,
Temporal::samplecnt_t  dur 
)

◆ set_meter()

void ARDOUR::SegmentDescriptor::set_meter ( Temporal::Meter const &  )

◆ set_position() [1/2]

void ARDOUR::SegmentDescriptor::set_position ( Temporal::Beats const &  )

◆ set_position() [2/2]

void ARDOUR::SegmentDescriptor::set_position ( Temporal::samplepos_t  )

◆ set_state()

int ARDOUR::SegmentDescriptor::set_state ( const XMLNode ,
int  version 
)

◆ set_tempo()

void ARDOUR::SegmentDescriptor::set_tempo ( Temporal::Tempo const &  )

◆ tempo()

Temporal::Tempo ARDOUR::SegmentDescriptor::tempo ( ) const
inline

Definition at line 58 of file segment_descriptor.h.

◆ time_domain()

Temporal::TimeDomain ARDOUR::SegmentDescriptor::time_domain ( ) const
inline

Definition at line 44 of file segment_descriptor.h.

Member Data Documentation

◆ _duration_beats

Temporal::Beats ARDOUR::SegmentDescriptor::_duration_beats
private

Definition at line 79 of file segment_descriptor.h.

◆ _duration_samples

Temporal::samplepos_t ARDOUR::SegmentDescriptor::_duration_samples
private

Definition at line 78 of file segment_descriptor.h.

◆ _meter

Temporal::Meter ARDOUR::SegmentDescriptor::_meter
private

Definition at line 82 of file segment_descriptor.h.

◆ _position_beats

Temporal::Beats ARDOUR::SegmentDescriptor::_position_beats
private

Definition at line 77 of file segment_descriptor.h.

◆ _position_samples

Temporal::samplepos_t ARDOUR::SegmentDescriptor::_position_samples
private

Definition at line 76 of file segment_descriptor.h.

◆ _tempo

Temporal::Tempo ARDOUR::SegmentDescriptor::_tempo
private

Definition at line 81 of file segment_descriptor.h.

◆ _time_domain

Temporal::TimeDomain ARDOUR::SegmentDescriptor::_time_domain
private

Definition at line 70 of file segment_descriptor.h.


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