Ardour  9.0-pre0-582-g084a23a80d
ARDOUR::GainControlGroup Class Reference

#include <control_group.h>

Inheritance diagram for ARDOUR::GainControlGroup:
[legend]

Public Member Functions

 GainControlGroup (ARDOUR::AutomationType=GainAutomation)
 
void set_group_value (std::shared_ptr< AutomationControl >, double val)
 
- Public Member Functions inherited from ARDOUR::ControlGroup
 ControlGroup (Evoral::Parameter p)
 
virtual ~ControlGroup ()
 
void fill_from_stripable_list (StripableList &, Evoral::Parameter const &)
 
int add_control (std::shared_ptr< AutomationControl >, bool push=false)
 
int remove_control (std::shared_ptr< AutomationControl >, bool pop=false)
 
void pop_all ()
 
AutomationControlList controls () const
 
void clear (bool pop=false)
 
void set_active (bool)
 
bool active () const
 
void set_mode (Mode m)
 
Mode mode () const
 
Evoral::Parameter parameter () const
 
virtual void pre_realtime_queue_stuff (double val)
 
bool use_me (PBD::Controllable::GroupControlDisposition gcd) const
 
ControlMap::size_type size () const
 

Private Member Functions

gain_t get_max_factor (gain_t)
 
gain_t get_min_factor (gain_t)
 

Additional Inherited Members

- Public Types inherited from ARDOUR::ControlGroup
enum  Mode { Relative = 0x1 , Inverted = 0x2 }
 
typedef std::map< PBD::ID, std::shared_ptr< AutomationControl > > ControlMap
 
- Protected Member Functions inherited from ARDOUR::ControlGroup
void control_going_away (std::weak_ptr< AutomationControl >)
 
- Protected Attributes inherited from ARDOUR::ControlGroup
Evoral::Parameter _parameter
 
Glib::Threads::RWLock controls_lock
 
ControlMap _controls
 
bool _active
 
Mode _mode
 
PBD::ScopedConnectionList member_connections
 
bool propagating
 

Detailed Description

Definition at line 102 of file ardour/ardour/control_group.h.

Constructor & Destructor Documentation

◆ GainControlGroup()

ARDOUR::GainControlGroup::GainControlGroup ( ARDOUR::AutomationType  = GainAutomation)

Member Function Documentation

◆ get_max_factor()

gain_t ARDOUR::GainControlGroup::get_max_factor ( gain_t  )
private

◆ get_min_factor()

gain_t ARDOUR::GainControlGroup::get_min_factor ( gain_t  )
private

◆ set_group_value()

void ARDOUR::GainControlGroup::set_group_value ( std::shared_ptr< AutomationControl ,
double  val 
)
virtual

Reimplemented from ARDOUR::ControlGroup.


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