Medical Imaging Interaction Toolkit  2016.11.0
Medical Imaging Interaction Toolkit
QmitkIGTLMessageSourceSelectionWidget Class Reference

This widget allows the user to select a OpenIGTLink message source. More...

#include <QmitkIGTLMessageSourceSelectionWidget.h>

Inheritance diagram for QmitkIGTLMessageSourceSelectionWidget:
Collaboration diagram for QmitkIGTLMessageSourceSelectionWidget:

Signals

void IGTLMessageSourceSelected (mitk::IGTLMessageSource::Pointer source)
 This signal is emitted when a new OpenIGTLink message source is selected. More...
 

Public Member Functions

 QmitkIGTLMessageSourceSelectionWidget (QWidget *parent=0, Qt::WindowFlags f=0)
 
 ~QmitkIGTLMessageSourceSelectionWidget ()
 
mitk::IGTLMessageSource::Pointer GetSelectedIGTLMessageSource ()
 

Static Public Attributes

static const std::string VIEW_ID
 

Protected Slots

void IGTLMessageSourceSelected (us::ServiceReferenceU s)
 

Protected Member Functions

virtual void CreateConnections ()
 Creation of the connections. More...
 
virtual void CreateQtPartControl (QWidget *parent)
 

Protected Attributes

Ui::QmitkIGTLMessageSourceSelectionWidgetControls * m_Controls
 
mitk::IGTLMessageSource::Pointer m_CurrentIGTLMessageSource
 

Detailed Description

This widget allows the user to select a OpenIGTLink message source.

Documentation: The widget lists all OpenIGTLink message sources which are available as microservice via the module context.

A signal is emmited whenever the selection changes.

Definition at line 44 of file QmitkIGTLMessageSourceSelectionWidget.h.

Constructor & Destructor Documentation

QmitkIGTLMessageSourceSelectionWidget::QmitkIGTLMessageSourceSelectionWidget ( QWidget *  parent = 0,
Qt::WindowFlags  f = 0 
)
QmitkIGTLMessageSourceSelectionWidget::~QmitkIGTLMessageSourceSelectionWidget ( )

Definition at line 34 of file QmitkIGTLMessageSourceSelectionWidget.cpp.

Member Function Documentation

void QmitkIGTLMessageSourceSelectionWidget::CreateConnections ( )
protectedvirtual
void QmitkIGTLMessageSourceSelectionWidget::CreateQtPartControl ( QWidget *  parent)
protectedvirtual
mitk::IGTLMessageSource::Pointer QmitkIGTLMessageSourceSelectionWidget::GetSelectedIGTLMessageSource ( )
Returns
Returns the currently selected OpenIGTLink message source. Returns null if no source is selected at the moment.

Definition at line 84 of file QmitkIGTLMessageSourceSelectionWidget.cpp.

References m_CurrentIGTLMessageSource.

void QmitkIGTLMessageSourceSelectionWidget::IGTLMessageSourceSelected ( mitk::IGTLMessageSource::Pointer  source)
signal

This signal is emitted when a new OpenIGTLink message source is selected.

Parameters
sourceHolds the new selected OpenIGTLink device source. Is null if the old source is deselected and no new source is selected.

Referenced by CreateConnections(), and IGTLMessageSourceSelected().

void QmitkIGTLMessageSourceSelectionWidget::IGTLMessageSourceSelected ( us::ServiceReferenceU  s)
protectedslot

Member Data Documentation

Ui::QmitkIGTLMessageSourceSelectionWidgetControls* QmitkIGTLMessageSourceSelectionWidget::m_Controls
protected
mitk::IGTLMessageSource::Pointer QmitkIGTLMessageSourceSelectionWidget::m_CurrentIGTLMessageSource
protected
const std::string QmitkIGTLMessageSourceSelectionWidget::VIEW_ID
static

Definition at line 50 of file QmitkIGTLMessageSourceSelectionWidget.h.


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