Medical Imaging Interaction Toolkit  2023.12.00
Medical Imaging Interaction Toolkit
mitkToFDeviceFactoryManager.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 #ifndef mitkToFDeviceFactoryManager_h
13 #define mitkToFDeviceFactoryManager_h
14 
15 #include <MitkToFHardwareExports.h>
16 #include "mitkToFCameraDevice.h"
17 
18 //Microservices
19 #include <usServiceReference.h>
20 
21 namespace mitk
22 {
23  struct IToFDeviceFactory;
24 
30  class MITKTOFHARDWARE_EXPORT ToFDeviceFactoryManager: public itk::Object
31  {
32  public:
33 
35 
36  itkFactorylessNewMacro(Self);
37 
38  itkCloneMacro(Self);
39 
40  std::vector<std::string> GetRegisteredDeviceFactories();
41 
42  std::vector<std::string> GetConnectedDevices();
43 
44  ToFCameraDevice* GetInstanceOfDevice(int index);
45 
46 
47 
48  protected:
49 
51 
52  ~ToFDeviceFactoryManager() override;
53 
54  std::vector<std::string> m_RegisteredFactoryNames;
55  std::vector<us::ServiceReference<IToFDeviceFactory> > m_RegisteredFactoryRefs;
56 
57 
58  private:
59 
60  };
61 } //END mitk namespace
62 #endif
mitk::ToFDeviceFactoryManager::m_RegisteredFactoryRefs
std::vector< us::ServiceReference< IToFDeviceFactory > > m_RegisteredFactoryRefs
Definition: mitkToFDeviceFactoryManager.h:55
mitkClassMacroItkParent
#define mitkClassMacroItkParent(className, SuperClassName)
Definition: mitkCommon.h:45
mitk
Find image slices visible on a given plane.
Definition: RenderingTests.dox:1
mitk::ToFDeviceFactoryManager::m_RegisteredFactoryNames
std::vector< std::string > m_RegisteredFactoryNames
Definition: mitkToFDeviceFactoryManager.h:54
mitk::ToFDeviceFactoryManager
ToFDeviceListener.
Definition: mitkToFDeviceFactoryManager.h:30
usServiceReference.h
mitk::ToFCameraDevice
Virtual interface and base class for all Time-of-Flight devices.
Definition: mitkToFCameraDevice.h:37
mitkToFCameraDevice.h