Medical Imaging Interaction Toolkit
2018.4.99-389bf124
Medical Imaging Interaction Toolkit
berryNullProgressMonitor.cpp
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
#include "
berryNullProgressMonitor.h
"
14
15
namespace
berry
16
{
17
18
NullProgressMonitor::NullProgressMonitor
() :
19
m_cancelled(false)
20
{
21
}
22
23
void
NullProgressMonitor::BeginTask
(
const
std::string&
/*name*/
,
int
/*totalWork*/
)
24
{
25
// do nothing
26
}
27
28
void
NullProgressMonitor::Done
()
29
{
30
// do nothing
31
}
32
33
void
NullProgressMonitor::InternalWorked
(
double
/*work*/
)
34
{
35
// do nothing
36
}
37
38
bool
NullProgressMonitor::IsCanceled
()
39
{
40
return
m_cancelled;
41
}
42
43
void
NullProgressMonitor::SetCanceled
(
bool
newcancelled)
44
{
45
this->m_cancelled = newcancelled;
46
}
47
48
void
NullProgressMonitor::SetTaskName
(
const
std::string&
/*name*/
)
49
{
50
// do nothing
51
}
52
53
void
NullProgressMonitor::SubTask
(
const
std::string&
/*name*/
)
54
{
55
// do nothing
56
}
57
58
void
NullProgressMonitor::Worked
(
int
/*work*/
)
59
{
60
// do nothing
61
}
62
63
}
berry
Definition:
QmitkPropertyItemModel.h:23
berry::NullProgressMonitor::SubTask
void SubTask(const std::string &name) override
Definition:
berryNullProgressMonitor.cpp:53
berry::NullProgressMonitor::NullProgressMonitor
NullProgressMonitor()
Definition:
berryNullProgressMonitor.cpp:18
berry::NullProgressMonitor::InternalWorked
void InternalWorked(double work) override
Definition:
berryNullProgressMonitor.cpp:33
berryNullProgressMonitor.h
berry::NullProgressMonitor::SetTaskName
void SetTaskName(const std::string &name) override
Definition:
berryNullProgressMonitor.cpp:48
berry::NullProgressMonitor::BeginTask
void BeginTask(const std::string &name, int totalWork) override
Definition:
berryNullProgressMonitor.cpp:23
berry::NullProgressMonitor::SetCanceled
void SetCanceled(bool cancelled) override
Definition:
berryNullProgressMonitor.cpp:43
berry::NullProgressMonitor::IsCanceled
bool IsCanceled() override
Definition:
berryNullProgressMonitor.cpp:38
berry::NullProgressMonitor::Done
void Done() override
Definition:
berryNullProgressMonitor.cpp:28
berry::NullProgressMonitor::Worked
void Worked(int work) override
Definition:
berryNullProgressMonitor.cpp:58
Source
Plugins
org.blueberry.core.jobs
src
berryNullProgressMonitor.cpp
Generated on Thu Mar 12 2020 10:23:33 for Medical Imaging Interaction Toolkit by
1.8.13