TracktionEngine
Loading...
Searching...
No Matches
engine::Clipboard::AutomationPoints Struct Reference

#include <tracktion_Clipboard.h>

Inheritance diagram for engine::Clipboard::AutomationPoints:

Classes

struct  CurveSection
 Internal structure representing a single curve's data. More...

Public Member Functions

 AutomationPoints (const AutomationCurve &, juce::Range< float >, EditTimeRange, float defaultValue)
 AutomationPoints (AutomatableParameter &, const AutomationCurve &, TimeRange)
 AutomationPoints (const juce::Array< Track * > &, TimeRange)
 Multi-track constructor: copies automation from all parameters on the given tracks within the time range.
 AutomationPoints (const juce::Array< AutomatableParameter * > &, TimeRange)
 Multi-parameter constructor: copies automation from specific parameters within the time range.
 ~AutomationPoints () override
bool pasteIntoEdit (const EditPastingOptions &) const override
bool pasteIntoTracks (const juce::Array< Track * > &targetTracks, TimePosition pasteStartTime) const
 Multi-curve paste: pastes automation curves to target tracks by position offset.
bool pasteAutomationCurve (AutomationCurve &targetCurve, juce::Range< float > targetValueRange, float targetDefaultValue, std::optional< EditTimeRange > targetRange) const
bool pasteAutomationCurve (AutomatableParameter &, AutomationCurve &, TimeRange targetRange) const
bool pasteAutomationCurveAtIndex (AutomatableParameter &, AutomationCurve &, TimeRange targetRange, size_t curveIndex) const
 Pastes a specific curve by index to the target parameter. Used when multi-curve content falls back to per-param paste.
virtual bool pasteIntoEdit (Edit &, EditInsertPoint &, SelectionManager *) const
Public Member Functions inherited from engine::Clipboard::ContentType
virtual ~ContentType ()

Public Attributes

std::vector< CurveSection > curves
TimeDuration sourceDuration

Constructor & Destructor Documentation

◆ AutomationPoints() [1/4]

engine::Clipboard::AutomationPoints::AutomationPoints ( const AutomationCurve & ,
juce::Range< float > ,
EditTimeRange ,
float defaultValue )

◆ AutomationPoints() [2/4]

engine::Clipboard::AutomationPoints::AutomationPoints ( AutomatableParameter & ,
const AutomationCurve & ,
TimeRange  )

◆ AutomationPoints() [3/4]

engine::Clipboard::AutomationPoints::AutomationPoints ( const juce::Array< Track * > & ,
TimeRange  )

Multi-track constructor: copies automation from all parameters on the given tracks within the time range.

◆ AutomationPoints() [4/4]

engine::Clipboard::AutomationPoints::AutomationPoints ( const juce::Array< AutomatableParameter * > & ,
TimeRange  )

Multi-parameter constructor: copies automation from specific parameters within the time range.

◆ ~AutomationPoints()

engine::Clipboard::AutomationPoints::~AutomationPoints ( )
override

Member Function Documentation

◆ pasteIntoEdit() [1/2]

bool engine::Clipboard::AutomationPoints::pasteIntoEdit ( const EditPastingOptions & ) const
overridevirtual

Reimplemented from engine::Clipboard::ContentType.

◆ pasteIntoTracks()

bool engine::Clipboard::AutomationPoints::pasteIntoTracks ( const juce::Array< Track * > & targetTracks,
TimePosition pasteStartTime ) const

Multi-curve paste: pastes automation curves to target tracks by position offset.

◆ pasteAutomationCurve() [1/2]

bool engine::Clipboard::AutomationPoints::pasteAutomationCurve ( AutomationCurve & targetCurve,
juce::Range< float > targetValueRange,
float targetDefaultValue,
std::optional< EditTimeRange > targetRange ) const

◆ pasteAutomationCurve() [2/2]

bool engine::Clipboard::AutomationPoints::pasteAutomationCurve ( AutomatableParameter & ,
AutomationCurve & ,
TimeRange targetRange ) const

◆ pasteAutomationCurveAtIndex()

bool engine::Clipboard::AutomationPoints::pasteAutomationCurveAtIndex ( AutomatableParameter & ,
AutomationCurve & ,
TimeRange targetRange,
size_t curveIndex ) const

Pastes a specific curve by index to the target parameter. Used when multi-curve content falls back to per-param paste.

◆ pasteIntoEdit() [2/2]

Member Data Documentation

◆ curves

std::vector<CurveSection> engine::Clipboard::AutomationPoints::curves

◆ sourceDuration

TimeDuration engine::Clipboard::AutomationPoints::sourceDuration

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