Audacity  2.2.2
Public Member Functions | Private Attributes | List of all members
GUIProgressTarget Class Referencefinal

Sends command progress information to a ProgressDialog. More...

#include <CommandTargets.h>

Inheritance diagram for GUIProgressTarget:

Public Member Functions

 GUIProgressTarget (ProgressDialog &pd)
virtual ~GUIProgressTarget ()
void Update (double completed) override
- Public Member Functions inherited from CommandProgressTarget
virtual ~CommandProgressTarget ()

Private Attributes


Detailed Description

Sends command progress information to a ProgressDialog.

Definition at line 50 of file CommandTargets.h.

Constructor & Destructor Documentation

GUIProgressTarget::GUIProgressTarget ( ProgressDialog pd)

Definition at line 55 of file CommandTargets.h.

56  : mProgress(pd)
57  {}
ProgressDialog & mProgress
virtual GUIProgressTarget::~GUIProgressTarget ( )

Definition at line 58 of file CommandTargets.h.

58 {}

Member Function Documentation

void GUIProgressTarget::Update ( double  completed)

Implements CommandProgressTarget.

Definition at line 59 of file CommandTargets.h.

References mProgress, and ProgressDialog::Update().

60  {
61  mProgress.Update(completed);
62  }
ProgressDialog & mProgress
ProgressResult Update(int value, const wxString &message=wxEmptyString)

Member Data Documentation

ProgressDialog& GUIProgressTarget::mProgress

Definition at line 53 of file CommandTargets.h.

Referenced by Update().

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