Medical Imaging Interaction Toolkit  2018.4.99-c7ee88da
Medical Imaging Interaction Toolkit
mitk::TrackingDeviceWidgetCollection Class Reference

This class is a collection for all TrackingDeviceWidgets (derived from AbstractTrackingDeviceWidget) The Collection is avaiable via Microservice. If you want to add your own tracking device to the Tracking Toolbox, you should register your widget configuring your device to this collection using the RegisterTrackingDeviceWidget function. More...

#include <mitkTrackingDeviceWidgetCollection.h>

Public Member Functions

 TrackingDeviceWidgetCollection ()
 
 ~TrackingDeviceWidgetCollection ()
 
virtual void RegisterAsMicroservice ()
 Registers this object as a Microservice, making it available to every module and/or plugin. To unregister, call UnregisterMicroservice(). More...
 
virtual void UnRegisterMicroservice ()
 Registers this object as a Microservice, making it available to every module and/or plugin. More...
 
void RegisterTrackingDeviceWidget (TrackingDeviceType type, QmitkAbstractTrackingDeviceWidget *widget)
 
QmitkAbstractTrackingDeviceWidgetGetTrackingDeviceWidgetClone (TrackingDeviceType type)
 

Detailed Description

This class is a collection for all TrackingDeviceWidgets (derived from AbstractTrackingDeviceWidget) The Collection is avaiable via Microservice. If you want to add your own tracking device to the Tracking Toolbox, you should register your widget configuring your device to this collection using the RegisterTrackingDeviceWidget function.

Documentation:

Definition at line 34 of file mitkTrackingDeviceWidgetCollection.h.

Constructor & Destructor Documentation

◆ TrackingDeviceWidgetCollection()

mitk::TrackingDeviceWidgetCollection::TrackingDeviceWidgetCollection ( )

Definition at line 19 of file mitkTrackingDeviceWidgetCollection.cpp.

◆ ~TrackingDeviceWidgetCollection()

mitk::TrackingDeviceWidgetCollection::~TrackingDeviceWidgetCollection ( )

Definition at line 25 of file mitkTrackingDeviceWidgetCollection.cpp.

Member Function Documentation

◆ GetTrackingDeviceWidgetClone()

QmitkAbstractTrackingDeviceWidget * mitk::TrackingDeviceWidgetCollection::GetTrackingDeviceWidgetClone ( TrackingDeviceType  type)

Definition at line 60 of file mitkTrackingDeviceWidgetCollection.cpp.

References MITK_ERROR.

◆ RegisterAsMicroservice()

void mitk::TrackingDeviceWidgetCollection::RegisterAsMicroservice ( )
virtual

Registers this object as a Microservice, making it available to every module and/or plugin. To unregister, call UnregisterMicroservice().

Definition at line 33 of file mitkTrackingDeviceWidgetCollection.cpp.

References us::GetModuleContext().

Referenced by mitk::IGTUIActivator::Load().

◆ RegisterTrackingDeviceWidget()

void mitk::TrackingDeviceWidgetCollection::RegisterTrackingDeviceWidget ( TrackingDeviceType  type,
QmitkAbstractTrackingDeviceWidget widget 
)

Definition at line 46 of file mitkTrackingDeviceWidgetCollection.cpp.

Referenced by mitk::IGTUIActivator::Load().

◆ UnRegisterMicroservice()

void mitk::TrackingDeviceWidgetCollection::UnRegisterMicroservice ( )
virtual

Registers this object as a Microservice, making it available to every module and/or plugin.

Definition at line 40 of file mitkTrackingDeviceWidgetCollection.cpp.

Referenced by mitk::IGTUIActivator::Unload().


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