Medical Imaging Interaction Toolkit  2016.11.0
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 38 of file mitkTrackingDeviceWidgetCollection.h.

Constructor & Destructor Documentation

mitk::TrackingDeviceWidgetCollection::TrackingDeviceWidgetCollection ( )

Definition at line 23 of file mitkTrackingDeviceWidgetCollection.cpp.

mitk::TrackingDeviceWidgetCollection::~TrackingDeviceWidgetCollection ( )

Definition at line 29 of file mitkTrackingDeviceWidgetCollection.cpp.

Member Function Documentation

QmitkAbstractTrackingDeviceWidget * mitk::TrackingDeviceWidgetCollection::GetTrackingDeviceWidgetClone ( TrackingDeviceType  type)
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 37 of file mitkTrackingDeviceWidgetCollection.cpp.

References us::GetModuleContext().

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

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

Definition at line 50 of file mitkTrackingDeviceWidgetCollection.cpp.

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

void mitk::TrackingDeviceWidgetCollection::UnRegisterMicroservice ( )
virtual

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

Definition at line 44 of file mitkTrackingDeviceWidgetCollection.cpp.

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


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