MITK-IGT
IGT Extension of MITK
Loading...
Searching...
No Matches
QmitkTrackingDeviceConfigurationWidgetConnectionWorker.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
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
30class MITKIGTUI_EXPORT QmitkTrackingDeviceConfigurationWidgetConnectionWorker : public QObject
31{
32 Q_OBJECT;
33public:
36 void SetTrackingDevice(mitk::TrackingDevice::Pointer t);
37
38public slots:
39 void TestConnectionThreadFunc();
40
41signals:
42 void ConnectionTested(bool connected, QString output);
43
44protected:
45 mitk::TrackingDevice::Pointer m_TrackingDevice;
46};
47#endif
void ConnectionTested(bool connected, QString output)