Ovis_Updates_Flush()

Abstract

Forces an immediate update of the attribute values for newly created entities.

Syntax

Ovis_Updates_Flush ()
Argument Type Description
no arguments

Return Type

void

No return value.

ovis_entity.h

Details

When an entity is created, two RTI “messages” are delivered to 3D Network Visualizer:

  • A discovery indicating that a new object has been created
  • An update with the initial values of the object’s attributes

To give 3D Network Visualizer enough time to discover objects before the attribute update occurs, attribute values are not generated until after the mapping library is finished executing. However, if that mapping library also creates decorations that need to be attached to newly created entities, the attribute update must be sent immediately. This function forces that to happen.

A typical workflow for using this function is:

  1. Create mapped entities.
  2. Call Ovis_Updates_Flush().
  3. Create decorations for the new entities.

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