LMMS
Loading...
Searching...
No Matches
calf_plugins::plugin_preset Struct Reference

Contents of single preset. More...

#include <preset.h>

Public Member Functions

 plugin_preset ()
std::string to_xml ()
 Export preset as XML.
void activate (plugin_ctl_iface *plugin)
 "Upload" preset content to the plugin
void get_from (plugin_ctl_iface *plugin)
 "Download" preset content from the plugin
std::string get_safe_name ()

Public Attributes

int bank
 Bank the preset belongs to (not used yet).
int program
 Program number of the preset (not used yet).
std::string name
 Name of the preset.
std::string plugin
 Name of the plugin the preset is for.
std::vector< std::string > param_names
 Names of parameters in values array (for each item in param_names there should be a counterpart in values).
std::vector< float > values
 Values of parameters.
std::map< std::string, std::string > variables
 DSSI configure-style variables.

Detailed Description

Contents of single preset.

Constructor & Destructor Documentation

◆ plugin_preset()

calf_plugins::plugin_preset::plugin_preset ( )
inline

Member Function Documentation

◆ activate()

void plugin_preset::activate ( plugin_ctl_iface * plugin)

"Upload" preset content to the plugin

◆ get_from()

void plugin_preset::get_from ( plugin_ctl_iface * plugin)

"Download" preset content from the plugin

◆ get_safe_name()

string plugin_preset::get_safe_name ( )

◆ to_xml()

std::string plugin_preset::to_xml ( )

Export preset as XML.

Member Data Documentation

◆ bank

int calf_plugins::plugin_preset::bank

Bank the preset belongs to (not used yet).

◆ name

std::string calf_plugins::plugin_preset::name

Name of the preset.

◆ param_names

std::vector<std::string> calf_plugins::plugin_preset::param_names

Names of parameters in values array (for each item in param_names there should be a counterpart in values).

◆ plugin

std::string calf_plugins::plugin_preset::plugin

Name of the plugin the preset is for.

◆ program

int calf_plugins::plugin_preset::program

Program number of the preset (not used yet).

◆ values

std::vector<float> calf_plugins::plugin_preset::values

Values of parameters.

◆ variables

std::map<std::string, std::string> calf_plugins::plugin_preset::variables

DSSI configure-style variables.


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