![]() |
Ardour
8.12
|
#include <timeline.h>
Static Public Member Functions | |
static timepos_t | from_superclock (superclock_t s) |
static timepos_t | from_ticks (int64_t t) |
static timepos_t | zero (bool is_beats) |
static timepos_t | max (TimeDomain td) |
static timepos_t | smallest_step (TimeDomain td) |
![]() | |
static int64_t | build (bool flag, int64_t v) |
Private Member Functions | |
timepos_t (bool b, int64_t v) | |
timepos_t (int62_t const &v) | |
superclock_t | _superclocks () const |
int64_t | _ticks () const |
Beats | _beats () const |
bool | expensive_lt (timepos_t const &) const |
bool | expensive_lte (timepos_t const &) const |
bool | expensive_gt (timepos_t const &) const |
bool | expensive_gte (timepos_t const &) const |
bool | expensive_lt (timecnt_t const &) const |
bool | expensive_lte (timecnt_t const &) const |
bool | expensive_gt (timecnt_t const &) const |
bool | expensive_gte (timecnt_t const &) const |
timecnt_t | expensive_distance (timepos_t const &p) const |
timepos_t | expensive_add (timepos_t const &s) const |
int62_t | operator- (int62_t) const |
int62_t | operator- (int64_t) const |
int62_t & | operator-= (int64_t n) |
int62_t & | operator-= (int62_t n) |
Additional Inherited Members | |
![]() | |
static const int64_t | max = 4611686018427387903 |
static const int64_t | min = -2305843009213693952 |
![]() | |
static int64_t | int62 (int64_t v) |
static bool | flagged (int64_t v) |
![]() | |
std::atomic< int64_t > | v |
![]() | |
static const int64_t | flagbit_mask = (1LL<<62) |
Definition at line 56 of file timeline.h.
|
inline |
Definition at line 58 of file timeline.h.
|
inline |
Definition at line 59 of file timeline.h.
|
explicit |
|
inlineexplicit |
Definition at line 64 of file timeline.h.
|
explicit |
|
inlineexplicitprivate |
Definition at line 247 of file timeline.h.
|
inlineexplicitprivate |
Definition at line 248 of file timeline.h.
|
private |
|
private |
|
private |
|
inline |
Definition at line 93 of file timeline.h.
|
inline |
Definition at line 193 of file timeline.h.
Compute the distance between this timepos_t and p
such that: this + distance = p
This means that if p
is later than this, distance is positive; if p
is earlier than this, distance is negative.
Note that the return value is a timecnt_t whose position member is equal to the value of this. That means if the distance uses musical time value, the distance may not have constant value at other positions on the timeline.
p
timepos_t Temporal::timepos_t::earlier | ( | BBT_Offset const & | d | ) | const |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
inlinestatic |
Definition at line 74 of file timeline.h.
|
inlinestatic |
Definition at line 75 of file timeline.h.
|
inline |
Definition at line 201 of file timeline.h.
|
inline |
Definition at line 79 of file timeline.h.
|
inline |
Definition at line 83 of file timeline.h.
|
inline |
Definition at line 82 of file timeline.h.
|
inline |
Definition at line 80 of file timeline.h.
|
inline |
Definition at line 84 of file timeline.h.
|
inlinestatic |
Definition at line 240 of file timeline.h.
|
inline |
Definition at line 85 of file timeline.h.
|
inline |
Definition at line 231 of file timeline.h.
|
inline |
Definition at line 232 of file timeline.h.
|
inline |
Definition at line 103 of file timeline.h.
Definition at line 117 of file timeline.h.
timepos_t& Temporal::timepos_t::operator+= | ( | Temporal::BBT_Offset const & | ) |
|
inline |
Definition at line 99 of file timeline.h.
Definition at line 275 of file timeline.h.
|
inlineprivate |
Definition at line 276 of file timeline.h.
|
inline |
Definition at line 221 of file timeline.h.
|
inline |
Definition at line 222 of file timeline.h.
bool Temporal::timepos_t::operator< | ( | timecnt_t const & | other | ) | const |
|
inline |
Definition at line 111 of file timeline.h.
|
inline |
Definition at line 223 of file timeline.h.
|
inline |
Definition at line 224 of file timeline.h.
bool Temporal::timepos_t::operator<= | ( | timecnt_t const & | other | ) | const |
|
inline |
Definition at line 113 of file timeline.h.
Definition at line 96 of file timeline.h.
|
inline |
Definition at line 97 of file timeline.h.
|
inline |
Definition at line 229 of file timeline.h.
|
inline |
Definition at line 230 of file timeline.h.
|
inline |
Definition at line 102 of file timeline.h.
|
inline |
Definition at line 225 of file timeline.h.
|
inline |
Definition at line 226 of file timeline.h.
bool Temporal::timepos_t::operator> | ( | timecnt_t const & | other | ) | const |
|
inline |
Definition at line 112 of file timeline.h.
|
inline |
Definition at line 227 of file timeline.h.
|
inline |
Definition at line 228 of file timeline.h.
bool Temporal::timepos_t::operator>= | ( | timecnt_t const & | other | ) | const |
|
inline |
Definition at line 114 of file timeline.h.
|
inline |
Definition at line 91 of file timeline.h.
void Temporal::timepos_t::set_time_domain | ( | Temporal::TimeDomain | ) |
timepos_t& Temporal::timepos_t::shift_earlier | ( | Temporal::BBT_Offset const & | ) |
|
inlinestatic |
Definition at line 241 of file timeline.h.
std::string Temporal::timepos_t::str | ( | ) | const |
bool Temporal::timepos_t::string_to | ( | std::string const & | str | ) |
|
inline |
Definition at line 90 of file timeline.h.
|
inline |
Definition at line 92 of file timeline.h.
|
inline |
Definition at line 87 of file timeline.h.
|
inlinestatic |
Definition at line 77 of file timeline.h.