![]() |
Audacity 3.2.0
|
Class template adds an in-memory cache of a value to TransactionalSettingBase and support for SettingTransaction. More...
#include <Prefs.h>
Public Member Functions | |
| CachingSettingBase (const SettingBase &path) | |
Public Member Functions inherited from TransactionalSettingBase | |
| virtual void | Invalidate ()=0 |
| SettingBase (const char *path) | |
| SettingBase (const wxChar *path) | |
| SettingBase (const wxString &path) | |
| SettingBase (const SettingBase &)=default | |
Public Member Functions inherited from SettingBase | |
| SettingBase (const char *path) | |
| SettingBase (const wxChar *path) | |
| SettingBase (const wxString &path) | |
| audacity::BasicSettings * | GetConfig () const |
| const SettingPath & | GetPath () const |
| bool | Delete () |
| Delete the key if present, and return true iff it was. More... | |
Protected Member Functions | |
| CachingSettingBase (const CachingSettingBase &)=default | |
Protected Member Functions inherited from TransactionalSettingBase | |
| virtual void | EnterTransaction (size_t depth)=0 |
| virtual bool | Commit ()=0 |
| virtual void | Rollback () noexcept=0 |
Protected Member Functions inherited from SettingBase | |
| SettingBase (const SettingBase &)=default | |
Protected Attributes | |
| T | mCurrentValue {} |
| bool | mValid {false} |
Protected Attributes inherited from SettingBase | |
| const SettingPath | mPath |
Class template adds an in-memory cache of a value to TransactionalSettingBase and support for SettingTransaction.
|
inlineexplicit |
Definition at line 165 of file Prefs.h.
|
protecteddefault |
|
mutableprotected |
|
mutableprotected |