EtsT_View_Change_Proc

Note: Requires OPNET Development Kit

Abstract

Callback: Called just before switching out of a subnet's view.

Syntax

<view_change_proc_name> (current_view_hndl, new_view_hndl, new_view_option, subnet_hndl)
Argument Type Description
current_view_hndl EtsT_View_Handle View active in the subnet.
new_view_hndl EtsT_View_Handle View that is being switched to.
new_view_option int Scope of the new view that is being switched to, either ETSC_VIEW_OPT_SUBNET or ETSC_VIEW_OPT_NETWORK.
subnet_hndl EtsT_Obj_Handle Subnet whose view is being changed.

Return Type

EtsT_Boolean

EtsC_True if OK to change the subnet's view; EtsC_False otherwise.

ets_api_view.h

Details

This callback is specified in the view definition file using the tag:

view change callback: <library_name> <function_name>

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