EtsT_Obj_Destruction_Handler
Abstract
Callback: Used to specify custom actions to be performed when an object is destroyed.
Syntax
<object_destruction_handler_name> (obj_hndl)
| Argument | Type | Description |
|---|---|---|
obj_hndl |
EtsT_Obj_Handle |
Handle to the object that is being destroyed. |
Return Type
void
No return value.
Header
ets_api_obj.h
Details
Object destruction handlers let you specify custom processing each time an object is removed from a network model, regardless of how the object is removed. For example, the object can be cut to the clipboard, destroyed when the model is cleared, or destroyed via ETS. If an object destruction handler is specified for a model, it will be called whenever an instance of that model is removed from a network model.