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.

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().

本站文档由 北京智网畅联科技有限公司 整理、翻译并提供 · Documentation compiled and provided by Beijing ZNetLink Technology Co., Ltd.

交流群 · QQ Group:OPNET/智网妙算网络仿真交流群(群号 486383494)

原文档 © 2017 Riverbed Technology · 本站为公益翻译,由 AI 辅助完成,请仔细甄别

Original documentation © 2017 Riverbed Technology. Community translation, AI-assisted. Contact: jiazequn@znetlink.com