Ardour  9.0-pre0-344-g1b13bf607f
Temporal Namespace Reference

Classes

struct  BBT_Argument
 
struct  IllegalBBTTimeException
 
struct  BBT_Time
 
struct  BBT_Offset
 
class  Beats
 
class  DoubleableBeats
 
class  TimeDomainProvider
 
struct  TimeDomainSwapper
 
struct  DomainBounceInfo
 
class  Range
 
class  RangeList
 
struct  RangeMove
 
class  MapOwned
 
class  Point
 
class  Tempo
 
class  Meter
 
class  MeterPoint
 
class  TempoPoint
 
class  TempoMetric
 
class  MusicTimePoint
 
class  TempoMapPoint
 
class  GridIterator
 
class  TempoMap
 
class  TempoMapCutBuffer
 
class  TempoCommand
 
class  timepos_t
 
class  timecnt_t
 
class  _ratio_t
 

Typedefs

typedef std::map< timepos_t *, timepos_tTimeDomainPosChanges
 
typedef std::map< timecnt_t *, timecnt_tTimeDomainCntChanges
 
typedef Range TimeRange
 
typedef int64_t superclock_t
 
typedef boost::intrusive::list_base_hook< boost::intrusive::tag< struct point_tag > > point_hook
 
typedef boost::intrusive::list_base_hook< boost::intrusive::tag< struct meterpoint_tag > > meter_hook
 
typedef boost::intrusive::list_base_hook< boost::intrusive::tag< struct tempo_tag > > tempo_hook
 
typedef boost::intrusive::list_base_hook< boost::intrusive::tag< struct bartime_tag > > bartime_hook
 
typedef std::vector< TempoMapPointTempoMapPoints
 
typedef boost::intrusive::list< TempoPoint, boost::intrusive::base_hook< tempo_hook > > Tempos
 
typedef boost::intrusive::list< MeterPoint, boost::intrusive::base_hook< meter_hook > > Meters
 
typedef boost::intrusive::list< MusicTimePoint, boost::intrusive::base_hook< bartime_hook > > MusicTimes
 
typedef boost::intrusive::list< Point, boost::intrusive::base_hook< point_hook > > Points
 
typedef int64_t samplepos_t
 
typedef int64_t sampleoffset_t
 
typedef int64_t samplecnt_t
 
typedef _ratio_t< int64_t > ratio_t
 

Enumerations

enum  OverlapType {
  OverlapNone , OverlapInternal , OverlapStart , OverlapEnd ,
  OverlapExternal
}
 
enum  TimeDomain { AudioTime = 0 , BeatTime = 1 }
 
enum  Dirty { SampleDirty = 0x1 , BeatsDirty = 0x2 , BBTDirty = 0x4 }
 
enum  RoundMode {
  RoundDownMaybe = -2 , RoundDownAlways = -1 , RoundNearest = 0 , RoundUpAlways = 1 ,
  RoundUpMaybe = 2
}
 

Functions

BBT_Offset bbt_delta (Temporal::BBT_Time const &a, Temporal::BBT_Time const &b)
 
std::ostream & operator<< (std::ostream &ostream, const Temporal::Beats &t)
 
std::istream & operator>> (std::istream &istream, Temporal::Beats &b)
 
template<typename T >
OverlapType coverage_inclusive_ends (T sa, T ea, T sb, T eb)
 
template<typename T >
OverlapType coverage_exclusive_ends (T sa, T eaE, T sb, T ebE)
 
template<>
LIBTEMPORAL_TEMPLATE_API OverlapType coverage_exclusive_ends< int64_t > (int64_t sa, int64_t eaE, int64_t sb, int64_t ebE)
 
static superclock_t superclock_ticks_per_second ()
 
static superclock_t superclock_to_samples (superclock_t s, int sr)
 
static superclock_t samples_to_superclock (int64_t samples, int sr)
 
void set_sample_rate (int sr)
 
void set_superclock_ticks_per_second (superclock_t sc)
 
void dump_stats (std::ostream &)
 
void init ()
 
void reset ()
 
void setup_enum_writer ()
 

Variables

superclock_t _superclock_ticks_per_second
 
int most_recent_engine_sample_rate
 
static const samplepos_t max_samplepos = INT64_MAX
 
static const samplecnt_t max_samplecnt = INT64_MAX
 
static const int32_t ticks_per_beat = 1920
 

Typedef Documentation

◆ bartime_hook

typedef boost::intrusive::list_base_hook<boost::intrusive::tag<struct bartime_tag> > Temporal::bartime_hook

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

◆ meter_hook

typedef boost::intrusive::list_base_hook<boost::intrusive::tag<struct meterpoint_tag> > Temporal::meter_hook

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

◆ Meters

typedef boost::intrusive::list<MeterPoint, boost::intrusive::base_hook<meter_hook> > Temporal::Meters

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

◆ MusicTimes

typedef boost::intrusive::list<MusicTimePoint, boost::intrusive::base_hook<bartime_hook> > Temporal::MusicTimes

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

◆ point_hook

typedef boost::intrusive::list_base_hook<boost::intrusive::tag<struct point_tag> > Temporal::point_hook

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

◆ Points

typedef boost::intrusive::list<Point, boost::intrusive::base_hook<point_hook> > Temporal::Points

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

◆ ratio_t

typedef _ratio_t<int64_t> Temporal::ratio_t

Definition at line 97 of file temporal/temporal/types.h.

◆ samplecnt_t

typedef int64_t Temporal::samplecnt_t

Definition at line 53 of file temporal/temporal/types.h.

◆ sampleoffset_t

typedef int64_t Temporal::sampleoffset_t

Definition at line 48 of file temporal/temporal/types.h.

◆ samplepos_t

typedef int64_t Temporal::samplepos_t

Definition at line 43 of file temporal/temporal/types.h.

◆ superclock_t

typedef int64_t Temporal::superclock_t

Definition at line 34 of file superclock.h.

◆ tempo_hook

typedef boost::intrusive::list_base_hook<boost::intrusive::tag<struct tempo_tag> > Temporal::tempo_hook

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

◆ TempoMapPoints

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

◆ Tempos

typedef boost::intrusive::list<TempoPoint, boost::intrusive::base_hook<tempo_hook> > Temporal::Tempos

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

◆ TimeDomainCntChanges

Definition at line 33 of file domain_swap.h.

◆ TimeDomainPosChanges

Definition at line 32 of file domain_swap.h.

◆ TimeRange

Definition at line 199 of file temporal/temporal/range.h.

Enumeration Type Documentation

◆ Dirty

Enumerator
SampleDirty 
BeatsDirty 
BBTDirty 

Definition at line 113 of file temporal/temporal/types.h.

◆ OverlapType

Enumerator
OverlapNone 
OverlapInternal 
OverlapStart 
OverlapEnd 
OverlapExternal 

Definition at line 99 of file temporal/temporal/types.h.

◆ RoundMode

Enumerator
RoundDownMaybe 

Round down only if necessary.

RoundDownAlways 

Always round down, even if on a division.

RoundNearest 

Round to nearest.

RoundUpAlways 

Always round up, even if on a division.

RoundUpMaybe 

Round up only if necessary.

Definition at line 120 of file temporal/temporal/types.h.

◆ TimeDomain

Enumerator
AudioTime 
BeatTime 

Definition at line 107 of file temporal/temporal/types.h.

Function Documentation

◆ bbt_delta()

BBT_Offset Temporal::bbt_delta ( Temporal::BBT_Time const &  a,
Temporal::BBT_Time const &  b 
)
inline

Definition at line 264 of file bbt_time.h.

◆ coverage_exclusive_ends()

template<typename T >
OverlapType Temporal::coverage_exclusive_ends ( sa,
eaE,
sb,
ebE 
)

end position arguments are inclusive

Definition at line 127 of file temporal/temporal/range.h.

◆ coverage_exclusive_ends< int64_t >()

template<>
LIBTEMPORAL_TEMPLATE_API OverlapType Temporal::coverage_exclusive_ends< int64_t > ( int64_t  sa,
int64_t  eaE,
int64_t  sb,
int64_t  ebE 
)

◆ coverage_inclusive_ends()

template<typename T >
OverlapType Temporal::coverage_inclusive_ends ( sa,
ea,
sb,
eb 
)

end position arguments are inclusive

Definition at line 34 of file temporal/temporal/range.h.

◆ dump_stats()

void Temporal::dump_stats ( std::ostream &  )

◆ init()

void Temporal::init ( )

◆ operator<<()

std::ostream& Temporal::operator<< ( std::ostream &  ostream,
const Temporal::Beats t 
)

◆ operator>>()

std::istream& Temporal::operator>> ( std::istream &  istream,
Temporal::Beats b 
)

◆ reset()

void Temporal::reset ( )

◆ samples_to_superclock()

static superclock_t Temporal::samples_to_superclock ( int64_t  samples,
int  sr 
)
inlinestatic

Definition at line 49 of file superclock.h.

◆ set_sample_rate()

void Temporal::set_sample_rate ( int  sr)

◆ set_superclock_ticks_per_second()

void Temporal::set_superclock_ticks_per_second ( superclock_t  sc)

◆ setup_enum_writer()

void Temporal::setup_enum_writer ( )

◆ superclock_ticks_per_second()

static superclock_t Temporal::superclock_ticks_per_second ( )
inlinestatic

Definition at line 45 of file superclock.h.

◆ superclock_to_samples()

static superclock_t Temporal::superclock_to_samples ( superclock_t  s,
int  sr 
)
inlinestatic

Definition at line 48 of file superclock.h.

Variable Documentation

◆ _superclock_ticks_per_second

superclock_t Temporal::_superclock_ticks_per_second
extern

◆ max_samplecnt

const samplecnt_t Temporal::max_samplecnt = INT64_MAX
static

Definition at line 56 of file temporal/temporal/types.h.

◆ max_samplepos

const samplepos_t Temporal::max_samplepos = INT64_MAX
static

Definition at line 55 of file temporal/temporal/types.h.

◆ most_recent_engine_sample_rate

int Temporal::most_recent_engine_sample_rate
extern

◆ ticks_per_beat

const int32_t Temporal::ticks_per_beat = 1920
static

Definition at line 66 of file temporal/temporal/types.h.