Medical Imaging Interaction Toolkit  2016.11.0
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 ()
 

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 28 of file QmitkTrackingDeviceConfigurationWidgetScanPortsWorker.h.

Constructor & Destructor Documentation

QmitkTrackingDeviceConfigurationWidgetScanPortsWorker::QmitkTrackingDeviceConfigurationWidgetScanPortsWorker ( )
inline
QmitkTrackingDeviceConfigurationWidgetScanPortsWorker::~QmitkTrackingDeviceConfigurationWidgetScanPortsWorker ( )
inline

Member Function Documentation

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

Referenced by ScanPortsThreadFunc().

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.

Definition at line 82 of file QmitkTrackingDeviceConfigurationWidgetScanPortsWorker.cpp.

References mitk::UnspecifiedTrackingTypeInformation::GetTrackingDeviceName(), and mitk::NDITrackingDevice::New().

Referenced by ScanPortsThreadFunc().


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