Audacity  3.0.3
Public Member Functions | List of all members
SelectionBarListener Class Referenceabstract

A parent class of SelectionBar, used to forward events to do with changes in the SelectionBar. More...

#include <SelectionBarListener.h>

Inheritance diagram for SelectionBarListener:
[legend]

Public Member Functions

 SelectionBarListener ()
 
virtual ~SelectionBarListener ()
 
virtual double AS_GetRate ()=0
 
virtual void AS_SetRate (double rate)=0
 
virtual int AS_GetSnapTo ()=0
 
virtual void AS_SetSnapTo (int snap)=0
 
virtual const NumericFormatSymbolAS_GetSelectionFormat ()=0
 
virtual void AS_SetSelectionFormat (const NumericFormatSymbol &format)=0
 
virtual void AS_ModifySelection (double &start, double &end, bool done)=0
 

Detailed Description

A parent class of SelectionBar, used to forward events to do with changes in the SelectionBar.

Definition at line 19 of file SelectionBarListener.h.

Constructor & Destructor Documentation

◆ SelectionBarListener()

SelectionBarListener::SelectionBarListener ( )
inline

Definition at line 23 of file SelectionBarListener.h.

23 {};

◆ ~SelectionBarListener()

virtual SelectionBarListener::~SelectionBarListener ( )
inlinevirtual

Definition at line 24 of file SelectionBarListener.h.

24 {};

Member Function Documentation

◆ AS_GetRate()

virtual double SelectionBarListener::AS_GetRate ( )
pure virtual

Implemented in ProjectSelectionManager.

Referenced by SelectionBar::SetListener().

Here is the caller graph for this function:

◆ AS_GetSelectionFormat()

virtual const NumericFormatSymbol& SelectionBarListener::AS_GetSelectionFormat ( )
pure virtual

Implemented in ProjectSelectionManager.

Referenced by SelectionBar::AddTime(), SelectionBar::RegenerateTooltips(), and SelectionBar::SetListener().

Here is the caller graph for this function:

◆ AS_GetSnapTo()

virtual int SelectionBarListener::AS_GetSnapTo ( )
pure virtual

Implemented in ProjectSelectionManager.

Referenced by SelectionBar::Populate(), and SelectionBar::SetListener().

Here is the caller graph for this function:

◆ AS_ModifySelection()

virtual void SelectionBarListener::AS_ModifySelection ( double &  start,
double &  end,
bool  done 
)
pure virtual

Implemented in ProjectSelectionManager.

Referenced by SelectionBar::ModifySelection().

Here is the caller graph for this function:

◆ AS_SetRate()

virtual void SelectionBarListener::AS_SetRate ( double  rate)
pure virtual

Implemented in ProjectSelectionManager.

Referenced by SelectionBar::OnRate().

Here is the caller graph for this function:

◆ AS_SetSelectionFormat()

virtual void SelectionBarListener::AS_SetSelectionFormat ( const NumericFormatSymbol format)
pure virtual

Implemented in ProjectSelectionManager.

Referenced by SelectionBar::OnUpdate().

Here is the caller graph for this function:

◆ AS_SetSnapTo()

virtual void SelectionBarListener::AS_SetSnapTo ( int  snap)
pure virtual

Implemented in ProjectSelectionManager.

Referenced by SelectionBar::OnSnapTo().

Here is the caller graph for this function:

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