MITK-IGT
IGT Extension of MITK
Loading...
Searching...
No Matches
mitkToFDeviceFactoryManager.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 mitkToFDeviceFactoryManager_h
13#define mitkToFDeviceFactoryManager_h
14
15#include <MitkToFHardwareExports.h>
16#include "mitkToFCameraDevice.h"
17
18//Microservices
19#include <usServiceReference.h>
20
21namespace mitk
22{
23 struct IToFDeviceFactory;
24
30 class MITKTOFHARDWARE_EXPORT ToFDeviceFactoryManager: public itk::Object
31 {
32 public:
33
35
37
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
Virtual interface and base class for all Time-of-Flight devices.
std::vector< std::string > m_RegisteredFactoryNames
std::vector< us::ServiceReference< IToFDeviceFactory > > m_RegisteredFactoryRefs
mitkClassMacroItkParent(ToFDeviceFactoryManager, itk::Object)
IGT Exceptions.