Medical Imaging Interaction Toolkit
2024.06.99-60d9b802
Medical Imaging Interaction Toolkit
|
#include <usModuleFindHook.h>
Public Member Functions | |
virtual | ~ModuleFindHook () |
virtual void | Find (const ModuleContext *context, ShrinkableVector< Module * > &modules)=0 |
Module Context Hook Service.
Modules registering this service will be called during module find (get modules) operations.
Definition at line 44 of file usModuleFindHook.h.
|
virtual |
|
pure virtual |
Find hook method. This method is called for module find operations using ModuleContext::GetBundle(long) and ModuleContext::GetModules() methods. The find method can filter the result of the find operation.
context | The module context of the module performing the find operation. |
modules | A list of Modules to be returned as a result of the find operation. The implementation of this method may remove modules from the list to prevent the modules from being returned to the module performing the find operation. |