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

Public Member Functions

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

Public Attributes

AudacityProjectmProject
 

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

Constructor & Destructor Documentation

◆ PrefsListenerHelper()

RealtimeEffectPanel::PrefsListenerHelper::PrefsListenerHelper ( AudacityProject project)
inlineexplicit

Definition at line 1028 of file RealtimeEffectPanel.cpp.

1029 : mProject { project }
1030 {}
const auto project

Member Function Documentation

◆ UpdatePrefs()

void RealtimeEffectPanel::PrefsListenerHelper::UpdatePrefs ( )
inlineoverridevirtual

Implements PrefsListener.

Definition at line 1032 of file RealtimeEffectPanel.cpp.

1033 {
1034 auto& trackList = TrackList::Get(mProject);
1035 for (auto waveTrack : trackList.Any<WaveTrack>())
1037 }
static TrackList & Get(AudacityProject &project)
Definition: Track.cpp:347
A Track that contains audio waveform data.
Definition: WaveTrack.h:227
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 1026 of file RealtimeEffectPanel.cpp.

Referenced by UpdatePrefs().


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