Ardour  9.0-pre0-582-g084a23a80d
ARDOUR::SlavableAutomationControl::MasterRecord Class Reference

#include <slavable_automation_control.h>

Public Member Functions

 MasterRecord (std::weak_ptr< AutomationControl > gc, double vc, double vm)
 
std::shared_ptr< AutomationControlmaster () const
 
double val_ctrl () const
 
double val_master () const
 
double val_master_inv () const
 
double master_ratio () const
 
int set_state (XMLNode const &, int)
 
bool yn () const
 
void set_yn (bool yn)
 

Public Attributes

PBD::ScopedConnection changed_connection
 
PBD::ScopedConnection dropped_connection
 

Private Attributes

std::weak_ptr< AutomationControl_master
 
bool _yn
 
double _val_ctrl
 
double _val_master
 

Detailed Description

Definition at line 90 of file slavable_automation_control.h.

Constructor & Destructor Documentation

◆ MasterRecord()

ARDOUR::SlavableAutomationControl::MasterRecord::MasterRecord ( std::weak_ptr< AutomationControl gc,
double  vc,
double  vm 
)
inline

Definition at line 92 of file slavable_automation_control.h.

Member Function Documentation

◆ master()

std::shared_ptr<AutomationControl> ARDOUR::SlavableAutomationControl::MasterRecord::master ( ) const
inline

Definition at line 99 of file slavable_automation_control.h.

◆ master_ratio()

double ARDOUR::SlavableAutomationControl::MasterRecord::master_ratio ( ) const
inline

Definition at line 105 of file slavable_automation_control.h.

◆ set_state()

int ARDOUR::SlavableAutomationControl::MasterRecord::set_state ( XMLNode const &  ,
int   
)

◆ set_yn()

void ARDOUR::SlavableAutomationControl::MasterRecord::set_yn ( bool  yn)
inline

Definition at line 115 of file slavable_automation_control.h.

◆ val_ctrl()

double ARDOUR::SlavableAutomationControl::MasterRecord::val_ctrl ( ) const
inline

Definition at line 101 of file slavable_automation_control.h.

◆ val_master()

double ARDOUR::SlavableAutomationControl::MasterRecord::val_master ( ) const
inline

Definition at line 102 of file slavable_automation_control.h.

◆ val_master_inv()

double ARDOUR::SlavableAutomationControl::MasterRecord::val_master_inv ( ) const
inline

Definition at line 104 of file slavable_automation_control.h.

◆ yn()

bool ARDOUR::SlavableAutomationControl::MasterRecord::yn ( ) const
inline

Definition at line 114 of file slavable_automation_control.h.

Member Data Documentation

◆ _master

std::weak_ptr<AutomationControl> ARDOUR::SlavableAutomationControl::MasterRecord::_master
private

Definition at line 121 of file slavable_automation_control.h.

◆ _val_ctrl

double ARDOUR::SlavableAutomationControl::MasterRecord::_val_ctrl
private

Definition at line 126 of file slavable_automation_control.h.

◆ _val_master

double ARDOUR::SlavableAutomationControl::MasterRecord::_val_master
private

Definition at line 127 of file slavable_automation_control.h.

◆ _yn

bool ARDOUR::SlavableAutomationControl::MasterRecord::_yn
private

Definition at line 123 of file slavable_automation_control.h.

◆ changed_connection

PBD::ScopedConnection ARDOUR::SlavableAutomationControl::MasterRecord::changed_connection

Definition at line 117 of file slavable_automation_control.h.

◆ dropped_connection

PBD::ScopedConnection ARDOUR::SlavableAutomationControl::MasterRecord::dropped_connection

Definition at line 118 of file slavable_automation_control.h.


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