Medical Imaging Interaction Toolkit
2024.12.99-0da743f6
Medical Imaging Interaction Toolkit
|
Access MITK core services. More...
#include <mitkCoreServices.h>
Access MITK core services.
This class can be used to conveniently access common MITK Core service objects. Some getter methods where implementations exist in the core library are guaranteed to return a non-nullptr service object.
To ensure that CoreServices::Unget() is called after the caller has finished using a service object, you should use the CoreServicePointer helper class which calls Unget() when it goes out of scope:
Definition at line 59 of file mitkCoreServices.h.
|
static |
Get an IMimeTypeProvider instance.
context | The module context of the module getting the service. |
|
static |
Get an INodeSelectionsService instance.
context | The module context of the module getting the service. |
|
static |
Get an IPreferencesService instance.
context | The module context of the module getting the service. |
|
static |
Get an IPropertyAliases instance.
context | The module context of the module getting the service. |
|
static |
Get an IPropertyDescriptions instance.
context | The module context of the module getting the service. |
|
static |
Get an IPropertyDeserialization instance.
context | The module context of the module getting the service. |
|
static |
Get an IPropertyExtensions instance.
context | The module context of the module getting the service. |
|
static |
Get an IPropertyFilters instance.
context | The module context of the module getting the service. |
|
static |
Get an IPropertyPersistence instance.
context | The module context of the module getting the service. |
|
static |
Get an IPropertyRelations instance.
context | The module context of the module getting the service. |
|
inlinestatic |
Unget a previously acquired service instance.
service | The service instance to be released. |
context |
true
if ungetting the service was successful, false
otherwise. Definition at line 141 of file mitkCoreServices.h.
Referenced by mitk::CoreServicePointer< mitk::IPropertyFilters >::~CoreServicePointer().