13 #ifndef MITKCORESERVICES_H 14 #define MITKCORESERVICES_H 30 struct IMimeTypeProvider;
31 class IPropertyAliases;
32 class IPropertyDescriptions;
33 class IPropertyExtensions;
34 class IPropertyFilters;
35 class IPropertyPersistence;
36 class IPropertyRelations;
118 return Unget(context, us_service_interface_iid<S>(), service);
122 static bool Unget(us::ModuleContext *context,
const std::string &interfaceId,
void *service);
145 : m_Service(service),
157 catch (
const std::exception &e)
163 MITK_ERROR <<
"Ungetting core service failed.";
174 us::ModuleContext* m_Context;
178 #endif // MITKCORESERVICES_H Interface of property relations service.
Interface of property aliases service.
Access MITK core services.
DataCollection - Class to facilitate loading/accessing structured data.
Interface of property extensions service.
Interface of property descriptions service.
The IMimeTypeProvider service interface allows to query all registered mime types.
Interface of property persistence service.
A RAII helper class for core service objects.
Interface of property filters service.
CoreServicePointer(S *service, us::ModuleContext *context=us::GetModuleContext())
static ModuleContext * GetModuleContext()
Returns the module context of the calling module.
static bool Unget(S *service, us::ModuleContext *context=us::GetModuleContext())
Unget a previously acquired service instance.