Ardour
9.0-pre0-582-g084a23a80d
|
#include <tempo.h>
Protected Attributes | |
TempoPoint const * | _tempo |
MeterPoint const * | _meter |
superclock_t | _reftime |
Helper class to perform computations that require both Tempo and Meter at a given point in time.
It may seem nicer to make this IS-A TempoPoint and IS-A MeterPoint. Doing so runs into multiple inheritance of Point, plus the major semantic issue that pairing a tempo and a meter does in fact allow for two positions, not one. That means we have to provide accessors to the TempoPoint and MeterPoint and thus it may as well be HAS-A rather than IS-A.
This object should always be short lived. It holds references to a TempoPoint and a MeterPoint that are not lifetime-managed. It's just a convenience object, in essence, to avoid having to replicate the computation code that requires both tempo and meter information every place it is used.
Definition at line 440 of file temporal/temporal/tempo.h.
Temporal::TempoMetric::TempoMetric | ( | TempoPoint const & | t, |
MeterPoint const & | m | ||
) |
|
inlinevirtual |
Definition at line 444 of file temporal/temporal/tempo.h.
|
inline |
Definition at line 471 of file temporal/temporal/tempo.h.
|
inline |
Definition at line 461 of file temporal/temporal/tempo.h.
BBT_Argument Temporal::TempoMetric::bbt_at | ( | timepos_t const & | ) | const |
|
inline |
Definition at line 472 of file temporal/temporal/tempo.h.
|
inline |
Definition at line 469 of file temporal/temporal/tempo.h.
|
inline |
Definition at line 464 of file temporal/temporal/tempo.h.
|
inline |
Definition at line 452 of file temporal/temporal/tempo.h.
|
inline |
Definition at line 451 of file temporal/temporal/tempo.h.
|
inline |
Definition at line 449 of file temporal/temporal/tempo.h.
|
inline |
Definition at line 468 of file temporal/temporal/tempo.h.
|
inline |
Definition at line 470 of file temporal/temporal/tempo.h.
Definition at line 460 of file temporal/temporal/tempo.h.
|
inline |
Definition at line 500 of file temporal/temporal/tempo.h.
|
inline |
Definition at line 501 of file temporal/temporal/tempo.h.
|
inline |
Definition at line 446 of file temporal/temporal/tempo.h.
|
inline |
Definition at line 473 of file temporal/temporal/tempo.h.
|
inline |
Definition at line 474 of file temporal/temporal/tempo.h.
|
inline |
Definition at line 459 of file temporal/temporal/tempo.h.
|
inline |
Definition at line 496 of file temporal/temporal/tempo.h.
superclock_t Temporal::TempoMetric::superclock_at | ( | BBT_Time const & | ) | const |
|
inline |
Definition at line 458 of file temporal/temporal/tempo.h.
|
inline |
Definition at line 479 of file temporal/temporal/tempo.h.
|
inline |
Definition at line 482 of file temporal/temporal/tempo.h.
|
inline |
Definition at line 463 of file temporal/temporal/tempo.h.
|
inline |
Definition at line 465 of file temporal/temporal/tempo.h.
|
inline |
Definition at line 486 of file temporal/temporal/tempo.h.
|
inline |
Definition at line 466 of file temporal/temporal/tempo.h.
|
inline |
Definition at line 448 of file temporal/temporal/tempo.h.
|
inline |
Definition at line 475 of file temporal/temporal/tempo.h.
|
protected |
Definition at line 505 of file temporal/temporal/tempo.h.
|
protected |
Definition at line 506 of file temporal/temporal/tempo.h.
|
protected |
Definition at line 504 of file temporal/temporal/tempo.h.