Medical Imaging Interaction Toolkit  2018.4.99-7e02155b
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 ()
 
 ~USUIActivator () override
 
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

std::vector< QmitkUSAbstractCustomWidget * > m_USCustomWidgets
 Contains the currently available US custom controls widgets which are loaded on Load() More...
 

Detailed Description

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

Definition at line 30 of file mitkUSUIActivator.h.

Constructor & Destructor Documentation

◆ USUIActivator()

mitk::USUIActivator::USUIActivator ( )

◆ ~USUIActivator()

mitk::USUIActivator::~USUIActivator ( )
override

Member Function Documentation

◆ Load()

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.

◆ Unload()

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

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

Member Data Documentation

◆ m_USCustomWidgets

std::vector<QmitkUSAbstractCustomWidget*> mitk::USUIActivator::m_USCustomWidgets
protected

Contains the currently available US custom controls widgets which are loaded on Load()

Definition at line 51 of file mitkUSUIActivator.h.


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