Medical Imaging Interaction Toolkit
2024.06.00
Medical Imaging Interaction Toolkit
berryNullProgressMonitor.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_nullptrPROGRESSMONITOR_H
14
#define BERRY_nullptrPROGRESSMONITOR_H
15
16
#include <string>
17
#include "
berryIProgressMonitor.h
"
18
19
namespace
berry
20
{
21
32
class
NullProgressMonitor
:
public
IProgressMonitor
33
{
34
35
public
:
36
37
berryObjectMacro
(
NullProgressMonitor
);
38
42
NullProgressMonitor
();
43
51
void
BeginTask
(
const
std::string& name,
int
totalWork)
override
;
52
60
void
Done
()
override
;
61
68
void
InternalWorked
(
double
work)
override
;
69
79
bool
IsCanceled
()
override
;
80
89
void
SetCanceled
(
bool
cancelled)
override
;
90
98
void
SetTaskName
(
const
std::string& name)
override
;
99
107
void
SubTask
(
const
std::string& name)
override
;
108
116
void
Worked
(
int
work)
override
;
117
118
private
:
119
123
bool
m_cancelled;
124
125
};
126
127
}
128
129
#endif
/* BERRY_nullptrPROGRESSMONITOR_H */
berry::NullProgressMonitor::Worked
void Worked(int work) override
berry::NullProgressMonitor::SetTaskName
void SetTaskName(const std::string &name) override
berry::NullProgressMonitor::InternalWorked
void InternalWorked(double work) override
berry::NullProgressMonitor::BeginTask
void BeginTask(const std::string &name, int totalWork) override
berry::NullProgressMonitor::SubTask
void SubTask(const std::string &name) override
berry::NullProgressMonitor::SetCanceled
void SetCanceled(bool cancelled) override
berry::NullProgressMonitor::IsCanceled
bool IsCanceled() override
berry::NullProgressMonitor
Definition:
berryNullProgressMonitor.h:32
berry::NullProgressMonitor::berryObjectMacro
berryObjectMacro(NullProgressMonitor)
berry::NullProgressMonitor::NullProgressMonitor
NullProgressMonitor()
berry::NullProgressMonitor::Done
void Done() override
berryIProgressMonitor.h
berry::IProgressMonitor
Definition:
berryIProgressMonitor.h:23
berry
Definition:
QmitkPropertyItemModel.h:24
src
MITK
Plugins
org.blueberry.core.jobs
src
berryNullProgressMonitor.h
Generated on Mon Jun 17 2024 12:43:21 for Medical Imaging Interaction Toolkit by
1.8.17