Ets_Nt_Object_Install_Callback_Register()

Note: Requires OPNET Development Kit

Abstract

Registers a function to be called each time a user adds an object to the network.

Syntax

Ets_Nt_Object_Install_Callback_Register (callback_func, state_ptr)
Argument Type Description
callback_func EtsT_Nt_Object_Install_Callback Function to be called when the user adds objects to the network (see Details).
state_ptr void * Arbitrary state that the user wants to pass into the callback when it is called.

Return Type

void

No return value.

ets_api_nt_cback.h

Details

This function allows you to register a callback function that is called every time the user adds objects to the network (for example, creating from the object palette or pasting from the clipboard). The objects can come from multiple locations. The callback function is useful when you need to keep track of objects in the network or pre-process objects that enter the network.

The callback function prototype is given in EtsT_Nt_Object_Install_Callback.

本站文档由 北京智网畅联科技有限公司 整理、翻译并提供 · 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