33 #ifndef CXTIMEDALGORITHM_H_ 34 #define CXTIMEDALGORITHM_H_ 36 #include "cxResourceExport.h" 44 #include <boost/function.hpp> 47 #include "boost/shared_ptr.hpp" 76 virtual void execute() = 0;
80 virtual bool isFinished()
const = 0;
85 virtual bool isRunning()
const = 0;
89 void started(
int maxSteps);
91 void productChanged();
99 QString getSecondsPassedAsString()
const;
109 QTime getTimePassed();
112 QDateTime mStartTime;
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.