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 159 of file CommandTargets.h.

Constructor & Destructor Documentation

GUIProgressTarget::GUIProgressTarget ( ProgressDialog pd)

Definition at line 164 of file CommandTargets.h.

165  : mProgress(pd)
166  {}
ProgressDialog & mProgress
virtual GUIProgressTarget::~GUIProgressTarget ( )

Definition at line 167 of file CommandTargets.h.

167 {}

Member Function Documentation

void GUIProgressTarget::Update ( double  completed)

Implements CommandProgressTarget.

Definition at line 168 of file CommandTargets.h.

References mProgress, and ProgressDialog::Update().

169  {
170  mProgress.Update(completed);
171  }
ProgressDialog & mProgress
ProgressResult Update(int value, const wxString &message=wxEmptyString)

Member Data Documentation

ProgressDialog& GUIProgressTarget::mProgress

Definition at line 162 of file CommandTargets.h.

Referenced by Update().

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