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 Globals & Get ()
 

Private Member Functions

 Globals ()
 
void LoadPrefs ()
 

Detailed Description

Definition at line 37 of file SpectrogramSettings.h.

Constructor & Destructor Documentation

◆ Globals()

SpectrogramSettings::Globals::Globals ( )
private

Definition at line 80 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 100 of file SpectrogramSettings.cpp.

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

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 92 of file SpectrogramSettings.cpp.

93{
94#ifdef SPECTRAL_SELECTION_GLOBAL_SWITCH
96#endif
97}
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 85 of file SpectrogramSettings.cpp.

86{
87#ifdef SPECTRAL_SELECTION_GLOBAL_SWITCH
89#endif
90}
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: