Ardour  8.7-15-gadf511264b
Temporal::Point Class Referenceabstract

#include <tempo.h>

Inheritance diagram for Temporal::Point:
[legend]

Classes

struct  bbt_comparator
 
struct  beat_comparator
 
struct  ptr_sclock_comparator
 
struct  sclock_comparator
 

Public Member Functions

 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
 
virtual timepos_t time () const =0
 
bool operator== (Point const &other) const
 
bool operator!= (Point const &other) const
 
- Public Member Functions inherited from Temporal::MapOwned
TempoMap const & map () const
 

Protected Member Functions

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

superclock_t _sclock
 
Beats _quarters
 
BBT_Time _bbt
 
- Protected Attributes inherited from Temporal::MapOwned
TempoMap const * _map
 

Friends

class TempoMap
 

Detailed Description

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

Constructor & Destructor Documentation

◆ Point() [1/2]

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

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

◆ Point() [2/2]

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

◆ ~Point()

virtual Temporal::Point::~Point ( )
inlinevirtual

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

Member Function Documentation

◆ add_state()

void Temporal::Point::add_state ( XMLNode ) const
protected

◆ bbt()

BBT_Time const& Temporal::Point::bbt ( ) const
inline

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

◆ beats()

Beats const& Temporal::Point::beats ( ) const
inline

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

◆ map_reset_set_sclock_for_sr_change()

void Temporal::Point::map_reset_set_sclock_for_sr_change ( superclock_t  sc)
inlineprotected

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

◆ operator!=()

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

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

◆ operator==()

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

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

◆ sample()

samplepos_t Temporal::Point::sample ( int  sr) const
inline

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

◆ sclock()

superclock_t Temporal::Point::sclock ( ) const
inline

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

◆ set()

void Temporal::Point::set ( superclock_t  sc,
Beats const &  b,
BBT_Time const &  bbt 
)
inline

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

◆ time()

virtual timepos_t Temporal::Point::time ( ) const
pure virtual

Friends And Related Function Documentation

◆ TempoMap

friend class TempoMap
friend

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

Member Data Documentation

◆ _bbt

BBT_Time Temporal::Point::_bbt
protected

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

◆ _quarters

Beats Temporal::Point::_quarters
protected

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

◆ _sclock

superclock_t Temporal::Point::_sclock
protected

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


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