Medical Imaging Interaction Toolkit  2023.12.99-101158b3
Medical Imaging Interaction Toolkit
berryProgressProvider.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_PROGRESSPROVIDER_H
14 #define _BERRY_PROGRESSPROVIDER_H
15 
16 #include "berryIProgressMonitor.h"
17 #include "berryObject.h"
18 #include "berryJob.h"
19 
20 namespace berry
21 {
22 
34 struct ProgressProvider: public Object
35 {
36 
37 public:
38 
40 
53  virtual IProgressMonitor::Pointer CreateMonitor(Job::Pointer job) = 0;
54 
68 
93  virtual IProgressMonitor::Pointer CreateMonitor(Job::Pointer sptr_job,
94  IProgressMonitor::Pointer sptr_group, int ticks);
95 
106 };
107 
108 }
109 #endif /* BERRY_PROGRESSPROVIDER_H */
berry::SmartPointer
Implements transparent reference counting.
Definition: berryICommandCategoryListener.h:21
berry::ProgressProvider::GetDefaultMonitor
virtual IProgressMonitor::Pointer GetDefaultMonitor()
berry::Object
Light weight base class for most BlueBerry classes.
Definition: berryObject.h:72
berry::ProgressProvider::CreateMonitor
virtual IProgressMonitor::Pointer CreateMonitor(Job::Pointer job)=0
berry::ProgressProvider
Definition: berryProgressProvider.h:34
berry::ProgressProvider::berryObjectMacro
berryObjectMacro(ProgressProvider)
berryJob.h
berryIProgressMonitor.h
berryObject.h
berry::ProgressProvider::CreateProgressGroup
virtual IProgressMonitor::Pointer CreateProgressGroup()
berry
Definition: QmitkPropertyItemModel.h:24