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.
Header
ets_api_view.h
Details
This callback is specified in the view definition file using the tag:
view change callback: <library_name> <function_name>