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.

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.

本站文档由 北京智网畅联科技有限公司 整理、翻译并提供 · 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