Medical Imaging Interaction Toolkit  2023.12.99-7a59bd54
Medical Imaging Interaction Toolkit
us::ModuleRegistry Class Reference

#include <usModuleRegistry.h>

Static Public Member Functions

static ModuleGetModule (long id)
 
static ModuleGetModule (const std::string &name)
 
static std::vector< Module * > GetModules ()
 
static std::vector< Module * > GetLoadedModules ()
 
static void Register (ModuleInfo *info)
 
static void UnRegister (const ModuleInfo *info)
 

Detailed Description

Here we handle all the modules that are loaded in the framework.

Definition at line 41 of file usModuleRegistry.h.

Member Function Documentation

◆ GetLoadedModules()

static std::vector<Module*> us::ModuleRegistry::GetLoadedModules ( )
static

Get all modules currently in module state LOADED.

Returns
A list which is filled with all modules in state LOADED

◆ GetModule() [1/2]

static Module* us::ModuleRegistry::GetModule ( const std::string &  name)
static

Get the module that has specified module name.

Parameters
nameThe name of the module to get.
Returns
Module or null.

◆ GetModule() [2/2]

static Module* us::ModuleRegistry::GetModule ( long  id)
static

Get the module that has the specified module identifier.

Parameters
idThe identifier of the module to get.
Returns
Module or null if the module was not found.

◆ GetModules()

static std::vector<Module*> us::ModuleRegistry::GetModules ( )
static

Get all known modules.

Returns
A list which is filled with all known modules.

◆ Register()

static void us::ModuleRegistry::Register ( ModuleInfo info)
static

◆ UnRegister()

static void us::ModuleRegistry::UnRegister ( const ModuleInfo info)
static

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