Medical Imaging Interaction Toolkit  2016.11.0
Medical Imaging Interaction Toolkit
mitk::USUIActivator Class Reference

Module activator for the USUI module. Registers custom widget for mitk::USVideoDevice as microservice. More...

#include <mitkUSUIActivator.h>

Inheritance diagram for mitk::USUIActivator:
Collaboration diagram for mitk::USUIActivator:

Public Member Functions

 USUIActivator ()
 
virtual ~USUIActivator ()
 
void Load (us::ModuleContext *context) override
 
void Unload (us::ModuleContext *context) override
 
- Public Member Functions inherited from us::ModuleActivator
virtual ~ModuleActivator ()
 
virtual void Load (ModuleContext *context)=0
 
virtual void Unload (ModuleContext *context)=0
 

Protected Attributes

us::ServiceRegistration< QmitkUSAbstractCustomWidgetm_ServiceRegistration
 
USUICustomWidgetFactorym_CustomWidgetFactory
 
QmitkUSControlsCustomVideoDeviceWidgetm_CustomVideoDeviceWidget
 

Detailed Description

Module activator for the USUI module. Registers custom widget for mitk::USVideoDevice as microservice.

Definition at line 36 of file mitkUSUIActivator.h.

Constructor & Destructor Documentation

mitk::USUIActivator::USUIActivator ( )

Definition at line 21 of file mitkUSUIActivator.cpp.

mitk::USUIActivator::~USUIActivator ( )
virtual

Definition at line 26 of file mitkUSUIActivator.cpp.

Member Function Documentation

void mitk::USUIActivator::Load ( us::ModuleContext *  context)
override

Custom video device widget is registered as a micro service on module load. A plugin can get this widget then when using a mitk::USVideoDevice.

Definition at line 34 of file mitkUSUIActivator.cpp.

void mitk::USUIActivator::Unload ( us::ModuleContext *  context)
override

Custom video device widget is deregistered from micro service on module unload.

Definition at line 54 of file mitkUSUIActivator.cpp.

Member Data Documentation

QmitkUSControlsCustomVideoDeviceWidget* mitk::USUIActivator::m_CustomVideoDeviceWidget
protected

Definition at line 59 of file mitkUSUIActivator.h.

USUICustomWidgetFactory* mitk::USUIActivator::m_CustomWidgetFactory
protected

Definition at line 58 of file mitkUSUIActivator.h.

us::ServiceRegistration<QmitkUSAbstractCustomWidget> mitk::USUIActivator::m_ServiceRegistration
protected

Definition at line 56 of file mitkUSUIActivator.h.


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