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

#include <tracktion_Clipboard.h>

Inheritance diagram for engine::Clipboard::MIDIEvents:

Public Member Functions

 MIDIEvents ()
 ~MIDIEvents () override
std::pair< juce::Array< MidiNote * >, juce::Array< MidiControllerEvent * > > pasteIntoClip (MidiClip &, const juce::Array< MidiNote * > &selectedNotes, const juce::Array< MidiControllerEvent * > &selectedEvents, TimePosition cursorPosition, const std::function< BeatPosition(BeatPosition)> &snapBeat, int destController) const
bool pasteIntoEdit (const EditPastingOptions &) const override
virtual bool pasteIntoEdit (Edit &, EditInsertPoint &, SelectionManager *) const
Public Member Functions inherited from engine::Clipboard::ContentType
virtual ~ContentType ()

Public Attributes

std::vector< juce::ValueTree > notes
std::vector< juce::ValueTree > controllers

Constructor & Destructor Documentation

◆ MIDIEvents()

engine::Clipboard::MIDIEvents::MIDIEvents ( )

◆ ~MIDIEvents()

engine::Clipboard::MIDIEvents::~MIDIEvents ( )
override

Member Function Documentation

◆ pasteIntoClip()

std::pair< juce::Array< MidiNote * >, juce::Array< MidiControllerEvent * > > engine::Clipboard::MIDIEvents::pasteIntoClip ( MidiClip & ,
const juce::Array< MidiNote * > & selectedNotes,
const juce::Array< MidiControllerEvent * > & selectedEvents,
TimePosition cursorPosition,
const std::function< BeatPosition(BeatPosition)> & snapBeat,
int destController ) const

◆ pasteIntoEdit() [1/2]

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

Reimplemented from engine::Clipboard::ContentType.

◆ pasteIntoEdit() [2/2]

Member Data Documentation

◆ notes

std::vector<juce::ValueTree> engine::Clipboard::MIDIEvents::notes

◆ controllers

std::vector<juce::ValueTree> engine::Clipboard::MIDIEvents::controllers

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