Audacity 3.2.0
Public Member Functions | Private Attributes | List of all members
TrackPanelAx::Adapter Struct Reference

#include <TrackPanelAx.h>

Inheritance diagram for TrackPanelAx::Adapter:
[legend]
Collaboration diagram for TrackPanelAx::Adapter:
[legend]

Public Member Functions

 Adapter (TrackPanelAx *pAx)
 
 ~Adapter () override
 
void MessageForScreenReader (const TranslatableString &message) override
 
void BeginChangeFocus () override
 
void EndChangeFocus (const std::shared_ptr< Track > &track) override
 
void UpdateAccessibility () override
 
- Public Member Functions inherited from TrackFocusCallbacks
virtual ~TrackFocusCallbacks ()
 
virtual void MessageForScreenReader (const TranslatableString &message)=0
 
virtual void BeginChangeFocus ()=0
 
virtual void EndChangeFocus (const std::shared_ptr< Track > &track)=0
 
virtual void UpdateAccessibility ()=0
 

Private Attributes

const wxWeakRef< TrackPanelAxmwAx
 

Detailed Description

Definition at line 37 of file TrackPanelAx.h.

Constructor & Destructor Documentation

◆ Adapter()

TrackPanelAx::Adapter::Adapter ( TrackPanelAx pAx)
inline

Definition at line 38 of file TrackPanelAx.h.

38: mwAx{ pAx } {}
const wxWeakRef< TrackPanelAx > mwAx
Definition: TrackPanelAx.h:47

◆ ~Adapter()

TrackPanelAx::Adapter::~Adapter ( )
overridedefault

Member Function Documentation

◆ BeginChangeFocus()

void TrackPanelAx::Adapter::BeginChangeFocus ( )
overridevirtual

Implements TrackFocusCallbacks.

Definition at line 43 of file TrackPanelAx.cpp.

44{
45 if (mwAx)
46 mwAx->BeginChangeFocus();
47}

◆ EndChangeFocus()

void TrackPanelAx::Adapter::EndChangeFocus ( const std::shared_ptr< Track > &  track)
overridevirtual

Implements TrackFocusCallbacks.

Definition at line 49 of file TrackPanelAx.cpp.

51{
52 if (mwAx)
53 mwAx->EndChangeFocus(track);
54}

◆ MessageForScreenReader()

void TrackPanelAx::Adapter::MessageForScreenReader ( const TranslatableString message)
overridevirtual

Implements TrackFocusCallbacks.

Definition at line 36 of file TrackPanelAx.cpp.

38{
39 if (mwAx)
40 mwAx->MessageForScreenReader(message);
41}

References mwAx.

◆ UpdateAccessibility()

void TrackPanelAx::Adapter::UpdateAccessibility ( )
overridevirtual

Implements TrackFocusCallbacks.

Definition at line 56 of file TrackPanelAx.cpp.

57{
58 if (mwAx)
59 mwAx->UpdateAccessibility();
60}

Member Data Documentation

◆ mwAx

const wxWeakRef<TrackPanelAx> TrackPanelAx::Adapter::mwAx
private

Definition at line 47 of file TrackPanelAx.h.

Referenced by MessageForScreenReader().


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