Ets_Site_Location_Changed_Handler_Register()
Note: Requires OPNET Development Kit
Abstract
Registers a handler that will be called whenever a site (or a group of sites) is repositioned in the Project Editor.
Syntax
Ets_Site_Location_Changed_Handler_Register (model_hndl, handler)
| Argument | Type | Description |
|---|---|---|
model_hndl |
EtsT_Model_Handle |
Handle of the model for which the callback function is to be registered. |
handler |
EtsT_Site_Location_Changed_Handler |
Handler that will be invoked every time a site is repositioned. |
Return Type
void
No return value.
Header
ets_api_nt.h
Details
This function will register a handler that will be invoked every time a site (a node or subnet) or group of sites is repositioned in the Project Editor. The handler has model scope and therefore needs to be registered every time a model is created or opened.
The handler prototype is given in EtsT_Site_Location_Changed_Handler.