Medical Imaging Interaction Toolkit  2021.02.99-f0b8f189
Medical Imaging Interaction Toolkit
berryIJobManager.h
Go to the documentation of this file.
1 /*============================================================================
2 
3 The Medical Imaging Interaction Toolkit (MITK)
4 
5 Copyright (c) German Cancer Research Center (DKFZ)
6 All rights reserved.
7 
8 Use of this source code is governed by a 3-clause BSD license that can be
9 found in the LICENSE file.
10 
11 ============================================================================*/
12 
13 #ifndef _BERRY_IJOBMANAGER_H
14 #define _BERRY_IJOBMANAGER_H
15 
16 #include<string>
17 
19 
20 #include "berryJob.h"
21 #include "berryProgressProvider.h"
22 #include "berryIProgressMonitor.h"
24 
25 #include<Poco/Thread.h>
26 
27 namespace berry
28 {
29 
55 {
56 
58 
67  static const std::string PROP_USE_DAEMON_THREADS ;
68 
77  virtual void AddJobChangeListener(IJobChangeListener* listener) = 0;
78 
109  virtual IProgressMonitor::Pointer CreateProgressGroup() = 0;
110 
119  virtual bool IsIdle()= 0;
120 
128  virtual bool IsSuspended() = 0;
129 
138  virtual void RemoveJobChangeListener(IJobChangeListener* listener) = 0;
139 
151  virtual void SetProgressProvider(ProgressProvider::Pointer provider) = 0;
152 
153 };
154 
155 }
156 #endif /* IJOBMANAGER */
#define BERRY_JOBS
Light weight base class for most BlueBerry classes.
Definition: berryObject.h:72
static const std::string PROP_USE_DAEMON_THREADS
#define berryObjectMacro(...)
Definition: berryMacros.h:33