EsaT_Interface_Callback_Proc

Abstract

Callback: Called when Riverbed analysis software model code assigns an individual value to an interface.

Syntax

<interface_callback_proc_name> (client_state_ptr, sched_time, vararg)
Argument Type Description
client_state_ptr void * client data specified when the callback was registered
sched_time double simulation time at which the interface value was set
vararg va_list value that was placed on the interface (data type matches that of the esys interface)

Return Type

void

No return value.

esa.h

Details

See op_esys_interface_value_set() on page 9 for information about how array and start_offset are used to set the interface.

After this callback is invoked, the Riverbed analysis software continues processing its model code, potentially executing many more events. If the callback cannot fully process the data immediately, it might be useful to stop the simulation from executing events after the current one. To do this, the callback should use Esa_Interrupt() to flag the Riverbed analysis software event loop so that Esa_Execute_Until() returns after the current event is done.

This callback is registered by Esa_Interface_Callback_Register().

本站文档由 北京智网畅联科技有限公司 整理、翻译并提供 · 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