TracktionEngine
Loading...
Searching...
No Matches
Public Member Functions | List of all members
engine::Edit::SaveInhibitor Struct Reference

Stops the Edit being written to disk. More...

#include <tracktion_Edit.h>

Public Member Functions

 SaveInhibitor (Edit &)
 Creates a SaveInhibitor for an Edit.
 
 SaveInhibitor (const SaveInhibitor &)
 Creates a copy of a SaveInhibitor for an Edit.
 
 ~SaveInhibitor ()
 Destructor.
 

Detailed Description

Stops the Edit being written to disk.

Hold one of these across any operation that temporarily changes the Edit and restores it afterwards - a stem render muting the tracks that feed the other stems, for instance. Without it an autosave landing mid-operation would persist state the user never asked for.

Constructor & Destructor Documentation

◆ SaveInhibitor() [1/2]

engine::Edit::SaveInhibitor::SaveInhibitor ( Edit )

Creates a SaveInhibitor for an Edit.

◆ SaveInhibitor() [2/2]

engine::Edit::SaveInhibitor::SaveInhibitor ( const SaveInhibitor )

Creates a copy of a SaveInhibitor for an Edit.

◆ ~SaveInhibitor()

engine::Edit::SaveInhibitor::~SaveInhibitor ( )

Destructor.

If this is the last SaveInhibitor, saving is re-allowed.


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