|
TracktionEngine
|
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. | |
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.
| engine::Edit::SaveInhibitor::SaveInhibitor | ( | Edit & | ) |
Creates a SaveInhibitor for an Edit.
| engine::Edit::SaveInhibitor::SaveInhibitor | ( | const SaveInhibitor & | ) |
Creates a copy of a SaveInhibitor for an Edit.
| engine::Edit::SaveInhibitor::~SaveInhibitor | ( | ) |
Destructor.
If this is the last SaveInhibitor, saving is re-allowed.