11namespace tracktion {
inline namespace engine
24 Edit& getEdit()
const {
return edit; }
25 Clip* getOwnerClip()
const {
return ownerClip; }
26 Track* getOwnerTrack()
const {
return ownerTrack; }
29 void releaseObjects();
32 void updateTrackProperties();
39 Plugin* operator[] (
int index)
const;
40 bool contains (
const Plugin*)
const;
41 int indexOf (
const Plugin*)
const;
44 void sendMirrorUpdateToAllPlugins (
Plugin&)
const;
47 bool needsConstantBufferSize();
48 bool canInsertPlugin();
52 void addDefaultTrackPlugins (
bool useVCA);
53 void addPluginsFrom (
const juce::ValueTree&,
bool clearFirst,
bool atStart);
55 template <
typename PluginType>
56 PluginType* findFirstPluginOfType()
const
59 if (
auto f =
dynamic_cast<PluginType*
> (af))
65 template <
typename PluginType>
71 if (
auto f =
dynamic_cast<PluginType*
> (af))
83 Track* ownerTrack =
nullptr;
84 Clip* ownerClip =
nullptr;
void add(const ElementType &newElement)
The Tracktion Edit class!
Holds a sequence of plugins.
Manages a list of items that are currently selected.
Base class for tracks which contain clips and plugins and can be added to Edit[s].