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

#include <midi_automation_list_binder.h>

Inheritance diagram for ARDOUR::MidiAutomationListBinder:
[legend]

Public Member Functions

 MidiAutomationListBinder (ARDOUR::MidiSource &, Evoral::Parameter)
 
 MidiAutomationListBinder (XMLNode *, ARDOUR::Session::SourceMap const &)
 
void set_state (XMLNode const &node, int version) const
 
XMLNodeget_state () const
 
std::string type_name () const
 
void add_state (XMLNode *)
 
void source_died ()
 
- Public Member Functions inherited from PBD::Destructible
virtual ~Destructible ()
 
virtual void drop_references ()
 

Private Attributes

ARDOUR::MidiSource_source
 
Evoral::Parameter _parameter
 
PBD::ScopedConnection source_death_connection
 

Additional Inherited Members

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

Detailed Description

A class for late-binding a MidiSource and a Parameter to an AutomationList

Definition at line 31 of file midi_automation_list_binder.h.

Constructor & Destructor Documentation

◆ MidiAutomationListBinder() [1/2]

ARDOUR::MidiAutomationListBinder::MidiAutomationListBinder ( ARDOUR::MidiSource ,
Evoral::Parameter   
)

◆ MidiAutomationListBinder() [2/2]

ARDOUR::MidiAutomationListBinder::MidiAutomationListBinder ( XMLNode ,
ARDOUR::Session::SourceMap const &   
)

Member Function Documentation

◆ add_state()

void ARDOUR::MidiAutomationListBinder::add_state ( XMLNode )
virtual

Add our own state to an XMLNode

Implements MementoCommandBinder< ARDOUR::AutomationList >.

◆ get_state()

XMLNode& ARDOUR::MidiAutomationListBinder::get_state ( ) const
virtual

◆ set_state()

void ARDOUR::MidiAutomationListBinder::set_state ( XMLNode const &  node,
int  version 
) const
virtual

◆ source_died()

void ARDOUR::MidiAutomationListBinder::source_died ( )
inline

Definition at line 43 of file midi_automation_list_binder.h.

◆ type_name()

std::string ARDOUR::MidiAutomationListBinder::type_name ( ) const
virtual
Returns
Name of our type

Implements MementoCommandBinder< ARDOUR::AutomationList >.

Member Data Documentation

◆ _parameter

Evoral::Parameter ARDOUR::MidiAutomationListBinder::_parameter
private

Definition at line 51 of file midi_automation_list_binder.h.

◆ _source

ARDOUR::MidiSource* ARDOUR::MidiAutomationListBinder::_source
private

Definition at line 50 of file midi_automation_list_binder.h.

◆ source_death_connection

PBD::ScopedConnection ARDOUR::MidiAutomationListBinder::source_death_connection
private

Definition at line 52 of file midi_automation_list_binder.h.


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