Medical Imaging Interaction Toolkit  2023.12.00
Medical Imaging Interaction Toolkit
mitkMAPAlgorithmInfoSelection.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 mitkMAPAlgorithmInfoSelection_h
14 #define mitkMAPAlgorithmInfoSelection_h
15 
17 
18 #include <mapDeploymentDLLInfo.h>
19 
21 
22 
23 namespace mitk {
24 
31 {
32 
33 public:
34 
36 
37  typedef ::map::deployment::DLLInfo AlgorithmInfoType;
38  typedef std::vector<AlgorithmInfoType::ConstPointer> AlgorithmInfoVectorType;
39 
41  MAPAlgorithmInfoSelection(AlgorithmInfoType::ConstPointer info);
43 
44  Object::Pointer GetFirstElement() const override;
45  iterator Begin() const override;
46  iterator End() const override;
47 
48  int Size() const override;
49 
50  ContainerType::Pointer ToVector() const override;
51 
52  AlgorithmInfoVectorType GetSelectedAlgorithmInfo() const;
53 
57  bool IsEmpty() const override;
58 
59  bool operator==(const berry::Object* obj) const override;
60 
61 protected:
62 
64 };
65 
66 }
67 
68 
69 #endif
berryIStructuredSelection.h
berry::IStructuredSelection
Definition: berryIStructuredSelection.h:28
mitk::MAPAlgorithmInfoSelection
Used by plugins to communicate selections of deployed algorithms.
Definition: mitkMAPAlgorithmInfoSelection.h:30
mitk::MAPAlgorithmInfoSelection::AlgorithmInfoVectorType
std::vector< AlgorithmInfoType::ConstPointer > AlgorithmInfoVectorType
Definition: mitkMAPAlgorithmInfoSelection.h:38
berry::SmartPointer< Self >
org_mitk_matchpoint_core_helper_Export.h
berry::Object
Light weight base class for most BlueBerry classes.
Definition: berryObject.h:72
mitk
Find image slices visible on a given plane.
Definition: RenderingTests.dox:1
mitk::operator==
MITKCORE_EXPORT bool operator==(const InteractionEvent &a, const InteractionEvent &b)
berry::IStructuredSelection::iterator
ContainerType::const_iterator iterator
Definition: berryIStructuredSelection.h:31
berryObjectMacro
#define berryObjectMacro(...)
Definition: berryMacros.h:33
MITK_MATCHPOINT_CORE_HELPER_EXPORT
#define MITK_MATCHPOINT_CORE_HELPER_EXPORT
Definition: org_mitk_matchpoint_core_helper_Export.h:26
mitk::MAPAlgorithmInfoSelection::m_Selection
ContainerType::Pointer m_Selection
Definition: mitkMAPAlgorithmInfoSelection.h:63
mitk::MAPAlgorithmInfoSelection::AlgorithmInfoType
::map::deployment::DLLInfo AlgorithmInfoType
Definition: mitkMAPAlgorithmInfoSelection.h:37