Ets_An_Trace_Destroy_Callback_Register()

Note: Requires OPNET Development Kit

Abstract

Registers a function to be called when an analysis panel trace is deleted.

Syntax

Ets_An_Trace_Destroy_Callback_Register (an_trace_handle, callback_fn_ptr, state_ptr)
Argument Type Description
an_trace_handle EtsT_An_Trace_Handle * Trace with which to associate destroy callback.
callback_fn_ptr EtsT_An_Trace_Destroy_Proc Destroy callback.
state_ptr void * User-defined data to be passed to the callback procedure.

Return Type

void

No return value.

ets_api_an_panel.h

Details

This function registers a client-specified callback function (callback_fn_ptr) that is invoked when the trace (identified by an_trace_handle) is being destroyed.

The prototype for callback_fn_ptr is given in EtsT_An_Trace_Destroy_Proc.

The destroy function for traces is described in Ets_An_Trace_Destroy().

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