Medical Imaging Interaction Toolkit
2024.12.99-0da743f6
Medical Imaging Interaction Toolkit
|
A RAII helper class for core service objects. More...
#include <mitkCoreServices.h>
Public Member Functions | |
CoreServicePointer (S *service, us::ModuleContext *context=us::GetModuleContext()) | |
~CoreServicePointer () | |
S * | operator-> () const |
A RAII helper class for core service objects.
This is class is intended for usage in local scopes; it calls CoreServices::Unget(S*) in its destructor. You should not construct multiple CoreServicePointer instances using the same service pointer, unless it is retrieved by a new call to a CoreServices getter method.
Definition at line 166 of file mitkCoreServices.h.
|
inlineexplicit |
Definition at line 169 of file mitkCoreServices.h.
|
inline |
Definition at line 176 of file mitkCoreServices.h.
|
inline |
Definition at line 192 of file mitkCoreServices.h.