Medical Imaging Interaction Toolkit  2023.04.00
Medical Imaging Interaction Toolkit
mitkIToFDeviceFactory.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 mitkIToFDeviceFactory_h
13 #define mitkIToFDeviceFactory_h
14 
15 #include "mitkCameraIntrinsics.h"
16 #include "mitkToFCameraDevice.h"
17 #include <MitkToFHardwareExports.h>
18 //for microservices
19 #include <mitkServiceInterface.h>
20 
21 namespace mitk
22 {
29  struct MITKTOFHARDWARE_EXPORT IToFDeviceFactory {
30  virtual ~IToFDeviceFactory();
31 
36  virtual std::string GetFactoryName() = 0;
37 
44  virtual std::string GetCurrentDeviceName() = 0;
45 
46  virtual std::string GetDeviceNamePrefix() = 0;
47 
53  virtual ToFCameraDevice::Pointer CreateToFCameraDevice() = 0;
54 
55  };
56 }
57 
62 MITK_DECLARE_SERVICE_INTERFACE(mitk::IToFDeviceFactory, "org.mitk.services.IToFDeviceFactory")
63 #endif
mitkServiceInterface.h
mitkCameraIntrinsics.h
mitk
DataCollection - Class to facilitate loading/accessing structured data.
Definition: RenderingTests.dox:1
mitk::IToFDeviceFactory
This is the base of class for all ToFDeviceFactories.
Definition: mitkIToFDeviceFactory.h:29
mitkToFCameraDevice.h
MITK_DECLARE_SERVICE_INTERFACE
#define MITK_DECLARE_SERVICE_INTERFACE(IFace, IId)
Definition: mitkServiceInterface.h:26