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
•
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Modules
Pages
mitkScheduler.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,
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
#ifndef mitkScheduler_h
18
#define mitkScheduler_h
19
20
#include <MitkSimulationExports.h>
21
22
namespace
mitk
23
{
24
class
SchedulableProcess;
25
class
SchedulingAlgorithmBase;
26
27
namespace
SchedulingAlgorithm
28
{
29
enum
Enum
30
{
31
RoundRobin
,
32
WeightedRoundRobin
33
};
34
}
35
36
class
MITKSIMULATION_EXPORT
Scheduler
37
{
38
public
:
39
explicit
Scheduler
(
SchedulingAlgorithm::Enum
algorithm =
SchedulingAlgorithm::RoundRobin
);
40
~
Scheduler
();
41
42
void
AddProcess(
SchedulableProcess
* process);
43
void
RemoveProcess(
SchedulableProcess
* process);
44
bool
IsEmpty()
const
;
45
SchedulableProcess
* GetCurrentProcess();
46
SchedulableProcess
* GetNextProcess();
47
48
private
:
49
Scheduler
(
const
Scheduler
&);
50
Scheduler
& operator=(
const
Scheduler
&);
51
52
struct
Impl;
53
Impl*
m_Impl
;
54
};
55
}
56
57
#endif
mitk::SchedulingAlgorithm::RoundRobin
Definition:
mitkScheduler.h:31
mitk
DataCollection - Class to facilitate loading/accessing structured data.
Definition:
GeometryOverview.dox:1
mitk::m_Impl
Impl * m_Impl
Definition:
mitkBoundingShapeInteractor.h:135
mitk::SchedulingAlgorithm::WeightedRoundRobin
Definition:
mitkScheduler.h:32
mitk::SchedulableProcess
Definition:
mitkSchedulableProcess.h:25
mitk::Scheduler
Definition:
mitkScheduler.h:36
mitk::SchedulingAlgorithm::Enum
Enum
Definition:
mitkScheduler.h:29
git
MITK
Modules
Simulation
mitkScheduler.h
Generated on Fri Feb 3 2017 20:52:08 for Medical Imaging Interaction Toolkit by
1.8.9.1