Medical Imaging Interaction Toolkit  2023.04.00
Medical Imaging Interaction Toolkit
QmitkTrackingDeviceConfigurationWidgetScanPortsWorker Class Reference

#include <QmitkTrackingDeviceConfigurationWidgetScanPortsWorker.h>

Inheritance diagram for QmitkTrackingDeviceConfigurationWidgetScanPortsWorker:
Collaboration diagram for QmitkTrackingDeviceConfigurationWidgetScanPortsWorker:

Public Slots

void ScanPortsThreadFunc ()
 

Signals

void PortsScanned (int Port, QString result, int PortType)
 

Public Member Functions

 QmitkTrackingDeviceConfigurationWidgetScanPortsWorker ()
 
 ~QmitkTrackingDeviceConfigurationWidgetScanPortsWorker () override
 

Protected Member Functions

mitk::TrackingDeviceType ScanPort (QString port)
 Scans the given port for a NDI tracking device. More...
 

Detailed Description

Worker thread class for scan ports.

Definition at line 24 of file QmitkTrackingDeviceConfigurationWidgetScanPortsWorker.h.

Constructor & Destructor Documentation

◆ QmitkTrackingDeviceConfigurationWidgetScanPortsWorker()

QmitkTrackingDeviceConfigurationWidgetScanPortsWorker::QmitkTrackingDeviceConfigurationWidgetScanPortsWorker ( )
inline

◆ ~QmitkTrackingDeviceConfigurationWidgetScanPortsWorker()

QmitkTrackingDeviceConfigurationWidgetScanPortsWorker::~QmitkTrackingDeviceConfigurationWidgetScanPortsWorker ( )
inlineoverride

Member Function Documentation

◆ PortsScanned

void QmitkTrackingDeviceConfigurationWidgetScanPortsWorker::PortsScanned ( int  Port,
QString  result,
int  PortType 
)
signal
Parameters
PortReturns the port, returns -1 if no device was found.
result
PortTypeReturns the port type (0=usb,1=tty), returns -1 if the port type is not specified, e.g, in case of Windows.

◆ ScanPort()

mitk::TrackingDeviceType QmitkTrackingDeviceConfigurationWidgetScanPortsWorker::ScanPort ( QString  port)
protected

Scans the given port for a NDI tracking device.

Returns
Returns the type of the device if one was found. Returns TrackingSystemInvalid if none was found.

◆ ScanPortsThreadFunc

void QmitkTrackingDeviceConfigurationWidgetScanPortsWorker::ScanPortsThreadFunc ( )
slot

The documentation for this class was generated from the following file: