Loading...
Searching...
No Matches
Library::PresetAudition Class Referencefinal
Inheritance diagram for Library::PresetAudition:

Detailed Description

Presets loaded live into a process while the user moves through them in the library: one undo step for the whole session, the last preset's.

Public Member Functions

 PresetAudition (QObject *parent=nullptr)
 
bool preview (const Process::ProcessModel &proc, const Process::Preset &p)
 Loads it in place of the session's previous preset.
 
void commit ()
 Keeps the current preset, as one undo step.
 
void rollback ()
 Back to the state before the session.
 
bool active () const noexcept
 
const Process::ProcessModel * process () const noexcept
 

Static Public Member Functions

static bool canAudition (const Process::ProcessModel &proc, const Process::Preset &p)
 

Member Function Documentation

◆ canAudition()

bool Library::PresetAudition::canAudition ( const Process::ProcessModel &  proc,
const Process::Preset &  p 
)
static

Loading it only sets controls (ProcessModel::presetChangesPorts): one that can rebuild ports is not auditioned


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