12 #ifndef CXTIMEDALGORITHM_H_ 13 #define CXTIMEDALGORITHM_H_ 15 #include "cxResourceExport.h" 23 #include <boost/function.hpp> 26 #include "boost/shared_ptr.hpp" 55 virtual void execute() = 0;
59 virtual bool isFinished()
const = 0;
64 virtual bool isRunning()
const = 0;
68 void started(
int maxSteps);
70 void productChanged();
78 QString getSecondsPassedAsString()
const;
88 QTime getTimePassed();
Base class for algorithms that wants to time their execution.
virtual void finishedSlot()
boost::shared_ptr< class TimedBaseAlgorithm > TimedAlgorithmPtr
virtual QString getProduct() const
virtual void postProcessingSlot()
Namespace for all CustusX production code.