Medical Imaging Interaction Toolkit
2024.06.00
Medical Imaging Interaction Toolkit
berryILock.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_ILOCK_H_
14
#define _BERRY_ILOCK_H_
15
16
#include <
berryObject.h
>
17
#include <
berryMacros.h
>
18
19
#include "
berryJobExceptions.h
"
20
21
namespace
berry
22
{
23
62
struct
BERRY_JOBS
ILock
:
public
Object
63
{
64
65
berryObjectMacro
(
berry::ILock
);
66
87
virtual
bool
Acquire(
long
delay)
throw
(InterruptedException) = 0;
88
101
virtual
void
Acquire();
102
110
virtual
int
GetDepth() = 0;
111
116
virtual
void
Release() = 0;
117
};
118
119
}
120
121
#endif // BERRY_ILOCK_H
berryMacros.h
berry::Object
Light weight base class for most BlueBerry classes.
Definition:
berryObject.h:72
berryJobExceptions.h
berryObjectMacro
#define berryObjectMacro(...)
Definition:
berryMacros.h:31
berry::ILock
Definition:
berryILock.h:62
berryObject.h
berry
Definition:
QmitkPropertyItemModel.h:24
src
MITK
Plugins
org.blueberry.core.jobs
src
berryILock.h
Generated on Mon Jun 17 2024 12:43:21 for Medical Imaging Interaction Toolkit by
1.8.17