Ardour
9.0-pre0-582-g084a23a80d
|
#include <beats.h>
Public Member Functions | |
DoubleableBeats (Beats const &b) | |
double | to_double () const |
Public Member Functions inherited from Temporal::Beats | |
Beats () | |
Beats (const Beats &other) | |
Beats (int64_t b, int64_t t) | |
int64_t | to_ticks () const |
int64_t | to_ticks (uint32_t ppqn) const |
int64_t | get_beats () const |
int32_t | get_ticks () const |
Beats & | operator= (double time) |
Beats & | operator= (const Beats &other) |
Beats | round_up_to_multiple (Beats const &multiple) const |
Beats | round_to_multiple (Beats const &multiple) const |
Beats | round_down_to_multiple (Beats const &multiple) const |
Beats | round_to_beat () const |
Beats | round_up_to_beat () const |
Beats | round_down_to_beat () const |
Beats | prev_beat () const |
Beats | next_beat () const |
Beats | round_to_subdivision (int subdivision, RoundMode dir) const |
Beats | abs () const |
Beats | diff (Beats const &other) const |
bool | operator== (const Beats &b) const |
bool | operator== (int beats) const |
bool | operator!= (const Beats &b) const |
bool | operator< (const Beats &b) const |
bool | operator<= (const Beats &b) const |
bool | operator> (const Beats &b) const |
bool | operator>= (const Beats &b) const |
Beats | operator+ (const Beats &b) const |
Beats | operator- (const Beats &b) const |
Beats | operator- () const |
Beats | operator* (int32_t factor) const |
Beats | operator/ (int32_t factor) const |
Beats | operator* (ratio_t const &factor) const |
Beats | operator/ (ratio_t const &factor) const |
Beats | operator% (Beats const &b) const |
Beats | operator%= (Beats const &b) |
Beats | operator/ (Beats const &other) const |
Beats | operator* (Beats const &other) const |
Beats & | operator+= (const Beats &b) |
Beats & | operator-= (const Beats &b) |
bool | operator! () const |
operator bool () const | |
std::string | str () const |
Additional Inherited Members | |
Static Public Member Functions inherited from Temporal::Beats | |
static Beats | from_double (double beats) |
static Beats | beats (int64_t beats) |
static Beats | ticks (int64_t ticks) |
static Beats | ticks_at_rate (int64_t ticks, uint32_t ppqn) |
static Beats | one_tick () |
Static Public Attributes inherited from Temporal::Beats | |
static const int32_t | PPQN = Temporal::ticks_per_beat |
Protected Attributes inherited from Temporal::Beats | |
int64_t | _ticks |
|
inline |
|
inline |