17 #ifndef BERRY_IPROGRESS_MONITOR_H
18 #define BERRY_IPROGRESS_MONITOR_H
20 #include <org_blueberry_core_jobs_Export.h>
34 static const int UNKNOWN = -1;
46 virtual void BeginTask(
const std::string& name,
int totalWork) = 0;
53 virtual void Done() = 0;
93 virtual void SetTaskName(
const std::string& name) = 0;
101 virtual void SubTask(
const std::string& name) = 0;
111 virtual void Worked(
int work) = 0;
virtual bool IsCanceled()=0
virtual void SetCanceled(bool value)=0
virtual void InternalWorked(double work)=0
virtual void SetTaskName(const std::string &name)=0
Light weight base class for most BlueBerry classes.
virtual void BeginTask(const std::string &name, int totalWork)=0
virtual void Worked(int work)=0
virtual void SubTask(const std::string &name)=0
berryObjectMacro(berry::IProgressMonitor) static const int UNKNOWN