TracktionEngine
Loading...
Searching...
No Matches
engine::Clipboard Class Reference

#include <tracktion_Clipboard.h>

Inherits juce::DeletedAtShutdown.

Classes

struct  ContentType
struct  ProjectItems
struct  Clips
struct  Scenes
struct  Tracks
struct  TempoChanges
struct  AutomationPoints
struct  MIDIEvents
struct  Pitches
struct  TimeSigs
struct  Plugins
struct  Takes
struct  Modifiers

Public Member Functions

 Clipboard ()
 ~Clipboard ()
void clear ()
bool isEmpty () const
void setContent (std::unique_ptr< ContentType > newContent)
const ContentType * getContent () const
template<typename Type, typename... Args>
void makeContent (Args &&... args)
template<typename Type>
const Type * getContentWithType () const
template<typename Type>
bool hasContentWithType () const
void addListener (juce::ChangeListener *)
void removeListener (juce::ChangeListener *)

Constructor & Destructor Documentation

◆ Clipboard()

engine::Clipboard::Clipboard ( )

Referenced by removeListener(), and ~Clipboard().

◆ ~Clipboard()

engine::Clipboard::~Clipboard ( )

References Clipboard().

Member Function Documentation

◆ clear()

void engine::Clipboard::clear ( )

◆ isEmpty()

bool engine::Clipboard::isEmpty ( ) const

◆ setContent()

void engine::Clipboard::setContent ( std::unique_ptr< ContentType > newContent)

Referenced by makeContent().

◆ getContent()

const ContentType * engine::Clipboard::getContent ( ) const

Referenced by getContentWithType().

◆ makeContent()

template<typename Type, typename... Args>
void engine::Clipboard::makeContent ( Args &&... args)

References setContent().

◆ getContentWithType()

template<typename Type>
const Type * engine::Clipboard::getContentWithType ( ) const

References getContent().

Referenced by hasContentWithType().

◆ hasContentWithType()

template<typename Type>
bool engine::Clipboard::hasContentWithType ( ) const

References getContentWithType().

◆ addListener()

void engine::Clipboard::addListener ( juce::ChangeListener * )

◆ removeListener()

void engine::Clipboard::removeListener ( juce::ChangeListener * )

References Clipboard().


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