EtsT_Nt_Object_Install_Callback
Note: Requires OPNET Development Kit
Abstract
Callback: Registers an object to add to the workspace.
Syntax
EtsT_Nt_Object_Install_Callback (obj_handle_array, array_size, state_ptr, source)
| Argument | Type | Description |
|---|---|---|
obj_handle_array |
EtsT_Obj_Handle * |
Array of objects to add to an editor |
array_size |
int |
The number of objects in the array |
state_ptr |
void * |
Arbitrary client state |
source |
EtsT_Nt_Object_Install_Src | The source of the objects (one of the values in Table 30 Network Callback Symbolic Constants) |
Return Type
void
No return value.
Header
ets_api_nt_cback.h
Details
This function is called whenever an object is added to the workspace. The client will get an array of the objects that have been added to the network. This array does not outlive the call, so it is up to the user to copy the array if it is needed later.
This function is registered by Ets_Nt_Object_Install_Callback_Register().