AppBase::ProgressReporterAdaptor Class Reference

#include <ProgressReporterOld.h>

Inheritance diagram for AppBase::ProgressReporterAdaptor:

Inheritance graph
[legend]
List of all members.

Public Member Functions

 ProgressReporterAdaptor (ProgressDisplay &myProgressDisplay, const double &maxProgress)
virtual ~ProgressReporterAdaptor ()
bool increaseProgress (double delta)
void setMessage (const std::string &msg)

Static Public Member Functions

ProgressReporternewProgressReporter (ProgressDisplay *myProgressDisplay, const double &maxProgress)

Protected Attributes

ProgressDisplayo_progressDisplay

Constructor & Destructor Documentation

AppBase::ProgressReporterAdaptor::ProgressReporterAdaptor ProgressDisplay myProgressDisplay,
const double &  maxProgress
 

Definition at line 41 of file ProgressReporterOld.cpp.

References o_progressDisplay, and AppBase::ProgressDisplay::startSubtask().

Referenced by newProgressReporter().

AppBase::ProgressReporterAdaptor::~ProgressReporterAdaptor  )  [virtual]
 

Definition at line 50 of file ProgressReporterOld.cpp.

References AppBase::ProgressDisplay::finishSubtask(), and o_progressDisplay.


Member Function Documentation

bool AppBase::ProgressReporterAdaptor::increaseProgress double  delta  )  [virtual]
 

Implements AppBase::ProgressReporter.

Definition at line 58 of file ProgressReporterOld.cpp.

References AppBase::ProgressDisplay::finishSubtask(), AppBase::ProgressDisplay::getSubtaskMessage(), AppBase::ProgressDisplay::increaseSubtaskProgressBy(), o_progressDisplay, AppBase::ProgressDisplay::startSubtask(), and AppBase::ProgressDisplay::wasCancelled().

ProgressReporter * AppBase::ProgressReporterAdaptor::newProgressReporter ProgressDisplay myProgressDisplay,
const double &  maxProgress
[static]
 

Definition at line 76 of file ProgressReporterOld.cpp.

References ProgressReporterAdaptor().

Referenced by HuginBase::PointSampler::runAlgorithm(), and HuginBase::PhotometricOptimizer::runAlgorithm().

void AppBase::ProgressReporterAdaptor::setMessage const std::string msg  )  [virtual]
 

Reimplemented from AppBase::ProgressReporter.

Definition at line 70 of file ProgressReporterOld.cpp.

References o_progressDisplay, and AppBase::ProgressDisplay::setSubtaskMessage().


Member Data Documentation

ProgressDisplay& AppBase::ProgressReporterAdaptor::o_progressDisplay [protected]
 

Definition at line 104 of file ProgressReporterOld.h.

Referenced by increaseProgress(), ProgressReporterAdaptor(), setMessage(), and ~ProgressReporterAdaptor().


The documentation for this class was generated from the following files:
Generated on Wed Jul 30 01:25:54 2014 for Hugintrunk by  doxygen 1.3.9.1