EsaT_Interface_Array_Callback_Proc

Abstract

Callback: Called when Riverbed analysis software model code assigns a value to a vector interface.

Syntax

<interface_array_callback_proc_name> (client_state_ptr, sched_time, array, start_offset)
Argument Type Description
client_state_ptr void * client data specified when the callback was registered
sched_time double simulation time at which the vector interface value was set
array void * pointer to the source array used to set the vector interface (data type of the array matches that of the interface)
start_offset int index of the first element in the array written to the vector interface

Return Type

void

No return value.

esa.h

Details

See op_esys_interface_array_set() on page 5 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