|
Medical Imaging Interaction Toolkit
2026.06.00
Medical Imaging Interaction Toolkit
|
Auto-loading of modules is a feature of CppMicroServices to manage the loading of modules which would normally not be loaded at runtime because of missing link-time dependencies.
In MITK, auto-loading is always enabled and cannot be disabled.
For each module being loaded, the following steps are taken:
See the ModuleSettings class for details about auto-load paths. The auto-load directory of a module defaults to the module's library name, but can be customized using a manifest.json file (see Module Properties). For executables, the auto-load directory defaults to the special value main. This allows third-party modules to be auto-loaded during application start-up, without having to reference a special auto-load directory.
The following environment variables influence the runtime behavior:
: (Unix) or ; (Windows) separated list of paths from which modules should be auto-loaded.