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 1038 of file RealtimeEffectPanel.cpp.

Constructor & Destructor Documentation

◆ PrefsListenerHelper()

RealtimeEffectPanel::PrefsListenerHelper::PrefsListenerHelper ( AudacityProject project)

Definition at line 1042 of file RealtimeEffectPanel.cpp.

1043 : mProject { project }
1044 {}

Member Function Documentation

◆ UpdatePrefs()

void RealtimeEffectPanel::PrefsListenerHelper::UpdatePrefs ( )

Implements PrefsListener.

Definition at line 1046 of file RealtimeEffectPanel.cpp.

1047 {
1048 auto& trackList = TrackList::Get(mProject);
1049 for (auto waveTrack : trackList.Any<WaveTrack>())
1051 }
static TrackList & Get(AudacityProject &project)
Definition: Track.cpp:487
A Track that contains audio waveform data.
Definition: WaveTrack.h:51
void ReopenRealtimeEffectUIData(AudacityProject &project, Track &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 1040 of file RealtimeEffectPanel.cpp.

Referenced by UpdatePrefs().

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