get_modulesT_get_modulesGetModulesGetModulesget_modules (算子)

名称

get_modulesT_get_modulesGetModulesGetModulesget_modules — 查询已使用的模块和模块键。

签名

get_modules( : : : UsedModules, ModuleKey)

Herror T_get_modules(Htuple* UsedModules, Htuple* ModuleKey)

void GetModules(HTuple* UsedModules, HTuple* ModuleKey)

static HTuple HSystem::GetModules(Hlong* ModuleKey)

static void HOperatorSet.GetModules(out HTuple usedModules, out HTuple moduleKey)

static HTuple HSystem.GetModules(out int moduleKey)

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 (输出控制)  string-array HTupleSequence[str]HTupleHtuple (string) (string) (HString) (char*)

Names of used modules.

ModuleKeyModuleKeyModuleKeyModuleKeymoduleKeymodule_key (输出控制)  integer HTupleintHTupleHtuple (integer) (int / long) (Hlong) (Hlong)

Key for license manager.

模块

基础