MITK-IGT
IGT Extension of MITK
Loading...
Searching...
No Matches
mitkIToFDeviceFactory.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#ifndef mitkIToFDeviceFactory_h
13#define mitkIToFDeviceFactory_h
14
16#include "mitkToFCameraDevice.h"
17#include <MitkToFHardwareExports.h>
18//for microservices
19#include <mitkServiceInterface.h>
20
21namespace 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
62MITK_DECLARE_SERVICE_INTERFACE(mitk::IToFDeviceFactory, "org.mitk.services.IToFDeviceFactory")
63#endif
IGT Exceptions.
This is the base of class for all ToFDeviceFactories.
virtual std::string GetDeviceNamePrefix()=0
virtual std::string GetCurrentDeviceName()=0
GetCurrentDeviceName Get the human readable name of the current device. A factory can produce many de...
virtual std::string GetFactoryName()=0
GetFactoryName Get the human readable name of the factory.
virtual ToFCameraDevice::Pointer CreateToFCameraDevice()=0
CreateToFCameraDevice Create a new device of the respective factory. E.g. a "KinectFactory" creates a...