Medical Imaging Interaction Toolkit
2024.06.99-60d9b802
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
18
#include <
org_blueberry_core_jobs_Export.h
>
19
20
#include "
berryJob.h
"
21
#include "
berryProgressProvider.h
"
22
#include "
berryIProgressMonitor.h
"
23
#include "
berryIJobChangeListener.h
"
24
25
#include<Poco/Thread.h>
26
27
namespace
berry
28
{
29
54
struct
BERRY_JOBS
IJobManager
:
public
Object
55
{
56
57
berryObjectMacro
(
berry::IJobManager
);
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 */
org_blueberry_core_jobs_Export.h
berry::SmartPointer
Implements transparent reference counting.
Definition:
berryICommandCategoryListener.h:21
berry::Object
Light weight base class for most BlueBerry classes.
Definition:
berryObject.h:72
berry::IJobChangeListener
Definition:
berryIJobChangeListener.h:43
berry::IJobManager::PROP_USE_DAEMON_THREADS
static const std::string PROP_USE_DAEMON_THREADS
Definition:
berryIJobManager.h:67
berryJob.h
berry::IJobManager
Definition:
berryIJobManager.h:54
berryProgressProvider.h
berryIJobChangeListener.h
berryObjectMacro
#define berryObjectMacro(...)
Definition:
berryMacros.h:31
berryIProgressMonitor.h
BERRY_JOBS
#define BERRY_JOBS
Definition:
org_blueberry_core_jobs_Export.h:26
berry
Definition:
QmitkPropertyItemModel.h:24
src
MITK
Plugins
org.blueberry.core.jobs
src
berryIJobManager.h
Generated on Sat Nov 23 2024 02:13:07 for Medical Imaging Interaction Toolkit by
1.8.17