Ets_Shapeset_Model_Reference()

Note: Requires OPNET Development Kit

Abstract

Increases the reference count of a shapeset.

Syntax

Ets_Shapeset_Model_Reference (shapeset_mdl_hndl)
Argument Type Description
shapeset_mdl_hndl EtsT_Model_Handle Handle to a shapeset to be referenced.

Return Type

void

No return value.

ets_api_shapeset.h

Details

This function lets you protect a shapeset from automatic deallocation by routine garbage collection. You should call this function when you create a shapeset, and call Ets_Shapeset_Model_Unreference() when the shapeset is no longer needed. While the shapeset exists, additional references will be made to it each time it is added to a slice, and removed when it is no longer used by the slice.

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