draw()

Abstract

Callback: Called when the visualization must be drawn

Syntax

<function_prefix>_draw (sim_state_ptr, mh, visible_subnet_handle, visible_subnet_objid)

Argument Type Description
sim_state_ptr void * Simulation state
mh EtsT_Model_Handle Visualization model
visible_subnet_handle EtsT_Obj_Handle Subnet being displayed
visible_subnet_objid int ID of the subnet being displayed

Return Type

void

no return value

Details

This callback is called to draw (or redraw) the visualization at the following times:

  • When the user first displays the visualization.
  • When the user navigates to a new subnet.
  • When the simulation progress is updated (based on the Update Interval specified in the Configure Simulation dialog; by default, every 500,000 events).
  • When the simulation breaks at the ODB prompt.

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