Ardour  9.0-pre0-582-g084a23a80d
ProgressReporter Class Referenceabstract

#include <progress_reporter.h>

Inheritance diagram for ProgressReporter:
[legend]

Public Member Functions

 ProgressReporter ()
 
virtual ~ProgressReporter ()
 
- Public Member Functions inherited from PBD::Progress
 Progress ()
 
virtual ~Progress ()
 
void set_progress (float)
 
void ascend ()
 
void descend (float)
 
bool cancelled () const
 

Private Member Functions

void set_overall_progress (float)
 
virtual void update_progress_gui (float p)=0
 

Private Attributes

int _p
 

Additional Inherited Members

- Protected Member Functions inherited from PBD::Progress
void cancel ()
 

Detailed Description

A parent class for classes which can report progress on something

Definition at line 24 of file progress_reporter.h.

Constructor & Destructor Documentation

◆ ProgressReporter()

ProgressReporter::ProgressReporter ( )

◆ ~ProgressReporter()

virtual ProgressReporter::~ProgressReporter ( )
virtual

Member Function Documentation

◆ set_overall_progress()

void ProgressReporter::set_overall_progress ( float  p)
privatevirtual

Report overall progress.

Parameters
pCurrent progress (from 0 to 1)

Implements PBD::Progress.

◆ update_progress_gui()

virtual void ProgressReporter::update_progress_gui ( float  p)
privatepure virtual

Update our GUI to reflect progress.

Parameters
pProgress, from 0 to 1.

Implemented in TimeFXDialog, StripSilenceDialog, SessionArchiveDialog, and NormalizeDialog.

Member Data Documentation

◆ _p

int ProgressReporter::_p
private

Definition at line 37 of file progress_reporter.h.


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