MITK-IGT
IGT Extension of MITK
Loading...
Searching...
No Matches
mitkUSNavigationCombinedModalityPersistence.h
Go to the documentation of this file.
1/*============================================================================
2
3The Medical Imaging Interaction Toolkit (MITK)
4
5Copyright (c) German Cancer Research Center (DKFZ)
6All rights reserved.
7
8Use of this source code is governed by a 3-clause BSD license that can be
9found in the LICENSE file.
10
11============================================================================*/
12
13#ifndef mitkUSNavigationCombinedModalityPersistence_h
14#define mitkUSNavigationCombinedModalityPersistence_h
15
16#include <itkObjectFactory.h>
17
18#include "mitkCommon.h"
21
22// Microservices
23#include <usModuleContext.h>
24
25namespace mitk {
40{
41public:
44
45protected:
55
60private:
61 void OnServiceEvent(const us::ServiceEvent event);
62
63 void StoreCurrentDevices();
64 void LoadStoredDevices();
65
70 mitk::USCombinedModality::Pointer GetCombinedModality(std::string manufacturer, std::string model);
71
76 mitk::USDevice::Pointer GetUSDevice(std::string manufacturer, std::string model, std::string comment);
77
82 mitk::NavigationDataSource::Pointer GetNavigationDataSource(std::string name);
83};
84} // namespace mitk
85
86#endif
Persistence for the mitk::CombinedModality micro services. The micro services are saved into QSetting...
USNavigationCombinedModalityPersistence()
Restores combined modality from QSettings and registers on service events. Combined modalities are re...
mitkClassMacroItkParent(USNavigationCombinedModalityPersistence, itk::Object)
~USNavigationCombinedModalityPersistence() override
The destructor stores combined modalities by calling mitk::USNavigationCombinedModalityPersistence::S...
IGT Exceptions.