Ets_Pj_Simulation_Update_Callback_Register()
Note: Requires OPNET Development Kit
Abstract
Registers a callback to be invoked each time a simulation status update message is generated.
Syntax
Ets_Pj_Simulation_Update_Callback_Register (callback_proc, client_state_ptr)
| Argument | Type | Description |
|---|---|---|
callback_proc |
EtsT_Pj_Simulation_Update_Callback |
Callback to be registered, or PRGC_NIL. |
client_state_ptr |
void * |
User-specified state information to be passed to the callback. |
Return Type
void
No return value.
Header
ets_api_pj.h
Details
This function registers a callback that will be invoked each time a simulation status update message is generated. The callback is registered globally, not for each model. If callback_proc is PRGC_NIL, any existing simulation update callback will be deregistered.
The prototype for callback_proc is given at EtsT_Pj_Simulation_Update_Callback.