13 #ifndef QmitkDataGeneratorBase_h 
   14 #define QmitkDataGeneratorBase_h 
   58   bool GetAutoUpdate() 
const;
 
   63   bool IsGenerating() 
const;
 
   69   bool Generate() 
const;
 
   78   void SetAutoUpdate(
bool autoUpdate);
 
   94   void NewDataAvailable(mitk::DataStorage::SetOfObjects::ConstPointer data) 
const;
 
   98   void GenerationFinished() 
const;
 
  112   using InputPairVectorType = std::vector<std::pair<mitk::DataNode::ConstPointer, mitk::DataNode::ConstPointer>>;
 
  115   virtual bool ChangedNodeIsRelevant(
const mitk::DataNode* changedNode) 
const = 0;
 
  130   virtual std::pair<QmitkDataGenerationJobBase*,mitk::DataNode::Pointer> GetNextMissingGenerationJob(
const mitk::DataNode* imageNode, 
const mitk::DataNode* roiNode) 
const =0;
 
  144   std::string GetPairDescription(
const InputPairVectorType::value_type& imageAndSeg) 
const;
 
  147   bool DoGenerate() 
const;
 
  150   void EnsureRecheckingAndGeneration() 
const;
 
  154   bool m_AutoUpdate = 
false;
 
  164   mutable bool m_InGenerate = 
false;
 
  166   mutable bool m_RestartGeneration = 
false;
 
  168   mutable bool m_WIP = 
false;
 
  170   mutable bool m_AddingToStorage = 
false;
 
  175   unsigned long m_DataStorageDeletedTag;