Audacity 3.2.0
Public Member Functions | Static Public Member Functions | Private Member Functions | List of all members
SpectrogramSettings::Globals Class Reference

#include <SpectrogramSettings.h>

Public Member Functions

void SavePrefs ()
 

Static Public Member Functions

static GlobalsGet ()
 

Private Member Functions

 Globals ()
 
void LoadPrefs ()
 

Detailed Description

Definition at line 36 of file SpectrogramSettings.h.

Constructor & Destructor Documentation

◆ Globals()

SpectrogramSettings::Globals::Globals ( )
private

Definition at line 81 of file SpectrogramSettings.cpp.

References LoadPrefs().

Here is the call graph for this function:

Member Function Documentation

◆ Get()

SpectrogramSettings::Globals & SpectrogramSettings::Globals::Get ( )
static

Definition at line 101 of file SpectrogramSettings.cpp.

102{
103 static Globals instance;
104 return instance;
105}

Referenced by SpectrumPrefs::Commit(), SpectrumPrefs::PopulateOrExchange(), and SpectrogramSettings::SpectralSelectionEnabled().

Here is the caller graph for this function:

◆ LoadPrefs()

void SpectrogramSettings::Globals::LoadPrefs ( )
private

Definition at line 93 of file SpectrogramSettings.cpp.

94{
95#ifdef SPECTRAL_SELECTION_GLOBAL_SWITCH
97#endif
98}
bool Read(T *pVar) const
overload of Read returning a boolean that is true if the value was previously defined *‍/
Definition: Prefs.h:207

References Setting< T >::Read(), SpectrogramSettings::spectralSelection, and anonymous_namespace{SpectrogramSettings.cpp}::SpectrumEnableSelection.

Referenced by Globals().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ SavePrefs()

void SpectrogramSettings::Globals::SavePrefs ( )

Definition at line 86 of file SpectrogramSettings.cpp.

87{
88#ifdef SPECTRAL_SELECTION_GLOBAL_SWITCH
90#endif
91}
bool Write(const T &value)
Write value to config and return true if successful.
Definition: Prefs.h:259

References SpectrogramSettings::spectralSelection, anonymous_namespace{SpectrogramSettings.cpp}::SpectrumEnableSelection, and Setting< T >::Write().

Referenced by SpectrumPrefs::Commit().

Here is the call graph for this function:
Here is the caller graph for this function:

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