Medical Imaging Interaction Toolkit  2026.06.00
Medical Imaging Interaction Toolkit
MitkCoreActivator Class Reference

Module activator for the MitkCore module. More...

#include <mitkCoreActivator.h>

Inheritance diagram for MitkCoreActivator:
Collaboration diagram for MitkCoreActivator:

Public Member Functions

void Load (us::ModuleContext *context) override
 Load and register all core services. More...
 
void Unload (us::ModuleContext *) override
 Unload and clean up all registered services. More...
 
- Public Member Functions inherited from us::ModuleActivator
virtual ~ModuleActivator ()
 Virtual destructor. More...
 

Detailed Description

Module activator for the MitkCore module.

Registers all core services when the module is loaded, including property services (aliases, descriptions, extensions, filters, persistence, relations, deserialization), I/O services (MIME types, ITK/VTK image readers/writers, point set and surface I/O, legacy writer adapters), node selection, plane position management, and preferences.

On unload, all registered services and file I/O instances are cleaned up.

See also
mitk::CoreServices
us::ModuleActivator

Definition at line 55 of file mitkCoreActivator.h.

Member Function Documentation

◆ Load()

void MitkCoreActivator::Load ( us::ModuleContext *  context)
overridevirtual

Load and register all core services.

Called by CppMicroServices when the MitkCore module is loaded. Registers default MIME types, ITK/VTK readers and writers, point set I/O, geometry data I/O, raw image reader, legacy writers, property services, preferences, and MIME type provider.

Parameters
[in]contextThe module context for service registration.

Implements us::ModuleActivator.

◆ Unload()

void MitkCoreActivator::Unload ( us::ModuleContext *  )
overridevirtual

Unload and clean up all registered services.

Called by CppMicroServices when the MitkCore module is unloaded. Deletes all file reader, writer, and I/O instances and stops the MIME type provider.

Implements us::ModuleActivator.


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