An object of this class offers an UI to manage the streaming of message sources.
More...
#include <QmitkIGTLStreamingManagementWidget.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...
|
|
void | SelectSourceAndAdaptGUISignal () |
| used for thread seperation, the worker thread must not call SelectSourceAndAdaptGUI directly. QT signals are thread safe and seperate the threads More...
|
|
An object of this class offers an UI to manage the streaming of message sources.
Documentation:
Definition at line 39 of file QmitkIGTLStreamingManagementWidget.h.
◆ QmitkIGTLStreamingManagementWidget()
QmitkIGTLStreamingManagementWidget::QmitkIGTLStreamingManagementWidget |
( |
QWidget * |
parent = nullptr , |
|
|
Qt::WindowFlags |
f = nullptr |
|
) |
| |
◆ ~QmitkIGTLStreamingManagementWidget()
QmitkIGTLStreamingManagementWidget::~QmitkIGTLStreamingManagementWidget |
( |
| ) |
|
|
override |
◆ AdaptGUIToState
void QmitkIGTLStreamingManagementWidget::AdaptGUIToState |
( |
| ) |
|
|
protectedslot |
Adapts the GUI to the state of the device.
◆ AdaptGUIToStateSignal
void QmitkIGTLStreamingManagementWidget::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 QmitkIGTLStreamingManagementWidget::CreateConnections |
( |
| ) |
|
|
protectedvirtual |
Creation of the connections.
◆ CreateQtPartControl()
virtual void QmitkIGTLStreamingManagementWidget::CreateQtPartControl |
( |
QWidget * |
parent | ) |
|
|
protectedvirtual |
◆ DisableSourceControls()
void QmitkIGTLStreamingManagementWidget::DisableSourceControls |
( |
| ) |
|
|
protected |
◆ FillCommandsComboBox()
void QmitkIGTLStreamingManagementWidget::FillCommandsComboBox |
( |
| ) |
|
|
protected |
Fills the commands combo box with available commands.
◆ LoadSource()
void QmitkIGTLStreamingManagementWidget::LoadSource |
( |
mitk::IGTLMessageProvider::Pointer |
provider | ) |
|
Loads a provider 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
-
provider | This provider will be loaded and might be modified by the user. |
◆ OnCommandReceived()
void QmitkIGTLStreamingManagementWidget::OnCommandReceived |
( |
| ) |
|
|
protected |
Is called when the current device received a command.
◆ OnDeviceStateChanged()
void QmitkIGTLStreamingManagementWidget::OnDeviceStateChanged |
( |
| ) |
|
|
protected |
◆ OnLostConnection()
void QmitkIGTLStreamingManagementWidget::OnLostConnection |
( |
| ) |
|
|
protected |
Is called when the current device lost a connection to one of its sockets.
◆ OnMessageReceived()
void QmitkIGTLStreamingManagementWidget::OnMessageReceived |
( |
| ) |
|
|
protected |
Is called when the current device received a message.
◆ OnNewConnection()
void QmitkIGTLStreamingManagementWidget::OnNewConnection |
( |
| ) |
|
|
protected |
Is called when the current device connected to another device.
◆ OnStartStreaming
void QmitkIGTLStreamingManagementWidget::OnStartStreaming |
( |
| ) |
|
|
protectedslot |
◆ OnStartStreamingTimer()
void QmitkIGTLStreamingManagementWidget::OnStartStreamingTimer |
( |
| ) |
|
|
protected |
Is called when provider requests the start of the streaming timer.
◆ OnStopStreaming
void QmitkIGTLStreamingManagementWidget::OnStopStreaming |
( |
| ) |
|
|
protectedslot |
◆ OnStopStreamingTimer()
void QmitkIGTLStreamingManagementWidget::OnStopStreamingTimer |
( |
| ) |
|
|
protected |
Is called when provider requests the stop of the streaming timer.
◆ OnStreamingTimerTimeout
void QmitkIGTLStreamingManagementWidget::OnStreamingTimerTimeout |
( |
| ) |
|
|
protectedslot |
◆ RemoveObserver()
void QmitkIGTLStreamingManagementWidget::RemoveObserver |
( |
| ) |
|
|
protected |
◆ SelectSourceAndAdaptGUI
void QmitkIGTLStreamingManagementWidget::SelectSourceAndAdaptGUI |
( |
| ) |
|
|
protectedslot |
selects the current source and adapts the GUI according to the selection
◆ SelectSourceAndAdaptGUISignal
void QmitkIGTLStreamingManagementWidget::SelectSourceAndAdaptGUISignal |
( |
| ) |
|
|
signal |
used for thread seperation, the worker thread must not call SelectSourceAndAdaptGUI directly. QT signals are thread safe and seperate the threads
◆ SourceSelected
void QmitkIGTLStreamingManagementWidget::SourceSelected |
( |
mitk::IGTLMessageSource::Pointer |
source | ) |
|
|
protectedslot |
Is called when a new source is selected.
- Parameters
-
source | the newly selected source |
◆ m_CommandReceivedObserverTag
unsigned long QmitkIGTLStreamingManagementWidget::m_CommandReceivedObserverTag |
|
protected |
◆ m_Controls
Ui::QmitkIGTLStreamingManagementWidgetControls* QmitkIGTLStreamingManagementWidget::m_Controls |
|
protected |
◆ m_IGTLDevice
mitk::IGTLDevice::Pointer QmitkIGTLStreamingManagementWidget::m_IGTLDevice |
|
protected |
◆ m_IGTLMsgProvider
mitk::IGTLMessageProvider::Pointer QmitkIGTLStreamingManagementWidget::m_IGTLMsgProvider |
|
protected |
◆ m_IGTLMsgSource
mitk::IGTLMessageSource::Pointer QmitkIGTLStreamingManagementWidget::m_IGTLMsgSource |
|
protected |
◆ m_IsClient
bool QmitkIGTLStreamingManagementWidget::m_IsClient |
|
protected |
◆ m_LostConnectionObserverTag
unsigned long QmitkIGTLStreamingManagementWidget::m_LostConnectionObserverTag |
|
protected |
◆ m_MessageReceivedObserverTag
unsigned long QmitkIGTLStreamingManagementWidget::m_MessageReceivedObserverTag |
|
protected |
◆ m_NewConnectionObserverTag
unsigned long QmitkIGTLStreamingManagementWidget::m_NewConnectionObserverTag |
|
protected |
◆ m_StartStreamingTimerObserverTag
unsigned long QmitkIGTLStreamingManagementWidget::m_StartStreamingTimerObserverTag |
|
protected |
◆ m_StateModifiedObserverTag
unsigned long QmitkIGTLStreamingManagementWidget::m_StateModifiedObserverTag |
|
protected |
◆ m_StopStreamingTimerObserverTag
unsigned long QmitkIGTLStreamingManagementWidget::m_StopStreamingTimerObserverTag |
|
protected |
◆ m_StreamingTimer
QTimer QmitkIGTLStreamingManagementWidget::m_StreamingTimer |
|
protected |
◆ VIEW_ID
const std::string QmitkIGTLStreamingManagementWidget::VIEW_ID |
|
static |
The documentation for this class was generated from the following file: