casa  5.7.0-16
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Member Functions | Protected Member Functions | List of all members
casa::ProgressMonitor Class Referenceabstract

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

#include <ProgressMonitor.h>

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

Public Member Functions

virtual void initialize (const casacore::String &)=0
 Initialize the monitor with the identifying operation. More...
 
virtual void setProgress (unsigned int, const casacore::String &)=0
 Set the progress to a specific amount and status. More...
 
virtual void finalize ()=0
 Stop the progress. More...
 
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. More...
 

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 ( )
inlineprotected

Definition at line 52 of file ProgressMonitor.h.

virtual casa::ProgressMonitor::~ProgressMonitor ( )
inlineprotectedvirtual

Definition at line 53 of file ProgressMonitor.h.

Member Function Documentation

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

Stop the progress.

virtual void casa::ProgressMonitor::initialize ( const casacore::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 casacore::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: