Audacity 3.2.0
Public Member Functions | Public Attributes | List of all members
RealtimeEffectPanel::PrefsListenerHelper Struct Reference
Inheritance diagram for RealtimeEffectPanel::PrefsListenerHelper:
Collaboration diagram for RealtimeEffectPanel::PrefsListenerHelper:

Public Member Functions

 PrefsListenerHelper (AudacityProject &project)
void UpdatePrefs () override
- Public Member Functions inherited from PrefsListener
 PrefsListener ()
virtual ~PrefsListener ()
virtual void UpdatePrefs ()=0

Public Attributes


Additional Inherited Members

- Static Public Member Functions inherited from PrefsListener
static void Broadcast (int id=0)
 Call this static function to notify all PrefsListener objects. More...
- Protected Member Functions inherited from PrefsListener
virtual void UpdateSelectedPrefs (int id)

Detailed Description

Definition at line 1108 of file RealtimeEffectPanel.cpp.

Constructor & Destructor Documentation

◆ PrefsListenerHelper()

RealtimeEffectPanel::PrefsListenerHelper::PrefsListenerHelper ( AudacityProject project)

Definition at line 1112 of file RealtimeEffectPanel.cpp.

1113 : mProject { project }
1114 {}
const auto project

Member Function Documentation

◆ UpdatePrefs()

void RealtimeEffectPanel::PrefsListenerHelper::UpdatePrefs ( )

Implements PrefsListener.

Definition at line 1116 of file RealtimeEffectPanel.cpp.

1117 {
1118 auto& trackList = TrackList::Get(mProject);
1119 for (auto waveTrack : trackList.Any<WaveTrack>())
1121 }
static TrackList & Get(AudacityProject &project)
Definition: Track.cpp:314
A Track that contains audio waveform data.
Definition: WaveTrack.h:203
void ReopenRealtimeEffectUIData(AudacityProject &project, SampleTrack &track)

References TrackList::Get(), mProject, and anonymous_namespace{RealtimeEffectPanel.cpp}::ReopenRealtimeEffectUIData().

Here is the call graph for this function:

Member Data Documentation

◆ mProject

AudacityProject& RealtimeEffectPanel::PrefsListenerHelper::mProject

Definition at line 1110 of file RealtimeEffectPanel.cpp.

Referenced by UpdatePrefs().

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