|  | Ardour
    9.0-pre0-1955-gdb44a58a54
    | 
#include <tempo.h>
| Public Member Functions | |
| 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 | 
| Meter & | operator= (Meter const &other) | 
| BBT_Offset | bbt_delta (BBT_Time const &later, BBT_Time const &earlier) const | 
| 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 | 
| Beats | round_to_beat (Beats const &) const | 
| XMLNode & | get_state () const | 
| int | set_state (XMLNode const &, int version) | 
| Static Public Attributes | |
| static std::string | xml_node_name | 
| Protected Attributes | |
| int8_t | _note_value | 
| int8_t | _divisions_per_bar | 
Meter, or time signature (subdivisions per bar, and which note type is a single subdivision).
Definition at line 278 of file temporal/temporal/tempo.h.
| Temporal::Meter::Meter | ( | XMLNode const & | ) | 
| 
 | inline | 
Definition at line 284 of file temporal/temporal/tempo.h.
| 
 | inline | 
Definition at line 285 of file temporal/temporal/tempo.h.
| 
 | inlinevirtual | 
Definition at line 287 of file temporal/temporal/tempo.h.
| BBT_Time Temporal::Meter::bbt_add | ( | BBT_Time const & | bbt, | 
| BBT_Offset const & | add | ||
| ) | const | 
| BBT_Offset Temporal::Meter::bbt_delta | ( | BBT_Time const & | later, | 
| BBT_Time const & | earlier | ||
| ) | const | 
| BBT_Time Temporal::Meter::bbt_subtract | ( | BBT_Time const & | bbt, | 
| BBT_Offset const & | sub | ||
| ) | const | 
| 
 | inline | 
Definition at line 289 of file temporal/temporal/tempo.h.
| XMLNode& Temporal::Meter::get_state | ( | ) | const | 
| 
 | inline | 
Definition at line 290 of file temporal/temporal/tempo.h.
| 
 | inline | 
Definition at line 295 of file temporal/temporal/tempo.h.
Definition at line 297 of file temporal/temporal/tempo.h.
| 
 | inline | 
Definition at line 294 of file temporal/temporal/tempo.h.
Definition at line 311 of file temporal/temporal/tempo.h.
| int Temporal::Meter::set_state | ( | XMLNode const & | , | 
| int | version | ||
| ) | 
| 
 | inline | 
Definition at line 292 of file temporal/temporal/tempo.h.
| Beats Temporal::Meter::to_quarters | ( | BBT_Offset const & | ) | const | 
| 
 | protected | 
Definition at line 326 of file temporal/temporal/tempo.h.
| 
 | protected | 
The type of "note" that a division represents. For example, 4 is a quarter (crotchet) note, 8 is an eighth (quaver) note, etc.
Definition at line 324 of file temporal/temporal/tempo.h.
| 
 | static | 
Definition at line 281 of file temporal/temporal/tempo.h.