TracktionEngine
Loading...
Searching...
No Matches
engine::PluginCreationInfo Struct Reference

Holds the information needed to construct a Plugin: the owning Edit, the ValueTree that stores the plugin's persistent state, and whether this is a brand-new insertion vs. More...

#include <tracktion_Plugin.h>

Public Member Functions

 PluginCreationInfo (const PluginCreationInfo &)=default
 PluginCreationInfo (PluginCreationInfo &&)=default
PluginCreationInfo & operator= (PluginCreationInfo &&)=delete
 PluginCreationInfo (Edit &ed, const juce::ValueTree &s, bool isNew) noexcept
 PluginCreationInfo ()=delete
PluginCreationInfo & operator= (const PluginCreationInfo &)=delete

Public Attributes

Edit & edit
juce::ValueTree state
bool isNewPlugin = false

Detailed Description

Holds the information needed to construct a Plugin: the owning Edit, the ValueTree that stores the plugin's persistent state, and whether this is a brand-new insertion vs.

a reload from saved state.

Constructor & Destructor Documentation

◆ PluginCreationInfo() [1/4]

engine::PluginCreationInfo::PluginCreationInfo ( const PluginCreationInfo & )
default

◆ PluginCreationInfo() [2/4]

engine::PluginCreationInfo::PluginCreationInfo ( PluginCreationInfo && )
default

References PluginCreationInfo().

◆ PluginCreationInfo() [3/4]

engine::PluginCreationInfo::PluginCreationInfo ( Edit & ed,
const juce::ValueTree & s,
bool isNew )
noexcept

References edit, isNewPlugin, and state.

◆ PluginCreationInfo() [4/4]

engine::PluginCreationInfo::PluginCreationInfo ( )
delete

Member Function Documentation

◆ operator=() [1/2]

PluginCreationInfo & engine::PluginCreationInfo::operator= ( PluginCreationInfo && )
delete

References PluginCreationInfo().

◆ operator=() [2/2]

PluginCreationInfo & engine::PluginCreationInfo::operator= ( const PluginCreationInfo & )
delete

References PluginCreationInfo().

Member Data Documentation

◆ edit

Edit& engine::PluginCreationInfo::edit

Referenced by PluginCreationInfo().

◆ state

juce::ValueTree engine::PluginCreationInfo::state

Referenced by PluginCreationInfo().

◆ isNewPlugin

bool engine::PluginCreationInfo::isNewPlugin = false

Referenced by PluginCreationInfo().


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