Audacity 3.2.0
List of all members
ProjectHistory::AutoSave Struct Reference

#include <ProjectHistory.h>

Inheritance diagram for ProjectHistory::AutoSave:
[legend]
Collaboration diagram for ProjectHistory::AutoSave:
[legend]

Additional Inherited Members

- Public Types inherited from GlobalHook< AutoSave, void(AudacityProject &) >
using result_type = typename std::function< void(AudacityProject &) >::result_type
 
using Scope = typename GlobalVariable< AutoSave, const std::function< void(AudacityProject &) >, nullptr, Options... >::Scope
 
- Public Types inherited from GlobalVariable< AutoSave, const std::function< void(AudacityProject &) >, nullptr, Options... >
using variable_type = GlobalVariable
 
using stored_type = const std::function< void(AudacityProject &) >
 
using mutable_type = std::remove_const_t< const std::function< void(AudacityProject &) > >
 
- Static Public Member Functions inherited from GlobalHook< AutoSave, void(AudacityProject &) >
static result_type Call (Arguments &&...arguments)
 Null check of the installed function is done for you. More...
 
- Static Public Member Functions inherited from GlobalVariable< AutoSave, const std::function< void(AudacityProject &) >, nullptr, Options... >
static stored_typeGet ()
 Get the installed value. More...
 
static auto Set (std::conditional_t< ScopedOnly, dummy, mutable_type > replacement) -> std::conditional_t< ScopedOnly, void, mutable_type >
 Move in a new value, move out and return the previous. More...
 

Detailed Description

Type of function that saves project state to the database, or throws an exception on failure

Invoked when undo states are added or modified, or when the current state changes because of undo or redo

Definition at line 31 of file ProjectHistory.h.


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