<info_set_callback>

Abstract

Saves the results of pipeline calculations for a specific pair of clusters.

Syntax

<info_set_callback> (wdomain_state_ptr, xmit_cluster_id, rcv_cluster_id, info_ptr, continuation_ptr)

Argument Type Description
wdomain_state_ptr void * User-defined state information about the wireless domain, provided by the <init_callback>.
xmit_cluster_id SimT_Wcluster_Id Identifier of the cluster containing the transmitting object.
rcv_cluster_id SimT_Wcluster_Id Identifier of the cluster containing the receiving object.
info_ptr SimT_Wcluster_Info * Data to be saved in the cache.
continuation_ptr void ** Optional pointer to the cache element corresponding to the specified transmit and receive clusters (obtained from the preceding <info_get_callback> invocation).

Return Type

Compcode

OPC_COMPCODE_SUCCESS if the data is successfully saved; OPC_COMPCODE_FAILURE otherwise.

Details

You can rename the arguments, but do not change the function name (<info_set_callback>).

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