Ardour
9.0-pre0-384-ga76afae0e9
|
#include <control_group.h>
Public Types | |
enum | Mode { Relative = 0x1 , Inverted = 0x2 } |
typedef std::map< PBD::ID, std::shared_ptr< AutomationControl > > | ControlMap |
Public Member Functions | |
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 | set_group_value (std::shared_ptr< AutomationControl >, double val) |
virtual void | pre_realtime_queue_stuff (double val) |
bool | use_me (PBD::Controllable::GroupControlDisposition gcd) const |
ControlMap::size_type | size () const |
Protected Member Functions | |
void | control_going_away (std::weak_ptr< AutomationControl >) |
Protected Attributes | |
Evoral::Parameter | _parameter |
Glib::Threads::RWLock | controls_lock |
ControlMap | _controls |
bool | _active |
Mode | _mode |
PBD::ScopedConnectionList | member_connections |
bool | propagating |
Definition at line 40 of file ardour/ardour/control_group.h.
typedef std::map<PBD::ID,std::shared_ptr<AutomationControl> > ARDOUR::ControlGroup::ControlMap |
Definition at line 86 of file ardour/ardour/control_group.h.
Enumerator | |
---|---|
Relative | |
Inverted |
Definition at line 46 of file ardour/ardour/control_group.h.
ARDOUR::ControlGroup::ControlGroup | ( | Evoral::Parameter | p | ) |
|
virtual |
|
inline |
Definition at line 63 of file ardour/ardour/control_group.h.
int ARDOUR::ControlGroup::add_control | ( | std::shared_ptr< AutomationControl > | , |
bool | push = false |
||
) |
void ARDOUR::ControlGroup::clear | ( | bool | pop = false | ) |
|
protected |
AutomationControlList ARDOUR::ControlGroup::controls | ( | ) | const |
void ARDOUR::ControlGroup::fill_from_stripable_list | ( | StripableList & | , |
Evoral::Parameter const & | |||
) |
|
inline |
Definition at line 66 of file ardour/ardour/control_group.h.
|
inline |
Definition at line 68 of file ardour/ardour/control_group.h.
void ARDOUR::ControlGroup::pop_all | ( | ) |
|
virtual |
int ARDOUR::ControlGroup::remove_control | ( | std::shared_ptr< AutomationControl > | , |
bool | pop = false |
||
) |
void ARDOUR::ControlGroup::set_active | ( | bool | ) |
|
virtual |
Reimplemented in ARDOUR::GainControlGroup.
void ARDOUR::ControlGroup::set_mode | ( | Mode | m | ) |
|
inline |
Definition at line 87 of file ardour/ardour/control_group.h.
|
inline |
Definition at line 73 of file ardour/ardour/control_group.h.
|
protected |
Definition at line 93 of file ardour/ardour/control_group.h.
|
protected |
Definition at line 92 of file ardour/ardour/control_group.h.
|
protected |
Definition at line 94 of file ardour/ardour/control_group.h.
|
protected |
Definition at line 90 of file ardour/ardour/control_group.h.
|
mutableprotected |
Definition at line 91 of file ardour/ardour/control_group.h.
|
protected |
Definition at line 95 of file ardour/ardour/control_group.h.
|
protected |
Definition at line 96 of file ardour/ardour/control_group.h.