EtsT_Nt_Time_Slider_Step_Query_Callback
Abstract
Callback: Called when the Time Controller dialog box is about to be displayed.
Syntax
EtsT_Nt_Time_Slider_Step_Query_Callback (model_hndl, plugin_tag, time_step)
| Argument | Type | Description |
|---|---|---|
model_hndl |
EtsT_Model_Handle |
The network model for which the time interval should be set. |
plugin_tag |
const char * |
The tag of the plug-in being queried (as defined in the time settings file). |
time_step |
double * |
Area to be filled with the time interval of the plug-in’s data. |
Return Type
EtsT_Compcode
EtsC_Compcode_Success if successful; EtsC_Compcode_Failure if the time step could not be set.
Header
ets_api_nt.h
Details
This callback sets the time controller’s step value. The plug-in is responsible for determining the bucket size for its data and filling the time_step argument accordingly. The time step is expressed as an offset, in seconds, from the network start time.
This callback is registered in a time settings file, as described in Time Visualization Sub-Package.