Medical Imaging Interaction Toolkit  2018.4.99-389bf124
Medical Imaging Interaction Toolkit
QmitkTrackingDeviceConfigurationWidgetScanPortsWorker.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 
13 #ifndef QmitkTrackingDeviceConfigurationWidgetScanPortsWorker_H
14 #define QmitkTrackingDeviceConfigurationWidgetScanPortsWorker_H
15 
16 #include <QWidget>
17 #include "mitkTrackingDevice.h"
18 
19 #include "MitkIGTUIExports.h"
20 
24 class MITKIGTUI_EXPORT QmitkTrackingDeviceConfigurationWidgetScanPortsWorker : public QObject
25 {
26  Q_OBJECT;
27 
28 public:
31 
32  public slots:
33  void ScanPortsThreadFunc();
34 
35 signals:
36 
41  void PortsScanned(int Port, QString result, int PortType);
42 
43 protected:
44 
48  mitk::TrackingDeviceType ScanPort(QString port);
49 };
50 #endif
std::string TrackingDeviceType