Ardour  9.0-pre0-582-g084a23a80d
MergeableLine Class Reference

#include <mergeable_line.h>

Public Member Functions

 MergeableLine (std::shared_ptr< AutomationLine > l, std::shared_ptr< ARDOUR::AutomationControl > c, std::function< Temporal::timepos_t(Temporal::timepos_t const &)> tf, std::function< void(ARDOUR::AutoState)> asc, std::function< void()> ctc)
 
virtual ~MergeableLine ()
 
void merge_drawn_line (EditingContext &e, ARDOUR::Session &s, Evoral::ControlList::OrderedPoints &points, bool thin)
 

Private Attributes

std::shared_ptr< AutomationLine_line
 
std::shared_ptr< ARDOUR::AutomationControl_control
 
std::function< Temporal::timepos_t(Temporal::timepos_t const &)> time_filter
 
std::function< void(ARDOUR::AutoState)> automation_state_callback
 
std::function< void()> control_touched_callback
 

Detailed Description

Definition at line 38 of file mergeable_line.h.

Constructor & Destructor Documentation

◆ MergeableLine()

MergeableLine::MergeableLine ( std::shared_ptr< AutomationLine l,
std::shared_ptr< ARDOUR::AutomationControl c,
std::function< Temporal::timepos_t(Temporal::timepos_t const &)>  tf,
std::function< void(ARDOUR::AutoState)>  asc,
std::function< void()>  ctc 
)
inline

Definition at line 41 of file mergeable_line.h.

◆ ~MergeableLine()

virtual MergeableLine::~MergeableLine ( )
inlinevirtual

Definition at line 51 of file mergeable_line.h.

Member Function Documentation

◆ merge_drawn_line()

void MergeableLine::merge_drawn_line ( EditingContext e,
ARDOUR::Session s,
Evoral::ControlList::OrderedPoints points,
bool  thin 
)

Member Data Documentation

◆ _control

std::shared_ptr<ARDOUR::AutomationControl> MergeableLine::_control
private

Definition at line 57 of file mergeable_line.h.

◆ _line

std::shared_ptr<AutomationLine> MergeableLine::_line
private

Definition at line 56 of file mergeable_line.h.

◆ automation_state_callback

std::function<void(ARDOUR::AutoState)> MergeableLine::automation_state_callback
private

Definition at line 59 of file mergeable_line.h.

◆ control_touched_callback

std::function<void()> MergeableLine::control_touched_callback
private

Definition at line 60 of file mergeable_line.h.

◆ time_filter

std::function<Temporal::timepos_t(Temporal::timepos_t const &)> MergeableLine::time_filter
private

Definition at line 58 of file mergeable_line.h.


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