Medical Imaging Interaction Toolkit  2016.11.0
Medical Imaging Interaction Toolkit
QmitkTrackingDeviceConfigurationWidgetConnectionWorker.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 
18 #ifndef QmitkTrackingDeviceConfigurationWidgetConnectionWorker_H
19 #define QmitkTrackingDeviceConfigurationWidgetConnectionWorker_H
20 
21 #include <QWidget>
22 #include "mitkTrackingDevice.h"
23 
24 #include "MitkIGTUIExports.h"
25 
26 // ###################################################################################################
27 //############ PRIVATE WORKER CLASSES FOR THREADS ###################################################
28 //###################################################################################################
29 
30 
34 class MITKIGTUI_EXPORT QmitkTrackingDeviceConfigurationWidgetConnectionWorker : public QObject
35 {
36  Q_OBJECT;
37 public:
40  void SetTrackingDevice(mitk::TrackingDevice::Pointer t);
41 
42 public slots:
43  void TestConnectionThreadFunc();
44 
45 signals:
46  void ConnectionTested(bool connected, QString output);
47 
48 protected:
50 };
51 #endif
itk::SmartPointer< Self > Pointer