Ardour  8.7-15-gadf511264b
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 611 of file temporal/temporal/tempo.h.

Constructor & Destructor Documentation

◆ GridIterator() [1/2]

Temporal::GridIterator::GridIterator ( )
inline

Definition at line 614 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 615 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 647 of file temporal/temporal/tempo.h.

◆ invalidate()

void Temporal::GridIterator::invalidate ( )
inline

Definition at line 648 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 632 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 679 of file temporal/temporal/tempo.h.

◆ bbt

BBT_Time Temporal::GridIterator::bbt

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

◆ beat_div

uint32_t Temporal::GridIterator::beat_div

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

◆ beats

Beats Temporal::GridIterator::beats

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

◆ end

superclock_t Temporal::GridIterator::end

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

◆ map

TempoMap const* Temporal::GridIterator::map
private

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

◆ meter

MeterPoint const* Temporal::GridIterator::meter

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

◆ points_iterator

Points::const_iterator Temporal::GridIterator::points_iterator

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

◆ sclock

superclock_t Temporal::GridIterator::sclock

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

◆ tempo

TempoPoint const* Temporal::GridIterator::tempo

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

◆ valid

bool Temporal::GridIterator::valid
private

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


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