Medical Imaging Interaction Toolkit  2016.11.0
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,
6 Division of Medical and Biological Informatics.
7 All rights reserved.
8 
9 This software is distributed WITHOUT ANY WARRANTY; without
10 even the implied warranty of MERCHANTABILITY or FITNESS FOR
11 A PARTICULAR PURPOSE.
12 
13 See LICENSE.txt or http://www.mitk.org for details.
14 
15 ===================================================================*/
16 
17 #ifndef QmitkTrackingDeviceConfigurationWidgetScanPortsWorker_H
18 #define QmitkTrackingDeviceConfigurationWidgetScanPortsWorker_H
19 
20 #include <QWidget>
21 #include "mitkTrackingDevice.h"
22 
23 #include "MitkIGTUIExports.h"
24 
28 class MITKIGTUI_EXPORT QmitkTrackingDeviceConfigurationWidgetScanPortsWorker : public QObject
29 {
30  Q_OBJECT;
31 
32 public:
35 
36  public slots:
37  void ScanPortsThreadFunc();
38 
39 signals:
40 
45  void PortsScanned(int Port, QString result, int PortType);
46 
47 protected:
48 
52  mitk::TrackingDeviceType ScanPort(QString port);
53 };
54 #endif
std::string TrackingDeviceType