Zrythm v2.0.0-DEV
a highly automated and intuitive digital audio workstation
Loading...
Searching...
No Matches
zrythm::commands::RemovePluginsCommand Class Reference

Command to remove one or more plugins from a PluginGroup. More...

#include <src/commands/remove_plugins_command.h>

Inheritance diagram for zrythm::commands::RemovePluginsCommand:
Collaboration diagram for zrythm::commands::RemovePluginsCommand:

Data Structures

struct  PluginRemoveInfo
 Per-plugin info for the removal. More...

Public Member Functions

 RemovePluginsCommand (std::vector< PluginRemoveInfo > plugin_infos)
 Constructs a command to remove plugins.
void undo () override
void redo () override
int id () const override

Static Public Attributes

static constexpr int CommandId = 1775263310

Detailed Description

Command to remove one or more plugins from a PluginGroup.

On undo, plugins are reinserted at their original positions and their automation tracks are restored.

Definition at line 23 of file remove_plugins_command.h.

Constructor & Destructor Documentation

◆ RemovePluginsCommand()

zrythm::commands::RemovePluginsCommand::RemovePluginsCommand ( std::vector< PluginRemoveInfo > plugin_infos)
explicit

Constructs a command to remove plugins.

Parameters
plugin_infosPlugins to remove with their source locations.

Member Function Documentation

◆ id()

int zrythm::commands::RemovePluginsCommand::id ( ) const
inlineoverride

Definition at line 51 of file remove_plugins_command.h.

Field Documentation

◆ CommandId

int zrythm::commands::RemovePluginsCommand::CommandId = 1775263310
staticconstexpr

Definition at line 26 of file remove_plugins_command.h.


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