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.
Header
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().