Guitarix
|
#include <gx_preset.h>
Public Member Functions | |
PresetIO (gx_engine::MidiControllerList &mctrl, gx_engine::ParamMap ¶m, gx_system::CmdlineOptions &opt, UnitRacks &rack_units) | |
~PresetIO () | |
void | read_preset (gx_system::JsonParser &jp, const gx_system::SettingsFileHeader &) override |
void | commit_preset () override |
void | write_preset (gx_system::JsonWriter &jw) override |
void | copy_preset (gx_system::JsonParser &jp, const gx_system::SettingsFileHeader &, gx_system::JsonWriter &jw) override |
Public Member Functions inherited from gx_system::AbstractPresetIO | |
virtual | ~AbstractPresetIO () |
virtual void | read_preset (JsonParser &, const SettingsFileHeader &)=0 |
virtual void | commit_preset ()=0 |
virtual void | write_preset (JsonWriter &)=0 |
virtual void | copy_preset (JsonParser &, const SettingsFileHeader &, JsonWriter &)=0 |
Static Public Member Functions | |
static string | try_replace_param_value (const std::string &id, const std::string &v_id, bool &found) |
Protected Member Functions | |
void | read_parameters (gx_system::JsonParser &jp, bool preset) |
void | write_parameters (gx_system::JsonWriter &w, bool preset) |
void | clear () |
bool | midi_in_preset () |
void | read_intern (gx_system::JsonParser &jp, bool *has_midi, const gx_system::SettingsFileHeader &head) |
void | fixup_parameters (const gx_system::SettingsFileHeader &head) |
void | write_intern (gx_system::JsonWriter &w, bool write_midi) |
bool | convert_old (gx_system::JsonParser &jp) |
void | collectRackOrder (gx_engine::Parameter *p, gx_system::JsonParser &jp, UnitsCollector &u) |
void | commit_midi_feedback (gx_engine::Parameter *p) |
Protected Attributes | |
gx_engine::MidiControllerList & | mctrl |
gx_engine::ParamMap & | param |
gx_system::CmdlineOptions & | opt |
gx_engine::paramlist | plist |
gx_engine::ControllerArray * | m |
UnitRacks & | rack_units |
Friends | |
class | StateIO |
Definition at line 68 of file gx_preset.h.
gx_preset::PresetIO::PresetIO | ( | gx_engine::MidiControllerList & | mctrl, |
gx_engine::ParamMap & | param, | ||
gx_system::CmdlineOptions & | opt, | ||
UnitRacks & | rack_units | ||
) |
gx_preset::PresetIO::~PresetIO | ( | ) |
|
protected |
|
protected |
|
protected |
|
overridevirtual |
Implements gx_system::AbstractPresetIO.
|
protected |
|
overridevirtual |
Implements gx_system::AbstractPresetIO.
|
protected |
|
protected |
|
protected |
|
protected |
|
overridevirtual |
Implements gx_system::AbstractPresetIO.
|
static |
|
protected |
|
protected |
|
overridevirtual |
Implements gx_system::AbstractPresetIO.
|
friend |
Definition at line 87 of file gx_preset.h.
|
protected |
Definition at line 74 of file gx_preset.h.
|
protected |
Definition at line 70 of file gx_preset.h.
|
protected |
Definition at line 72 of file gx_preset.h.
|
protected |
Definition at line 71 of file gx_preset.h.
|
protected |
Definition at line 73 of file gx_preset.h.
|
protected |
Definition at line 75 of file gx_preset.h.