An object of this class offers an UI to setup the connection of an OpenIGTLink device.
More...
#include <QmitkIGTLDeviceSetupConnectionWidget.h>
|
| void | AdaptGUIToStateSignal () |
| | used for thread seperation, the worker thread must not call AdaptGUIToState directly. QT signals are thread safe and seperate the threads
|
| |
An object of this class offers an UI to setup the connection of an OpenIGTLink device.
Documentation:
Definition at line 39 of file QmitkIGTLDeviceSetupConnectionWidget.h.
◆ QmitkIGTLDeviceSetupConnectionWidget()
| QmitkIGTLDeviceSetupConnectionWidget::QmitkIGTLDeviceSetupConnectionWidget |
( |
QWidget * | parent = nullptr, |
|
|
Qt::WindowFlags | f = {} ) |
◆ ~QmitkIGTLDeviceSetupConnectionWidget()
| QmitkIGTLDeviceSetupConnectionWidget::~QmitkIGTLDeviceSetupConnectionWidget |
( |
| ) |
|
|
override |
◆ AdaptGUIToState
| void QmitkIGTLDeviceSetupConnectionWidget::AdaptGUIToState |
( |
| ) |
|
|
protectedslot |
◆ AdaptGUIToStateSignal
| void QmitkIGTLDeviceSetupConnectionWidget::AdaptGUIToStateSignal |
( |
| ) |
|
|
signal |
used for thread seperation, the worker thread must not call AdaptGUIToState directly. QT signals are thread safe and seperate the threads
◆ CreateConnections()
| void QmitkIGTLDeviceSetupConnectionWidget::CreateConnections |
( |
| ) |
|
|
protectedvirtual |
◆ CreateQtPartControl()
| void QmitkIGTLDeviceSetupConnectionWidget::CreateQtPartControl |
( |
QWidget * | parent | ) |
|
|
protectedvirtual |
◆ DisableSourceControls()
| void QmitkIGTLDeviceSetupConnectionWidget::DisableSourceControls |
( |
| ) |
|
|
protected |
◆ Initialize()
| void QmitkIGTLDeviceSetupConnectionWidget::Initialize |
( |
mitk::IGTLDevice::Pointer | device | ) |
|
Initializes the widget with the given device.
The old device 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
-
| device | The widget will be initialized corresponding to the state of this device. |
Definition at line 215 of file QmitkIGTLDeviceSetupConnectionWidget.cpp.
◆ OnBufferIncomingMessages
| void QmitkIGTLDeviceSetupConnectionWidget::OnBufferIncomingMessages |
( |
int | state | ) |
|
|
protectedslot |
◆ OnBufferOutgoingMessages
| void QmitkIGTLDeviceSetupConnectionWidget::OnBufferOutgoingMessages |
( |
int | state | ) |
|
|
protectedslot |
◆ OnCommandReceived()
| void QmitkIGTLDeviceSetupConnectionWidget::OnCommandReceived |
( |
| ) |
|
◆ OnConnect
| void QmitkIGTLDeviceSetupConnectionWidget::OnConnect |
( |
| ) |
|
|
protectedslot |
◆ OnDeviceStateChanged()
| void QmitkIGTLDeviceSetupConnectionWidget::OnDeviceStateChanged |
( |
| ) |
|
|
protected |
◆ OnHostnameChanged
| void QmitkIGTLDeviceSetupConnectionWidget::OnHostnameChanged |
( |
| ) |
|
|
protectedslot |
◆ OnLogMessageDetailsCheckBoxClicked
| void QmitkIGTLDeviceSetupConnectionWidget::OnLogMessageDetailsCheckBoxClicked |
( |
| ) |
|
|
protectedslot |
◆ OnLostConnection()
| void QmitkIGTLDeviceSetupConnectionWidget::OnLostConnection |
( |
| ) |
|
Is called when the current device received a message.
Is called when the current device received a command
Is called when the current device lost a connection to one of its sockets
Definition at line 361 of file QmitkIGTLDeviceSetupConnectionWidget.cpp.
◆ OnMessageReceived()
| void QmitkIGTLDeviceSetupConnectionWidget::OnMessageReceived |
( |
| ) |
|
◆ OnMessageSent()
| void QmitkIGTLDeviceSetupConnectionWidget::OnMessageSent |
( |
| ) |
|
◆ OnNewConnection()
| void QmitkIGTLDeviceSetupConnectionWidget::OnNewConnection |
( |
| ) |
|
◆ OnPortChanged
| void QmitkIGTLDeviceSetupConnectionWidget::OnPortChanged |
( |
| ) |
|
|
protectedslot |
◆ OnUpdateFPSLabel
| void QmitkIGTLDeviceSetupConnectionWidget::OnUpdateFPSLabel |
( |
| ) |
|
|
protectedslot |
◆ RemoveObserver()
| void QmitkIGTLDeviceSetupConnectionWidget::RemoveObserver |
( |
| ) |
|
|
protected |
◆ m_CommandReceivedObserverTag
| unsigned long QmitkIGTLDeviceSetupConnectionWidget::m_CommandReceivedObserverTag |
|
protected |
◆ m_Controls
| Ui::QmitkIGTLDeviceSetupConnectionWidgetControls* QmitkIGTLDeviceSetupConnectionWidget::m_Controls |
|
protected |
◆ m_FPSCalculationTimer
| QTimer QmitkIGTLDeviceSetupConnectionWidget::m_FPSCalculationTimer |
|
protected |
◆ m_IGTLDevice
| mitk::IGTLDevice::Pointer QmitkIGTLDeviceSetupConnectionWidget::m_IGTLDevice |
|
protected |
◆ m_IsClient
| bool QmitkIGTLDeviceSetupConnectionWidget::m_IsClient |
|
protected |
◆ m_LostConnectionObserverTag
| unsigned long QmitkIGTLDeviceSetupConnectionWidget::m_LostConnectionObserverTag |
|
protected |
◆ m_MessageReceivedObserverTag
| unsigned long QmitkIGTLDeviceSetupConnectionWidget::m_MessageReceivedObserverTag |
|
protected |
◆ m_MessageSentObserverTag
| unsigned long QmitkIGTLDeviceSetupConnectionWidget::m_MessageSentObserverTag |
|
protected |
◆ m_NewConnectionObserverTag
| unsigned long QmitkIGTLDeviceSetupConnectionWidget::m_NewConnectionObserverTag |
|
protected |
◆ m_NumReceivedFramesSinceLastUpdate
| unsigned int QmitkIGTLDeviceSetupConnectionWidget::m_NumReceivedFramesSinceLastUpdate |
|
protected |
the number of received frames (messages) since the last fps calculation update
This counter is incremented every time a message is received. When the timer m_FPSCalculationTimer is fired it is reset to 0 and the number is used to calculate the FPS
Definition at line 164 of file QmitkIGTLDeviceSetupConnectionWidget.h.
◆ m_NumSentFramesSinceLastUpdate
| unsigned int QmitkIGTLDeviceSetupConnectionWidget::m_NumSentFramesSinceLastUpdate |
|
protected |
the number of sent frames (messages) since the last fps calculation update
This counter is incremented every time a message is sent. When the timer m_FPSCalculationTimer is fired it is reset to 0 and the number is used to calculate the FPS
Definition at line 171 of file QmitkIGTLDeviceSetupConnectionWidget.h.
◆ m_StateModifiedObserverTag
| unsigned long QmitkIGTLDeviceSetupConnectionWidget::m_StateModifiedObserverTag |
|
protected |
◆ VIEW_ID
| const std::string QmitkIGTLDeviceSetupConnectionWidget::VIEW_ID |
|
static |
The documentation for this class was generated from the following files: