14 #ifndef QmitkDataGenerationJobBase_h
15 #define QmitkDataGenerationJobBase_h
71 bool GetComputationSuccessFlag() const;
77 std::
string GetLastErrorMessage() const;
83 bool IsRunning() const;
105 virtual
bool RunComputation() = 0;
107 std::
string m_LastErrorMessage;
110 bool m_ComputationSuccessful = false;
111 bool m_IsRunning = false;
#define MITKIMAGESTATISTICSUI_EXPORT
Base class for background data generation jobs used by QmitkDataGeneratorBase and derived classes.
virtual ResultMapType GetResults() const =0
Returns all results generated by this job.
void run() final
Executes the job computation with error handling and result signalling.
std::map< std::string, mitk::BaseData::Pointer > ResultMapType
Map type for results produced by the job.