Ardour  9.0-pre0-582-g084a23a80d
Temporal::GridIterator Class Reference

#include <tempo.h>

Public Member Functions

 GridIterator ()
 
 GridIterator (TempoMap const &m, TempoPoint const *tp, MeterPoint const *mp, superclock_t sc, Beats const &b, BBT_Time const &bb, Points::const_iterator p, superclock_t e, uint32_t bmod, uint32_t bdiv)
 
void set (TempoMap const &m, TempoPoint const *tp, MeterPoint const *mp, superclock_t sc, Beats const &b, BBT_Time const &bb, Points::const_iterator p, superclock_t e, uint32_t bmod, uint32_t bdiv)
 
bool valid_for (TempoMap const &map, superclock_t start, uint32_t bar_mod, uint32_t beat_div) const
 
void catch_up_to (superclock_t e)
 
void invalidate ()
 

Public Attributes

superclock_t sclock
 
Beats beats
 
BBT_Time bbt
 
TempoPoint const * tempo
 
MeterPoint const * meter
 
Points::const_iterator points_iterator
 
superclock_t end
 
uint32_t bar_mod
 
uint32_t beat_div
 

Private Attributes

bool valid
 
TempoMap const * map
 

Detailed Description

Definition at line 614 of file temporal/temporal/tempo.h.

Constructor & Destructor Documentation

◆ GridIterator() [1/2]

Temporal::GridIterator::GridIterator ( )
inline

Definition at line 617 of file temporal/temporal/tempo.h.

◆ GridIterator() [2/2]

Temporal::GridIterator::GridIterator ( TempoMap const &  m,
TempoPoint const *  tp,
MeterPoint const *  mp,
superclock_t  sc,
Beats const &  b,
BBT_Time const &  bb,
Points::const_iterator  p,
superclock_t  e,
uint32_t  bmod,
uint32_t  bdiv 
)
inline

Definition at line 618 of file temporal/temporal/tempo.h.

Member Function Documentation

◆ catch_up_to()

void Temporal::GridIterator::catch_up_to ( superclock_t  e)
inline

Definition at line 650 of file temporal/temporal/tempo.h.

◆ invalidate()

void Temporal::GridIterator::invalidate ( )
inline

Definition at line 651 of file temporal/temporal/tempo.h.

◆ set()

void Temporal::GridIterator::set ( TempoMap const &  m,
TempoPoint const *  tp,
MeterPoint const *  mp,
superclock_t  sc,
Beats const &  b,
BBT_Time const &  bb,
Points::const_iterator  p,
superclock_t  e,
uint32_t  bmod,
uint32_t  bdiv 
)
inline

Definition at line 635 of file temporal/temporal/tempo.h.

◆ valid_for()

bool Temporal::GridIterator::valid_for ( TempoMap const &  map,
superclock_t  start,
uint32_t  bar_mod,
uint32_t  beat_div 
) const

Member Data Documentation

◆ bar_mod

uint32_t Temporal::GridIterator::bar_mod

Definition at line 682 of file temporal/temporal/tempo.h.

◆ bbt

BBT_Time Temporal::GridIterator::bbt

Definition at line 657 of file temporal/temporal/tempo.h.

◆ beat_div

uint32_t Temporal::GridIterator::beat_div

Definition at line 683 of file temporal/temporal/tempo.h.

◆ beats

Beats Temporal::GridIterator::beats

Definition at line 656 of file temporal/temporal/tempo.h.

◆ end

superclock_t Temporal::GridIterator::end

Definition at line 674 of file temporal/temporal/tempo.h.

◆ map

TempoMap const* Temporal::GridIterator::map
private

Definition at line 688 of file temporal/temporal/tempo.h.

◆ meter

MeterPoint const* Temporal::GridIterator::meter

Definition at line 663 of file temporal/temporal/tempo.h.

◆ points_iterator

Points::const_iterator Temporal::GridIterator::points_iterator

Definition at line 668 of file temporal/temporal/tempo.h.

◆ sclock

superclock_t Temporal::GridIterator::sclock

Definition at line 655 of file temporal/temporal/tempo.h.

◆ tempo

TempoPoint const* Temporal::GridIterator::tempo

Definition at line 662 of file temporal/temporal/tempo.h.

◆ valid

bool Temporal::GridIterator::valid
private

Definition at line 686 of file temporal/temporal/tempo.h.


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