Ardour  9.0-pre0-582-g084a23a80d
Evoral::ControlSet Class Referenceabstract

#include <ControlSet.h>

Inheritance diagram for Evoral::ControlSet:
[legend]

Public Types

typedef std::map< Parameter, std::shared_ptr< Control > > Controls
 

Public Member Functions

 ControlSet ()
 
 ControlSet (const ControlSet &)
 
virtual ~ControlSet ()
 
virtual std::shared_ptr< Evoral::Controlcontrol_factory (const Evoral::Parameter &id)=0
 
std::shared_ptr< Controlcontrol (const Parameter &id, bool create_if_missing=false)
 
std::shared_ptr< const Controlcontrol (const Parameter &id) const
 
Controlscontrols ()
 
const Controlscontrols () const
 
virtual void add_control (std::shared_ptr< Control >)
 
virtual bool controls_empty () const
 
virtual void clear_controls ()
 
void what_has_data (std::set< Parameter > &) const
 
Glib::Threads::Mutex & control_lock () const
 
void start_domain_bounce (Temporal::DomainBounceInfo &)
 
void finish_domain_bounce (Temporal::DomainBounceInfo &)
 
- Public Member Functions inherited from Temporal::TimeDomainSwapper
virtual ~TimeDomainSwapper ()
 
- Public Member Functions inherited from PBD::Destructible
virtual ~Destructible ()
 
virtual void drop_references ()
 

Protected Member Functions

virtual void control_list_marked_dirty ()
 
virtual void control_list_interpolation_changed (Parameter const &, ControlList::InterpolationStyle)
 

Protected Attributes

Glib::Threads::Mutex _control_lock
 
Controls _controls
 
PBD::ScopedConnectionList _list_connections
 

Private Attributes

PBD::ScopedConnectionList _control_connections
 

Additional Inherited Members

- Public Attributes inherited from PBD::Destructible
PBD::Signal< void()> Destroyed
 
PBD::Signal< void()> DropReferences
 

Detailed Description

Definition at line 45 of file ControlSet.h.

Member Typedef Documentation

◆ Controls

typedef std::map< Parameter, std::shared_ptr<Control> > Evoral::ControlSet::Controls

Definition at line 63 of file ControlSet.h.

Constructor & Destructor Documentation

◆ ControlSet() [1/2]

Evoral::ControlSet::ControlSet ( )

◆ ControlSet() [2/2]

Evoral::ControlSet::ControlSet ( const ControlSet )

◆ ~ControlSet()

virtual Evoral::ControlSet::~ControlSet ( )
inlinevirtual

Definition at line 50 of file ControlSet.h.

Member Function Documentation

◆ add_control()

virtual void Evoral::ControlSet::add_control ( std::shared_ptr< Control )
virtual

Reimplemented in ARDOUR::Automatable.

◆ clear_controls()

virtual void Evoral::ControlSet::clear_controls ( )
virtual

Reimplemented in ARDOUR::Automatable.

◆ control() [1/2]

std::shared_ptr<const Control> Evoral::ControlSet::control ( const Parameter id) const
inline

Definition at line 58 of file ControlSet.h.

◆ control() [2/2]

std::shared_ptr<Control> Evoral::ControlSet::control ( const Parameter id,
bool  create_if_missing = false 
)

◆ control_factory()

virtual std::shared_ptr<Evoral::Control> Evoral::ControlSet::control_factory ( const Evoral::Parameter id)
pure virtual

◆ control_list_interpolation_changed()

virtual void Evoral::ControlSet::control_list_interpolation_changed ( Parameter const &  ,
ControlList::InterpolationStyle   
)
inlineprotectedvirtual

Reimplemented in ARDOUR::MidiModel.

Definition at line 81 of file ControlSet.h.

◆ control_list_marked_dirty()

virtual void Evoral::ControlSet::control_list_marked_dirty ( )
inlineprotectedvirtual

◆ control_lock()

Glib::Threads::Mutex& Evoral::ControlSet::control_lock ( ) const
inline

Definition at line 74 of file ControlSet.h.

◆ controls() [1/2]

Controls& Evoral::ControlSet::controls ( )
inline

Definition at line 64 of file ControlSet.h.

◆ controls() [2/2]

const Controls& Evoral::ControlSet::controls ( ) const
inline

Definition at line 65 of file ControlSet.h.

◆ controls_empty()

virtual bool Evoral::ControlSet::controls_empty ( ) const
inlinevirtual

Definition at line 69 of file ControlSet.h.

◆ finish_domain_bounce()

void Evoral::ControlSet::finish_domain_bounce ( Temporal::DomainBounceInfo )
virtual

◆ start_domain_bounce()

void Evoral::ControlSet::start_domain_bounce ( Temporal::DomainBounceInfo )
virtual

◆ what_has_data()

void Evoral::ControlSet::what_has_data ( std::set< Parameter > &  ) const

Member Data Documentation

◆ _control_connections

PBD::ScopedConnectionList Evoral::ControlSet::_control_connections
private

Definition at line 90 of file ControlSet.h.

◆ _control_lock

Glib::Threads::Mutex Evoral::ControlSet::_control_lock
mutableprotected

Definition at line 83 of file ControlSet.h.

◆ _controls

Controls Evoral::ControlSet::_controls
protected

Definition at line 84 of file ControlSet.h.

◆ _list_connections

PBD::ScopedConnectionList Evoral::ControlSet::_list_connections
protected

Definition at line 86 of file ControlSet.h.


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