EtsT_Obj_Creation_Handler
Abstract
Callback: Used to specify custom actions to be performed when an object is created.
Syntax
<object_creation_handler_name> (obj_hndl, source)
| Argument | Type | Description |
|---|---|---|
obj_hndl |
EtsT_Obj_Handle |
Handle to the object that was created. |
source |
“EtsT_Nt_Object_Install_Src“ |
Source method by which the object was created (one of the values given in “Network Callback Symbolic Constants“ on page 949). |
Return Type
void
No return value.
Header
ets_api_obj.h
Details
Object creation handlers allow a model developer to specify custom processing each time an object is added to a network model, regardless of how the object is added. For example, the object can be dragged from the object palette, pasted from the clipboard, created via rapid configuration or ETS, or created during a topology import. If an object creation handler callback is specified for a model, it will be called whenever an instance of that model is added to a network model.