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