EtsT_Site_Location_Changed_Handler

Note: Requires OPNET Development Kit

Abstract

Callback: Used to specify custom processing to be performed when a site (node or subnet) changes location.

Syntax

<site_location_changed_handler_name> (obj_hndl, old_x, old_y)
Argument Type Description
obj_hndl EtsT_Obj_Handle Handle to the site whose location change is being signalled
old_x double previous x coordinate of the site, in the units of the site’s subnet
old_y double previous y coordinate of the site, in the units of the site’s subnet

Return Type

void

No return value.

ets_api_nt.h

Details

This handler has model scope and therefore needs to be registered every time a model is created or opened. It is registered by Ets_Site_Location_Changed_Handler_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