OvisT_Anim_Transmitter_Init_Proc

Abstract

Callback: Invoked after the simulation kernel creates a transmitter object.

Syntax

<anim_transmitter_init_proc_name> (tx_ptr)
Argument Type Description
tx_ptr OvisT_Transmitter * Pointer to the transmitter object just created by the simulation kernel

Return Type

void *

User state associated with the transmitter object.

ovis_transmission_anim.h

Details

This callback is invoked by the simulation kernel after a transmitter object has been created (as a result of the use of Ovis_Bus_Transmitter_Animation_Enable(), Ovis_Ptpt_Link_Transmitter_Animation_Enable(), or Ovis_Wireless_Transmitter_Animation_Enable() in model code).

This allows the creation of an appropriate user state structure to associate with the transmitter object.

The user state is returned by the function, and can be later accessed using Ovis_Transmitter_State_Get(). The user state can also be replaced later on using Ovis_Transmitter_State_Set().

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