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

Micro Service Singleton to get an instance of mitk::ToolManager. More...

#include <mitkToolManagerProvider.h>

Inheritance diagram for mitk::ToolManagerProvider:
Collaboration diagram for mitk::ToolManagerProvider:

Public Member Functions

 mitkClassMacroItkParent (ToolManagerProvider, itk::LightObject)
 
virtual mitk::ToolManagerGetToolManager ()
 Returns ToolManager object. More...
 

Static Public Member Functions

static mitk::ToolManagerProviderGetInstance ()
 Returns an instance of ToolManagerProvider service. More...
 

Protected Member Functions

Pointer Clone () const
 
 ToolManagerProvider ()
 
virtual ~ToolManagerProvider ()
 
 ToolManagerProvider (const ToolManagerProvider &)
 
ToolManagerProvideroperator= (const ToolManagerProvider &)
 

Static Protected Member Functions

static Pointer New ()
 

Protected Attributes

mitk::ToolManager::Pointer m_ToolManager
 

Detailed Description

Micro Service Singleton to get an instance of mitk::ToolManager.

See also
ToolManager

Implemented as a singleton to have implicitly only one instance of ToolManager. Use this service to make sure your Tools are managed by the object.

Note
Can only be instantiated by SegmentationModuleActivator. The common way to get the ToolManager is by mitk::ToolManager* toolManager = mitk::ToolManagerProvider::GetInstance()->GetToolManager();

Definition at line 44 of file mitkToolManagerProvider.h.

Constructor & Destructor Documentation

mitk::ToolManagerProvider::ToolManagerProvider ( )
protected

Definition at line 23 of file mitkToolManagerProvider.cpp.

mitk::ToolManagerProvider::~ToolManagerProvider ( )
protectedvirtual

Definition at line 27 of file mitkToolManagerProvider.cpp.

mitk::ToolManagerProvider::ToolManagerProvider ( const ToolManagerProvider )
protected

Member Function Documentation

Pointer mitk::ToolManagerProvider::Clone ( ) const
protected
mitk::ToolManagerProvider::mitkClassMacroItkParent ( ToolManagerProvider  ,
itk::LightObject   
)
static Pointer mitk::ToolManagerProvider::New ( )
staticprotected
ToolManagerProvider& mitk::ToolManagerProvider::operator= ( const ToolManagerProvider )
protected

Member Data Documentation

mitk::ToolManager::Pointer mitk::ToolManagerProvider::m_ToolManager
protected

Definition at line 72 of file mitkToolManagerProvider.h.


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