Esa_Next_Event_Time_Get()
Abstract
Obtains the time of the next scheduled Riverbed Modeler event.
Syntax
Esa_Next_Event_Time_Get (esa_state_ptr, time_ptr)
| Argument | Type | Description |
|---|---|---|
esa_state_ptr |
EsaT_State_Handle |
ESA state information generated by Esa_Init() |
time_ptr |
double * |
will be filled with time of next scheduled event |
Return Type
EsaT_Compcode
EsaC_Comp_Success if a time value could be found; EsaC_Comp_Failure otherwise.
Header
esa.h
Details
This function obtains the time of the next scheduled Riverbed Modeler event. This allows a cosimulation to figure out if there is a time difference between the current and next Riverbed Modeler event, during which other cosimulation activities might take place.
Note: The simulation kernel and models do not expect any new events to appear when the “endsim” events are being delivered. After that phase is reached, there is no “next time” because the simulation has reached its end, and this function returns ESAC_TIME_NONE to indicate that situation. If you need to know the endsim time, use Esa_Current_Event_Time_Get().