ProgressReporterDialog Class Reference

#include <MyProgressDialog.h>

Inheritance diagram for ProgressReporterDialog:

Inheritance graph
[legend]
List of all members.

Public Member Functions

 ProgressReporterDialog (double maxProgress, const wxString &title, const wxString &message, wxWindow *parent=NULL, int style=wxPD_AUTO_HIDE|wxPD_APP_MODAL|wxPD_CAN_ABORT|wxPD_ELAPSED_TIME, const wxSize &sz=wxDefaultSize)
virtual ~ProgressReporterDialog ()
virtual bool increaseProgress (double delta)
virtual bool increaseProgress (double delta, const std::string &msg)
virtual bool increaseProgress (double delta, const std::wstring &msg)
virtual void setMessage (const std::string &msg)

Protected Attributes

double m_progress
double m_maxProgress
wxString m_message
bool m_abort

Constructor & Destructor Documentation

ProgressReporterDialog::ProgressReporterDialog double  maxProgress,
const wxString &  title,
const wxString &  message,
wxWindow *  parent = NULL,
int  style = wxPD_AUTO_HIDE | wxPD_APP_MODAL | wxPD_CAN_ABORT | wxPD_ELAPSED_TIME,
const wxSize &  sz = wxDefaultSize
[inline]
 

Definition at line 36 of file MyProgressDialog.h.

ProgressReporterDialog::~ProgressReporterDialog  )  [virtual]
 

Definition at line 38 of file MyProgressDialog.cpp.


Member Function Documentation

bool ProgressReporterDialog::increaseProgress double  delta,
const std::wstring &  msg
[virtual]
 

Definition at line 78 of file MyProgressDialog.cpp.

References m_maxProgress, m_message, and m_progress.

bool ProgressReporterDialog::increaseProgress double  delta,
const std::string msg
[virtual]
 

Reimplemented from AppBase::ProgressReporter.

Definition at line 60 of file MyProgressDialog.cpp.

References m_maxProgress, m_message, and m_progress.

bool ProgressReporterDialog::increaseProgress double  delta  )  [virtual]
 

Implements AppBase::ProgressReporter.

Definition at line 43 of file MyProgressDialog.cpp.

References m_maxProgress, m_message, and m_progress.

Referenced by PanoPanel::DoCalcOptimalROI(), PanoOperation::CleanControlPointsOperation::GetInternalCommand(), GLPreviewFrame::OnAutocrop(), CPEditorPanel::OnCelesteButton(), and GLPreviewFrame::OnStackAutocrop().

void ProgressReporterDialog::setMessage const std::string msg  )  [virtual]
 

Reimplemented from AppBase::ProgressReporter.

Definition at line 95 of file MyProgressDialog.cpp.

References m_abort, m_maxProgress, m_message, and m_progress.


Member Data Documentation

bool ProgressReporterDialog::m_abort [protected]
 

Definition at line 60 of file MyProgressDialog.h.

Referenced by setMessage().

double ProgressReporterDialog::m_maxProgress [protected]
 

Reimplemented from AppBase::ProgressReporter.

Definition at line 58 of file MyProgressDialog.h.

Referenced by increaseProgress(), and setMessage().

wxString ProgressReporterDialog::m_message [protected]
 

Definition at line 59 of file MyProgressDialog.h.

Referenced by increaseProgress(), and setMessage().

double ProgressReporterDialog::m_progress [protected]
 

Reimplemented from AppBase::ProgressReporter.

Definition at line 57 of file MyProgressDialog.h.

Referenced by increaseProgress(), and setMessage().


The documentation for this class was generated from the following files:
Generated on Sun Sep 21 01:25:50 2014 for Hugintrunk by  doxygen 1.3.9.1