An object of this class offers an UI to manage OpenIGTLink Device Sources and OpenIGTLink Devices.
More...
#include <QmitkIGTLDeviceSourceManagementWidget.h>
|
void | AdaptGUIToStateSignal () |
| used for thread seperation, the worker thread must not call AdaptGUIToState directly QT signals are thread safe and seperate the threads More...
|
|
An object of this class offers an UI to manage OpenIGTLink Device Sources and OpenIGTLink Devices.
Documentation:
Definition at line 39 of file QmitkIGTLDeviceSourceManagementWidget.h.
◆ QmitkIGTLDeviceSourceManagementWidget()
QmitkIGTLDeviceSourceManagementWidget::QmitkIGTLDeviceSourceManagementWidget |
( |
QWidget * |
parent = nullptr , |
|
|
Qt::WindowFlags |
f = nullptr |
|
) |
| |
◆ ~QmitkIGTLDeviceSourceManagementWidget()
QmitkIGTLDeviceSourceManagementWidget::~QmitkIGTLDeviceSourceManagementWidget |
( |
| ) |
|
|
override |
◆ AdaptGUIToState
void QmitkIGTLDeviceSourceManagementWidget::AdaptGUIToState |
( |
| ) |
|
|
protectedslot |
Adapts the GUI to the state of the device.
◆ AdaptGUIToStateSignal
void QmitkIGTLDeviceSourceManagementWidget::AdaptGUIToStateSignal |
( |
| ) |
|
|
signal |
used for thread seperation, the worker thread must not call AdaptGUIToState directly QT signals are thread safe and seperate the threads
◆ CreateConnections()
virtual void QmitkIGTLDeviceSourceManagementWidget::CreateConnections |
( |
| ) |
|
|
protectedvirtual |
Creation of the connections.
◆ CreateQtPartControl()
virtual void QmitkIGTLDeviceSourceManagementWidget::CreateQtPartControl |
( |
QWidget * |
parent | ) |
|
|
protectedvirtual |
◆ DisableSourceControls()
void QmitkIGTLDeviceSourceManagementWidget::DisableSourceControls |
( |
| ) |
|
|
protected |
◆ FillCommandsComboBox()
void QmitkIGTLDeviceSourceManagementWidget::FillCommandsComboBox |
( |
| ) |
|
|
protected |
Fills the commands combo box with available commands.
◆ LoadSource()
void QmitkIGTLDeviceSourceManagementWidget::LoadSource |
( |
mitk::IGTLDeviceSource::Pointer |
sourceToLoad | ) |
|
Loads a source to the widget. The old source is dropped, so be careful, if the source is not saved somewhere else it might be lost. You might want to ask the user if he wants to save the changes before calling this method.
- Parameters
-
sourceToLoad | This source will be loaded and might be modified by the user. |
◆ OnCommandReceived
void QmitkIGTLDeviceSourceManagementWidget::OnCommandReceived |
( |
| ) |
|
|
protectedslot |
Is called when the current device received a command.
◆ OnDeviceStateChanged()
void QmitkIGTLDeviceSourceManagementWidget::OnDeviceStateChanged |
( |
| ) |
|
|
protected |
◆ OnLostConnection
void QmitkIGTLDeviceSourceManagementWidget::OnLostConnection |
( |
| ) |
|
|
protectedslot |
Is called when the current device lost a connection to one of its sockets.
◆ OnMessageReceived
void QmitkIGTLDeviceSourceManagementWidget::OnMessageReceived |
( |
| ) |
|
|
protectedslot |
Is called when the current device received a message.
◆ OnNewConnection
void QmitkIGTLDeviceSourceManagementWidget::OnNewConnection |
( |
| ) |
|
|
protectedslot |
Is called when the current device connected to another device.
◆ OnSendMessage
void QmitkIGTLDeviceSourceManagementWidget::OnSendMessage |
( |
| ) |
|
|
protectedslot |
◆ m_CommandReceivedObserverTag
unsigned long QmitkIGTLDeviceSourceManagementWidget::m_CommandReceivedObserverTag |
|
protected |
◆ m_Controls
Ui::QmitkIGTLDeviceSourceManagementWidgetControls* QmitkIGTLDeviceSourceManagementWidget::m_Controls |
|
protected |
◆ m_IGTLDevice
mitk::IGTLDevice::Pointer QmitkIGTLDeviceSourceManagementWidget::m_IGTLDevice |
|
protected |
◆ m_IGTLDeviceSource
mitk::IGTLDeviceSource::Pointer QmitkIGTLDeviceSourceManagementWidget::m_IGTLDeviceSource |
|
protected |
◆ m_IsClient
bool QmitkIGTLDeviceSourceManagementWidget::m_IsClient |
|
protected |
◆ m_LostConnectionObserverTag
unsigned long QmitkIGTLDeviceSourceManagementWidget::m_LostConnectionObserverTag |
|
protected |
◆ m_MessageReceivedObserverTag
unsigned long QmitkIGTLDeviceSourceManagementWidget::m_MessageReceivedObserverTag |
|
protected |
◆ m_NewConnectionObserverTag
unsigned long QmitkIGTLDeviceSourceManagementWidget::m_NewConnectionObserverTag |
|
protected |
◆ m_StateModifiedObserverTag
unsigned long QmitkIGTLDeviceSourceManagementWidget::m_StateModifiedObserverTag |
|
protected |
◆ VIEW_ID
const std::string QmitkIGTLDeviceSourceManagementWidget::VIEW_ID |
|
static |
The documentation for this class was generated from the following file: