Medical Imaging Interaction Toolkit
2023.04.00
Medical Imaging Interaction Toolkit
mitkISemanticRelationsObserver.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 mitkISemanticRelationsObserver_h
14
#define mitkISemanticRelationsObserver_h
15
16
#include "
mitkSemanticTypes.h
"
17
18
namespace
mitk
19
{
20
/*
21
* @brief This interface declares a functions each observer has to implement
22
* in order to be notified in the 'Observer pattern' sense.
23
*/
24
class
ISemanticRelationsObserver
25
{
26
public
:
27
/*
28
* @brief Updates the concrete observer.
29
* The caseID can be used to get access to a certain patient (case),
30
* whose data should be used for updating.
31
*
32
* @param caseID The current case ID to identify the currently active patient / case.
33
*/
34
virtual
void
Update
(
const
mitk::SemanticTypes::CaseID
& caseID) = 0;
35
36
};
// class ISemanticRelationsObserver
37
}
// namespace mitk
38
39
#endif
mitkSemanticTypes.h
mitk
DataCollection - Class to facilitate loading/accessing structured data.
Definition:
RenderingTests.dox:1
mitk::SemanticTypes::CaseID
std::string CaseID
Definition:
mitkSemanticTypes.h:34
mitk::ISemanticRelationsObserver::Update
virtual void Update(const mitk::SemanticTypes::CaseID &caseID)=0
mitk::ISemanticRelationsObserver
Definition:
mitkISemanticRelationsObserver.h:24
src
MITK
Modules
SemanticRelations
include
mitkISemanticRelationsObserver.h
Generated on Wed May 17 2023 16:26:08 for Medical Imaging Interaction Toolkit by
1.8.17