EtsT_Site_Location_Changed_Handler
Note: Requires OPNET Development Kit
Abstract
Callback: Used to specify custom processing to be performed when a site (node or subnet) changes location.
Syntax
<site_location_changed_handler_name> (obj_hndl, old_x, old_y)
| Argument | Type | Description |
|---|---|---|
obj_hndl |
EtsT_Obj_Handle |
Handle to the site whose location change is being signalled |
old_x |
double |
previous x coordinate of the site, in the units of the site’s subnet |
old_y |
double |
previous y coordinate of the site, in the units of the site’s subnet |
Return Type
void
No return value.
Header
ets_api_nt.h
Details
This handler has model scope and therefore needs to be registered every time a model is created or opened. It is registered by Ets_Site_Location_Changed_Handler_Register().