EtsT_Pj_Scenario_Event_Client_Callback
Note: Requires OPNET Development Kit
Abstract
Callback: Called when certain scenario-related client events occur.
Syntax
<scenario_event_client_callback_name> (event_type, unique_old_scenario_name, project_name, client_data)
| Argument | Type | Description |
|---|---|---|
event_type |
int |
Event type that triggered the callback; one of the scenario event codes in Table 36 Project Package Symbolic Constants. |
unique_old_scenario_name |
const char * |
Pointer to the unique name of the old scenario (see Details). |
project_name |
const char * |
Pointer to the project name. |
client_data |
void * |
Pointer to the client data. |
Return Type
void
No return value.
Header
ets_api_pj.h
Details
This callback will be invoked when certain scenario-related events occur. The supported events are new, duplicate, delete, switch, and import.
If event_type is EtsC_Pj_Scenario_Post_Import, unique_old_scenario_name points to the name of the new scenario that was just imported.
The callback is registered by Ets_Pj_Scenario_Event_Client_Callback_Register().