Ets_Pj_Scenarios_Manage_Event_Callback_Register()

Note: Requires OPNET Development Kit

Abstract

Registers callbacks that can modify the functionality of the Manage Scenarios dialog box.

Syntax

Ets_Pj_Scenarios_Manage_Event_Callback_Register (editor_type_name, callback_proc, client_data)
Argument Type Description
editor_type_name const char * Type of editor for which this callback should be registered (see Details).
callback_proc EtsT_Pj_Scenarios_Manage_Event_Callback Callback to handle responses to user inputs.
client_data void * User-specified state information to be passed to the callback.

Return Type

void

No return value.

ets_api_pj.h

Details

Use this function to define actions for a custom Manage Scenarios dialog box (as created by Ets_Pj_Scenarios_Manage()) or to override the actions of the standard Manage Scenarios dialog box. This function can be called repeatedly to register callbacks for different editors.

editor_type_name must be one of the editor names defined in an ETS configuration file (such as <reldir>/sys/configs/modeler.ets). Valid editor names include “System” and “project”.

The prototype for callback_proc is given in EtsT_Pj_Scenarios_Manage_Event_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