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
berryILock.h
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
#ifndef _BERRY_ILOCK_H_
18
#define _BERRY_ILOCK_H_
19
20
#include <
berryObject.h
>
21
#include <
berryMacros.h
>
22
23
#include "
berryJobExceptions.h
"
24
25
namespace
berry
26
{
27
66
struct
BERRY_JOBS
ILock
:
public
Object
67
{
68
69
berryObjectMacro
(
berry::ILock
)
70
71
91
virtual
bool
Acquire(
long
delay)
throw
(InterruptedException) = 0;
92
105
virtual
void
Acquire();
106
114
virtual
int
GetDepth() = 0;
115
120
virtual
void
Release() = 0;
121
};
122
123
}
124
125
#endif // BERRY_ILOCK_H
berry
Definition:
QmitkPropertyItemModel.h:27
berryMacros.h
berry::Object
Light weight base class for most BlueBerry classes.
Definition:
berryObject.h:78
berryJobExceptions.h
berryObjectMacro
#define berryObjectMacro(...)
Definition:
berryMacros.h:37
berryObject.h
berry::ILock
Definition:
berryILock.h:66
git
MITK
Plugins
org.blueberry.core.jobs
src
berryILock.h
Generated on Fri Feb 3 2017 20:51:44 for Medical Imaging Interaction Toolkit by
1.8.9.1