Audacity 3.2.0
Public Member Functions | List of all members
BasicUI::ProgressDialog Class Referenceabstract

Abstraction of a progress dialog with well defined time-to-completion estimate. More...

#include <BasicUI.h>

Inheritance diagram for BasicUI::ProgressDialog:
[legend]

Public Member Functions

virtual ~ProgressDialog ()
 
virtual ProgressResult Poll (unsigned long long numerator, unsigned long long denominator, const TranslatableString &message={})=0
 Update the bar and poll for clicks. Call only on the main thread. More...
 
virtual void SetMessage (const TranslatableString &message)=0
 Change an existing dialog's message. More...
 

Detailed Description

Abstraction of a progress dialog with well defined time-to-completion estimate.

Definition at line 153 of file BasicUI.h.

Constructor & Destructor Documentation

◆ ~ProgressDialog()

ProgressDialog::~ProgressDialog ( )
virtualdefault

Member Function Documentation

◆ Poll()

virtual ProgressResult BasicUI::ProgressDialog::Poll ( unsigned long long  numerator,
unsigned long long  denominator,
const TranslatableString message = {} 
)
pure virtual

Update the bar and poll for clicks. Call only on the main thread.

Implemented in anonymous_namespace{wxWidgetsBasicUI.cpp}::MyProgressDialog.

Referenced by WaveClip::Resample(), Effect::TotalProgress(), Effect::TrackGroupProgress(), and Effect::TrackProgress().

Here is the caller graph for this function:

◆ SetMessage()

virtual void BasicUI::ProgressDialog::SetMessage ( const TranslatableString message)
pure virtual

Change an existing dialog's message.

Implemented in anonymous_namespace{wxWidgetsBasicUI.cpp}::MyProgressDialog.

Referenced by EffectStereoToMono::Process().

Here is the caller graph for this function:

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