Ovis_Entity_From_Rti_Create()

Abstract

Creates an entity structure for an existing RTI object.

Syntax

Ovis_Entity_From_Rti_Create (obj_handle, objid, destroy_proc, state_ptr)
Argument Type Description
obj_handle RTI::ObjectHandle RTI object of interest
objid Objid Simulation object ID
destroy_proc OvisT_Entity_State_Destroy_Proc Callback function that will destroy the entity's state when the entity is destroyed
state_ptr void * Optional user-provided state

Return Type

OvisT_Entity *

Returns the entity, or OVISC_NIL.

ovis_entity.h

Details

This function is defined only when an appropriate RTI development environment is available. (Riverbed does not provide such an environment.)

Errors

  • Object ID (<objid>) is out-of-range.
  • Object ID (<objid>) refers to a restricted object.
  • Object (<hname>) is not a fixed or mobile node or subnet.

Reference

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