Ets_Nt_Import_Object_Create()

Note: Requires OPNET Development Kit

Abstract

Creates an object in the import model.

Syntax

Ets_Nt_Import_Object_Create (name, type, parent_ptr)
Argument Type Description
name const char* Name of the object to be created.
type EtsT_Nt_Import_Object_Type Type of object to be created; one of the values given in Table 24 Import Sub-Package Symbolic Constants.
parent_ptr EtsT_Nt_Import_Object* Parent subnet for the object. If two objects share a parent, they will appear in the same subnet.

Return Type

EtsT_Nt_Import_Object*

The newly created object.

ets_nt_obj_import.h

Details

The object created by this function can represent one of the following network objects:

  • Fixed node
  • Duplex link
  • Path
  • Demand

This function generates a recoverable error if name is unspecified (NIL pointer or empty string) or if parent_ptr is NIL or not a subnet.

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