EtsT_Nt_Time_Slider_Range_Query_Callback
Abstract
Callback: Called when the Time Controller dialog box is about to be displayed.
Syntax
EtsT_Nt_Time_Slider_Range_Query_Callback (model_hndl, plugin_tag, start_time_offset, end_time_offset)
| Argument | Type | Description |
|---|---|---|
model_hndl |
EtsT_Model_Handle |
The network model for which the time range should be set. |
plugin_tag |
const char * |
The tag of the plug-in being queried (as defined in the time settings file). |
start_time_offset |
double * |
Area to be filled with the start time of the plug-in’s data. |
end_time_offset |
double * |
Area to be filled with the end time of the plug-in’s data. |
Return Type
EtsT_Compcode
EtsC_Compcode_Success if successful; EtsC_Compcode_Failure if the time range could not be set.
Header
ets_api_nt.h
Details
This callback gets the time controller settings from the plug-in. The plug-in is responsible for determining the start and end time of its data and for filling the start_time_offset and end_time_offset arguments. Both times are 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.