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.
Header
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).