clear_templateT_clear_templateClearTemplateClearTemplateclear_template (算子名称)
名称
clear_templateT_clear_templateClearTemplateClearTemplateclear_template — Deallocation of the memory of a template.
警告
clear_templateclear_templateClearTemplateClearTemplateClearTemplateclear_template is obsolete and is only provided for
reasons of backward compatibility. New applications should use the
shape-based or NCC-based operators instead.
参数签名
描述
该算子 clear_templateclear_templateClearTemplateClearTemplateClearTemplateclear_template deallocates the memory of
a template which has been created by create_templatecreate_templateCreateTemplateCreateTemplateCreateTemplatecreate_template
or create_template_rotcreate_template_rotCreateTemplateRotCreateTemplateRotCreateTemplateRotcreate_template_rot.
After execution of 该算子 clear_templateclear_templateClearTemplateClearTemplateClearTemplateclear_template
the template can no longer be used. The value
of TemplateIDTemplateIDTemplateIDTemplateIDtemplateIDtemplate_id is not valid.
However, the number can be used again by further calls of
create_templatecreate_templateCreateTemplateCreateTemplateCreateTemplatecreate_template or create_template_rotcreate_template_rotCreateTemplateRotCreateTemplateRotCreateTemplateRotcreate_template_rot.
运行信息
- 多线程类型:可重入(与非独占操作符并行运行)。
- 多线程作用域:全局(可以从任何线程调用)。
- 未经并行化处理。
This operator modifies the state of the following input parameter:
During execution of this operator, access to the value of this parameter must be synchronized if it is used across multiple threads.
参数表
TemplateIDTemplateIDTemplateIDTemplateIDtemplateIDtemplate_id (input_control, state is modified) template → HTemplate, HTupleHHandleHTupleHtuple (handle) (IntPtr) (HHandle) (handle)
Template number.
结果
If the number of the template is valid, 该算子
clear_templateclear_templateClearTemplateClearTemplateClearTemplateclear_template 返回值 2 (
H_MSG_TRUE)
.
If necessary an exception is raised.
可能的前置算子
create_templatecreate_templateCreateTemplateCreateTemplateCreateTemplatecreate_template,
create_template_rotcreate_template_rotCreateTemplateRotCreateTemplateRotCreateTemplateRotcreate_template_rot,
read_templateread_templateReadTemplateReadTemplateReadTemplateread_template,
write_templatewrite_templateWriteTemplateWriteTemplateWriteTemplatewrite_template
模块
Matching