Ardour  9.0-pre0-349-gc9645723de
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 88 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 90 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 93 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 103 of file temporal/temporal/tempo.h.

◆ beats()

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

Definition at line 102 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 156 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.

◆ operator==()

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

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

◆ sample()

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

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

◆ sclock()

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

Definition at line 101 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 95 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 155 of file temporal/temporal/tempo.h.

Member Data Documentation

◆ _bbt

BBT_Time Temporal::Point::_bbt
protected

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

◆ _quarters

Beats Temporal::Point::_quarters
protected

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

◆ _sclock

superclock_t Temporal::Point::_sclock
protected

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


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