casa::ProgressMonitor Class Reference

Abstraction for a display widget that can show the progress of an operation. More...

#include <ProgressMonitor.h>

Inheritance diagram for casa::ProgressMonitor:
casa::QtProgressWidget

List of all members.

Public Member Functions

virtual void initialize (const String &)=0
 Initialize the monitor with the identifying operation.
virtual void setProgress (unsigned int, const String &)=0
 Set the progress to a specific amount and status.
virtual void finalize ()=0
 Stop the progress.
virtual void setAllowedOperations (bool background, bool pauseResume, bool cancel)=0
 Set whether the user is allowed to cancel, put the operation in the background, or pause/resume the operation.

Protected Member Functions

 ProgressMonitor ()
virtual ~ProgressMonitor ()

Detailed Description

Abstraction for a display widget that can show the progress of an operation.

Definition at line 40 of file ProgressMonitor.h.


Constructor & Destructor Documentation

casa::ProgressMonitor::ProgressMonitor (  )  [inline, protected]

Definition at line 52 of file ProgressMonitor.h.

virtual casa::ProgressMonitor::~ProgressMonitor (  )  [inline, protected, virtual]

Definition at line 53 of file ProgressMonitor.h.


Member Function Documentation

virtual void casa::ProgressMonitor::finalize (  )  [pure virtual]

Stop the progress.

Implemented in casa::QtProgressWidget.

virtual void casa::ProgressMonitor::initialize ( const String &   )  [pure virtual]

Initialize the monitor with the identifying operation.

Implemented in casa::QtProgressWidget.

virtual void casa::ProgressMonitor::setAllowedOperations ( bool  background,
bool  pauseResume,
bool  cancel 
) [pure virtual]

Set whether the user is allowed to cancel, put the operation in the background, or pause/resume the operation.

Implemented in casa::QtProgressWidget.

virtual void casa::ProgressMonitor::setProgress ( unsigned  int,
const String &   
) [pure virtual]

Set the progress to a specific amount and status.

Implemented in casa::QtProgressWidget.


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines

Generated on 31 Aug 2016 for casa by  doxygen 1.6.1