Ardour  9.0-pre0-386-g96ef4d20f2
Temporal::MeterPoint Class Reference

#include <tempo.h>

Inheritance diagram for Temporal::MeterPoint:
[legend]

Public Member Functions

 MeterPoint (TempoMap const &map, Meter const &m, superclock_t sc, Beats const &b, BBT_Time const &bbt)
 
 MeterPoint (TempoMap const &map, XMLNode const &)
 
 MeterPoint (Meter const &m, Point const &p)
 
virtual ~MeterPoint ()
 
Beats quarters_at (BBT_Time const &bbt) const
 
BBT_Time bbt_at (Beats const &beats) const
 
bool operator== (MeterPoint const &other) const
 
bool operator!= (MeterPoint const &other) const
 
XMLNodeget_state () const
 
timepos_t time () const
 
- Public Member Functions inherited from Temporal::Meter
 Meter (XMLNode const &)
 
 Meter (int8_t dpb, int8_t nv)
 
 Meter (Meter const &other)
 
virtual ~Meter ()
 
int divisions_per_bar () const
 
int note_value () const
 
int32_t ticks_per_grid () const
 
bool operator== (const Meter &other) const
 
bool operator!= (const Meter &other) const
 
Meteroperator= (Meter const &other)
 
BBT_Time bbt_add (BBT_Time const &bbt, BBT_Offset const &add) const
 
BBT_Time bbt_subtract (BBT_Time const &bbt, BBT_Offset const &sub) const
 
BBT_Time round_to_bar (BBT_Time const &) const
 
BBT_Time round_up_to_bar (BBT_Time const &) const
 
BBT_Time round_up_to_beat_div (BBT_Time const &, int beat_div) const
 
BBT_Time round_up_to_beat (BBT_Time const &bbt) const
 
BBT_Time round_to_beat (BBT_Time const &) const
 
Beats to_quarters (BBT_Offset const &) const
 
XMLNodeget_state () const
 
int set_state (XMLNode const &, int version)
 
- Public Member Functions inherited from Temporal::Point
 Point (TempoMap const &map, superclock_t sc, Beats const &b, BBT_Time const &bbt)
 
 Point (TempoMap const &map, XMLNode const &)
 
virtual ~Point ()
 
void set (superclock_t sc, Beats const &b, BBT_Time const &bbt)
 
superclock_t sclock () const
 
Beats const & beats () const
 
BBT_Time const & bbt () const
 
samplepos_t sample (int sr) const
 
bool operator== (Point const &other) const
 
bool operator!= (Point const &other) const
 
- Public Member Functions inherited from Temporal::MapOwned
TempoMap const & map () const
 

Additional Inherited Members

- Static Public Attributes inherited from Temporal::Meter
static std::string xml_node_name
 
- Protected Member Functions inherited from Temporal::Point
void add_state (XMLNode &) const
 
void map_reset_set_sclock_for_sr_change (superclock_t sc)
 
- Protected Member Functions inherited from Temporal::MapOwned
 MapOwned (TempoMap const &map)
 
virtual ~MapOwned ()
 
void set_map (TempoMap const &map)
 
- Protected Attributes inherited from Temporal::Meter
int8_t _note_value
 
int8_t _divisions_per_bar
 
- Protected Attributes inherited from Temporal::Point
superclock_t _sclock
 
Beats _quarters
 
BBT_Time _bbt
 
- Protected Attributes inherited from Temporal::MapOwned
TempoMap const * _map
 

Detailed Description

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

Constructor & Destructor Documentation

◆ MeterPoint() [1/3]

Temporal::MeterPoint::MeterPoint ( TempoMap const &  map,
Meter const &  m,
superclock_t  sc,
Beats const &  b,
BBT_Time const &  bbt 
)
inline

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

◆ MeterPoint() [2/3]

Temporal::MeterPoint::MeterPoint ( TempoMap const &  map,
XMLNode const &   
)

◆ MeterPoint() [3/3]

Temporal::MeterPoint::MeterPoint ( Meter const &  m,
Point const &  p 
)
inline

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

◆ ~MeterPoint()

virtual Temporal::MeterPoint::~MeterPoint ( )
inlinevirtual

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

Member Function Documentation

◆ bbt_at()

BBT_Time Temporal::MeterPoint::bbt_at ( Beats const &  beats) const

◆ get_state()

XMLNode& Temporal::MeterPoint::get_state ( ) const

◆ operator!=()

bool Temporal::MeterPoint::operator!= ( MeterPoint const &  other) const
inline

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

◆ operator==()

bool Temporal::MeterPoint::operator== ( MeterPoint const &  other) const
inline

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

◆ quarters_at()

Beats Temporal::MeterPoint::quarters_at ( BBT_Time const &  bbt) const

◆ time()

timepos_t Temporal::MeterPoint::time ( ) const
inlinevirtual

Implements Temporal::Point.

Reimplemented in Temporal::MusicTimePoint.

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


The documentation for this class was generated from the following file: