Ets_Shapeset_Model_Unreference()

Note: Requires OPNET Development Kit

Abstract

Decreases the reference count of a shapeset.

Syntax

Ets_Shapeset_Model_Unreference (shapeset_mdl_hndl)
Argument Type Description
shapeset_mdl_hndl EtsT_Model_Handle Handle to a shapeset to be unreferenced.

Return Type

void

No return value.

ets_api_shapeset.h

Details

This function, in conjunction with Ets_Shapeset_Model_Reference(), lets you keep track of how many places a shapeset model is used. You should call this function when a shapeset is no longer needed. If this call removes the last reference to the shapeset model, it is deallocated and can no longer be accessed. If other references remain, the shapeset will be automatically deallocated when the last reference is removed (usually when the shapeset is no longer used by any slices).

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