Medical Imaging Interaction Toolkit  2023.12.00
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 (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 
14 #ifndef QmitkTrackingDeviceConfigurationWidgetConnectionWorker_h
15 #define QmitkTrackingDeviceConfigurationWidgetConnectionWorker_h
16 
17 #include <QWidget>
18 #include "mitkTrackingDevice.h"
19 
20 #include "MitkIGTUIExports.h"
21 
22 // ###################################################################################################
23 //############ PRIVATE WORKER CLASSES FOR THREADS ###################################################
24 //###################################################################################################
25 
26 
30 class MITKIGTUI_EXPORT QmitkTrackingDeviceConfigurationWidgetConnectionWorker : public QObject
31 {
32  Q_OBJECT;
33 public:
36  void SetTrackingDevice(mitk::TrackingDevice::Pointer t);
37 
38 public slots:
39  void TestConnectionThreadFunc();
40 
41 signals:
42  void ConnectionTested(bool connected, QString output);
43 
44 protected:
45  mitk::TrackingDevice::Pointer m_TrackingDevice;
46 };
47 #endif
QmitkTrackingDeviceConfigurationWidgetConnectionWorker::m_TrackingDevice
mitk::TrackingDevice::Pointer m_TrackingDevice
Definition: QmitkTrackingDeviceConfigurationWidgetConnectionWorker.h:45
QmitkTrackingDeviceConfigurationWidgetConnectionWorker
Definition: QmitkTrackingDeviceConfigurationWidgetConnectionWorker.h:30
QmitkTrackingDeviceConfigurationWidgetConnectionWorker::QmitkTrackingDeviceConfigurationWidgetConnectionWorker
QmitkTrackingDeviceConfigurationWidgetConnectionWorker()
Definition: QmitkTrackingDeviceConfigurationWidgetConnectionWorker.h:34
QmitkTrackingDeviceConfigurationWidgetConnectionWorker::~QmitkTrackingDeviceConfigurationWidgetConnectionWorker
~QmitkTrackingDeviceConfigurationWidgetConnectionWorker() override
Definition: QmitkTrackingDeviceConfigurationWidgetConnectionWorker.h:35
mitkTrackingDevice.h