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.

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.

本站文档由 北京智网畅联科技有限公司 整理、翻译并提供 · Documentation compiled and provided by Beijing ZNetLink Technology Co., Ltd.

交流群 · QQ Group:OPNET/智网妙算网络仿真交流群(群号 486383494)

原文档 © 2017 Riverbed Technology · 本站为公益翻译,由 AI 辅助完成,请仔细甄别

Original documentation © 2017 Riverbed Technology. Community translation, AI-assisted. Contact: jiazequn@znetlink.com