OvisT_Anim_Transmission_Init_Proc
Abstract
Callback: Invoked after the simulation kernel creates a transmission object.
Syntax
<anim_transmission_init_proc_name> (xmit_ptr)
| Argument | Type | Description |
|---|---|---|
xmit_ptr |
OvisT_Transmission * |
Pointer to the transmission object just created by the simulation kernel |
Return Type
void *
User state associated with the transmission object.
Header
ovis_transmission_anim.h
Details
This callback is invoked by the simulation kernel when a “start transmission” event starts being processed. A transmission object will be created for each transmitter object associated with the transmitting channel to which the event relates.
The creation happens before any pipeline stages are invoked.
This allows the creation of an appropriate user state structure to associate with the newly created transmission object.
The user state is returned by the function, and can be later accessed using Ovis_Reception_State_Get(). The user state can also be replaced later on using Ovis_Reception_State_Get().