Ardour
9.0-pre0-582-g084a23a80d
|
#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 Public Member Functions inherited from int62_t | |
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 Public Attributes inherited from int62_t | |
static const int64_t | max = 4611686018427387903 |
static const int64_t | min = -2305843009213693952 |
Static Protected Member Functions inherited from int62_t | |
static int64_t | int62 (int64_t v) |
static bool | flagged (int64_t v) |
Protected Attributes inherited from int62_t | |
std::atomic< int64_t > | v |
Static Protected Attributes inherited from int62_t | |
static const int64_t | flagbit_mask = (1LL<<62) |
Definition at line 55 of file timeline.h.
|
inline |
Definition at line 57 of file timeline.h.
|
inline |
Definition at line 58 of file timeline.h.
|
explicit |
|
inlineexplicit |
Definition at line 63 of file timeline.h.
|
explicit |
|
inlineexplicitprivate |
Definition at line 246 of file timeline.h.
|
inlineexplicitprivate |
Definition at line 247 of file timeline.h.
|
private |
|
private |
|
private |
|
inline |
Definition at line 92 of file timeline.h.
|
inline |
Definition at line 192 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 73 of file timeline.h.
|
inlinestatic |
Definition at line 74 of file timeline.h.
|
inline |
Definition at line 200 of file timeline.h.
|
inline |
Definition at line 78 of file timeline.h.
|
inline |
Definition at line 82 of file timeline.h.
|
inline |
Definition at line 81 of file timeline.h.
|
inline |
Definition at line 79 of file timeline.h.
|
inline |
Definition at line 83 of file timeline.h.
|
inlinestatic |
Definition at line 239 of file timeline.h.
|
inline |
Definition at line 84 of file timeline.h.
|
inline |
Definition at line 230 of file timeline.h.
|
inline |
Definition at line 231 of file timeline.h.
|
inline |
Definition at line 102 of file timeline.h.
Definition at line 116 of file timeline.h.
timepos_t& Temporal::timepos_t::operator+= | ( | Temporal::BBT_Offset const & | ) |
|
inline |
Definition at line 98 of file timeline.h.
Definition at line 274 of file timeline.h.
|
inlineprivate |
Definition at line 275 of file timeline.h.
|
inline |
Definition at line 220 of file timeline.h.
|
inline |
Definition at line 221 of file timeline.h.
bool Temporal::timepos_t::operator< | ( | timecnt_t const & | other | ) | const |
|
inline |
Definition at line 110 of file timeline.h.
|
inline |
Definition at line 222 of file timeline.h.
|
inline |
Definition at line 223 of file timeline.h.
bool Temporal::timepos_t::operator<= | ( | timecnt_t const & | other | ) | const |
|
inline |
Definition at line 112 of file timeline.h.
Definition at line 95 of file timeline.h.
|
inline |
Definition at line 96 of file timeline.h.
|
inline |
Definition at line 228 of file timeline.h.
|
inline |
Definition at line 229 of file timeline.h.
|
inline |
Definition at line 101 of file timeline.h.
|
inline |
Definition at line 224 of file timeline.h.
|
inline |
Definition at line 225 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 226 of file timeline.h.
|
inline |
Definition at line 227 of file timeline.h.
bool Temporal::timepos_t::operator>= | ( | timecnt_t const & | other | ) | const |
|
inline |
Definition at line 113 of file timeline.h.
|
inline |
Definition at line 90 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 240 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 89 of file timeline.h.
|
inline |
Definition at line 91 of file timeline.h.
|
inline |
Definition at line 86 of file timeline.h.
|
inlinestatic |
Definition at line 76 of file timeline.h.