Medical Imaging Interaction Toolkit
2016.11.0
Medical Imaging Interaction Toolkit
Home
Manual
API Reference
Download
Bugzilla
Groups
Namespace List
Class List
File List
Examples
File List
File Members
berryProgressProvider.cpp
Go to the documentation of this file.
1
/*===================================================================
2
3
BlueBerry Platform
4
5
Copyright (c) German Cancer Research Center,
6
Division of Medical and Biological Informatics.
7
All rights reserved.
8
9
This software is distributed WITHOUT ANY WARRANTY; without
10
even the implied warranty of MERCHANTABILITY or FITNESS FOR
11
A PARTICULAR PURPOSE.
12
13
See LICENSE.txt or http://www.mitk.org for details.
14
15
===================================================================*/
16
17
#include "
berryNullProgressMonitor.h
"
18
#include "
berryProgressProvider.h
"
19
20
namespace
berry
21
{
22
23
// returns the default NullProgressProvider
24
IProgressMonitor::Pointer
ProgressProvider::CreateProgressGroup
()
25
{
26
IProgressMonitor::Pointer
sptr_progressGroup(
new
NullProgressMonitor
());
27
return
sptr_progressGroup;
28
}
29
30
// returns the default NullProgressProvider
31
IProgressMonitor::Pointer
ProgressProvider::GetDefaultMonitor
()
32
{
33
IProgressMonitor::Pointer
sptr_defaultMonitor(
new
NullProgressMonitor
());
34
return
sptr_defaultMonitor;
35
}
36
37
IProgressMonitor::Pointer
ProgressProvider::CreateMonitor
(
Job::Pointer
/*job*/
,
38
IProgressMonitor::Pointer
/*group*/
,
int
/*ticks*/
)
39
{
40
//TODO SubProgressMonitor class
41
// not implemented yet ( because the subProgressMonitor class is not implemented )returns a dummy null IProgressMonitor
42
//Pointer
43
//return IProgressMonitor::Pointer sptr_subProgressMonitor (new SubProgressMonitor()) ;
44
IProgressMonitor::Pointer
dummy(
nullptr
);
45
return
dummy;
46
}
47
48
}
berry
Definition:
QmitkPropertyItemModel.h:27
mitk::Pointer
itk::SmartPointer< Self > Pointer
Definition:
mitkRenderingManager.h:389
berryProgressProvider.h
berry::SmartPointer< Self >
berryNullProgressMonitor.h
berry::ProgressProvider::CreateProgressGroup
virtual IProgressMonitor::Pointer CreateProgressGroup()
Definition:
berryProgressProvider.cpp:24
berry::ProgressProvider::CreateMonitor
virtual IProgressMonitor::Pointer CreateMonitor(Job::Pointer job)=0
berry::ProgressProvider::GetDefaultMonitor
virtual IProgressMonitor::Pointer GetDefaultMonitor()
Definition:
berryProgressProvider.cpp:31
berry::NullProgressMonitor
Definition:
berryNullProgressMonitor.h:36
git
MITK
Plugins
org.blueberry.core.jobs
src
berryProgressProvider.cpp
Generated on Fri Feb 3 2017 20:51:44 for Medical Imaging Interaction Toolkit by
1.8.9.1