clear_component_modelT_clear_component_modelClearComponentModelClearComponentModel (Operator)

Name

clear_component_modelT_clear_component_modelClearComponentModelClearComponentModel — Free the memory of a component model.

Signature

clear_component_model( : : ComponentModelID : )

Herror T_clear_component_model(const Htuple ComponentModelID)

void ClearComponentModel(const HTuple& ComponentModelID)

void HComponentModel::ClearComponentModel() const

static void HOperatorSet.ClearComponentModel(HTuple componentModelID)

void HComponentModel.ClearComponentModel()

Description

The operator clear_component_modelclear_component_modelClearComponentModelClearComponentModelClearComponentModel frees the memory of a component model that was created by create_component_modelcreate_component_modelCreateComponentModelCreateComponentModelCreateComponentModel or create_trained_component_modelcreate_trained_component_modelCreateTrainedComponentModelCreateTrainedComponentModelCreateTrainedComponentModel. After calling clear_component_modelclear_component_modelClearComponentModelClearComponentModelClearComponentModel, the model can no longer be used. The handle ComponentModelIDComponentModelIDComponentModelIDComponentModelIDcomponentModelID becomes invalid.

Execution Information

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.

Parameters

ComponentModelIDComponentModelIDComponentModelIDComponentModelIDcomponentModelID (input_control, state is modified)  component_model HComponentModel, HTupleHTupleHtuple (handle) (IntPtr) (HHandle) (handle)

Handle of the component model.

Result

If the handle of the model is valid, the operator clear_component_modelclear_component_modelClearComponentModelClearComponentModelClearComponentModel returns the value 2 (H_MSG_TRUE). If necessary, an exception is raised.

Possible Predecessors

create_component_modelcreate_component_modelCreateComponentModelCreateComponentModelCreateComponentModel, create_trained_component_modelcreate_trained_component_modelCreateTrainedComponentModelCreateTrainedComponentModelCreateTrainedComponentModel, read_component_modelread_component_modelReadComponentModelReadComponentModelReadComponentModel, write_component_modelwrite_component_modelWriteComponentModelWriteComponentModelWriteComponentModel

Module

Matching