get_modulesT_get_modulesGetModulesGetModulesget_modules (算子名称)
名称
get_modulesT_get_modulesGetModulesGetModulesget_modules — 查询使用过的模块和模块密钥。
参数签名
def get_modules() -> Tuple[Sequence[str], int]
描述
get_modulesget_modulesGetModulesGetModulesGetModulesget_modules returns the modules UsedModulesUsedModulesUsedModulesUsedModulesusedModulesused_modules that were used
up to this point in the HALCON session. Based on the used modules, a key
is generated that is returned in ModuleKeyModuleKeyModuleKeyModuleKeymoduleKeymodule_key. Each operator belongs
to exactly one module.
The information which modules where used can be reset by calling
set_systemset_systemSetSystemSetSystemSetSystemset_system with the 'reset_used_modules'"reset_used_modules""reset_used_modules""reset_used_modules""reset_used_modules""reset_used_modules" parameter.
运行信息
- 多线程类型:可重入(与非独占操作符并行运行)。
- 多线程作用域:全局(可以从任何线程调用)。
- 未经并行化处理。
参数表
UsedModulesUsedModulesUsedModulesUsedModulesusedModulesused_modules (output_control) string-array → HTupleSequence[str]HTupleHtuple (string) (string) (HString) (char*)
Names of used modules.
ModuleKeyModuleKeyModuleKeyModuleKeymoduleKeymodule_key (output_control) integer → HTupleintHTupleHtuple (integer) (int / long) (Hlong) (Hlong)
Key for license manager.
模块
Foundation