Ets_Pj_Scenario_Event_Client_Callback_Register_For_Editor_Type()
Note: Requires OPNET Development Kit
Abstract
Registers a callback that will be invoked when certain scenario-related events occur in a specific type of editor.
Syntax
Ets_Pj_Scenario_Event_Client_Callback_Register_For_Editor_Type (editor_type_name, client_scenario_callback, client_data)
| Argument | Type | Description |
|---|---|---|
editor_type_name |
const char * |
Name of editor type to which the callback applies, or PRGC_NIL if it applies to all editor types. |
client_scenario_callback |
EtsT_Pj_Scenario_Event_Client_Callback |
Callback to be registered. |
client_data |
void * |
Client data. |
Return Type
void
No return value.
Header
ets_api_pj.h
Details
The editor_type_name argument must be one of the editor names defined in an ETS configuration file (such as <install_dir>\<reldir>\sys\configs\modeler.ets). Valid editor names include “System” and “project”.
This function registers a callback that will be invoked when certain scenario-related events occur in an editor of the specified type. The prototype for the callback is given at EtsT_Pj_Scenario_Event_Client_Callback.