Ardour  9.0-pre0-582-g084a23a80d
TempoCurve Class Reference

#include <tempo_curve.h>

Inheritance diagram for TempoCurve:
[legend]

Public Member Functions

 TempoCurve (PublicEditor &editor, ArdourCanvas::Item &, guint32 rgba, Temporal::TempoPoint const &temp, bool handle_events, ArdourCanvas::Distance marker_width)
 
 ~TempoCurve ()
 
ArdourCanvas::Itemthe_item () const
 
void set_duration (ARDOUR::samplecnt_t duration)
 
void set_color_rgba (uint32_t rgba)
 
void hide ()
 
void show ()
 
Temporal::TempoPoint const & tempo () const
 
void reset_point (Temporal::TempoPoint const &)
 
void update_range (double min, double max)
 

Static Public Member Functions

static void setup_sizes (const double timebar_height)
 
static void format_tempo (double ntpm, int nt, char *, size_t)
 

Static Public Attributes

static PBD::Signal< void(TempoCurve *)> CatchDeletion
 

Protected Member Functions

void reposition ()
 

Protected Attributes

PublicEditoreditor
 
ArdourCanvas::Item_parent
 
ArdourCanvas::Containergroup
 
ArdourCanvas::Points points
 
ArdourCanvas::FramedCurve_curve
 
ARDOUR::samplecnt_t _duration
 
ArdourCanvas::Distance _marker_width
 
uint32_t _color
 

Private Member Functions

 TempoCurve (TempoCurve const &)
 
TempoCurveoperator= (TempoCurve const &)
 

Private Attributes

double _min_tempo
 
double _max_tempo
 
Temporal::TempoPoint const * _tempo
 
ArdourCanvas::Text_start_text
 
ArdourCanvas::Text_end_text
 

Detailed Description

Definition at line 40 of file tempo_curve.h.

Constructor & Destructor Documentation

◆ TempoCurve() [1/2]

TempoCurve::TempoCurve ( PublicEditor editor,
ArdourCanvas::Item ,
guint32  rgba,
Temporal::TempoPoint const &  temp,
bool  handle_events,
ArdourCanvas::Distance  marker_width 
)

◆ ~TempoCurve()

TempoCurve::~TempoCurve ( )

◆ TempoCurve() [2/2]

TempoCurve::TempoCurve ( TempoCurve const &  )
private

Member Function Documentation

◆ format_tempo()

static void TempoCurve::format_tempo ( double  ntpm,
int  nt,
char *  ,
size_t   
)
static

◆ hide()

void TempoCurve::hide ( )

◆ operator=()

TempoCurve& TempoCurve::operator= ( TempoCurve const &  )
private

◆ reposition()

void TempoCurve::reposition ( )
protected

◆ reset_point()

void TempoCurve::reset_point ( Temporal::TempoPoint const &  )

◆ set_color_rgba()

void TempoCurve::set_color_rgba ( uint32_t  rgba)

◆ set_duration()

void TempoCurve::set_duration ( ARDOUR::samplecnt_t  duration)

◆ setup_sizes()

static void TempoCurve::setup_sizes ( const double  timebar_height)
static

◆ show()

void TempoCurve::show ( )

◆ tempo()

Temporal::TempoPoint const& TempoCurve::tempo ( ) const
inline

Definition at line 58 of file tempo_curve.h.

◆ the_item()

ArdourCanvas::Item& TempoCurve::the_item ( ) const

◆ update_range()

void TempoCurve::update_range ( double  min,
double  max 
)
inline

Definition at line 61 of file tempo_curve.h.

Member Data Documentation

◆ _color

uint32_t TempoCurve::_color
protected

Definition at line 75 of file tempo_curve.h.

◆ _curve

ArdourCanvas::FramedCurve* TempoCurve::_curve
protected

Definition at line 71 of file tempo_curve.h.

◆ _duration

ARDOUR::samplecnt_t TempoCurve::_duration
protected

Definition at line 73 of file tempo_curve.h.

◆ _end_text

ArdourCanvas::Text* TempoCurve::_end_text
private

Definition at line 90 of file tempo_curve.h.

◆ _marker_width

ArdourCanvas::Distance TempoCurve::_marker_width
protected

Definition at line 74 of file tempo_curve.h.

◆ _max_tempo

double TempoCurve::_max_tempo
private

Definition at line 86 of file tempo_curve.h.

◆ _min_tempo

double TempoCurve::_min_tempo
private

Definition at line 85 of file tempo_curve.h.

◆ _parent

ArdourCanvas::Item* TempoCurve::_parent
protected

Definition at line 68 of file tempo_curve.h.

◆ _start_text

ArdourCanvas::Text* TempoCurve::_start_text
private

Definition at line 89 of file tempo_curve.h.

◆ _tempo

Temporal::TempoPoint const* TempoCurve::_tempo
private

Definition at line 88 of file tempo_curve.h.

◆ CatchDeletion

PBD::Signal<void(TempoCurve*)> TempoCurve::CatchDeletion
static

Definition at line 46 of file tempo_curve.h.

◆ editor

PublicEditor& TempoCurve::editor
protected

Definition at line 66 of file tempo_curve.h.

◆ group

ArdourCanvas::Container* TempoCurve::group
protected

Definition at line 69 of file tempo_curve.h.

◆ points

ArdourCanvas::Points TempoCurve::points
protected

Definition at line 70 of file tempo_curve.h.


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