TracktionEngine
Public Member Functions | Public Attributes | List of all members
tracktion::engine::Clipboard::MIDIEvents Struct Reference
Inheritance diagram for tracktion::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
 
virtual bool pasteIntoEdit (const EditPastingOptions &) const
 
- Public Member Functions inherited from tracktion::engine::Clipboard::ContentType
virtual ~ContentType ()
 
virtual bool pasteIntoEdit (Edit &, EditInsertPoint &, SelectionManager *) const
 

Public Attributes

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

Constructor & Destructor Documentation

◆ MIDIEvents()

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

◆ ~MIDIEvents()

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

Member Function Documentation

◆ pasteIntoClip()

std::pair<juce::Array<MidiNote*>, juce::Array<MidiControllerEvent*> > tracktion::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/3]

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

◆ pasteIntoEdit() [2/3]

virtual bool tracktion::engine::Clipboard::ContentType::pasteIntoEdit

◆ pasteIntoEdit() [3/3]

virtual bool tracktion::engine::Clipboard::ContentType::pasteIntoEdit

Member Data Documentation

◆ notes

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

◆ controllers

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

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