PrgT_Graph_Ext_Copy_Proc

Abstract

Callback: Copies an element in a graph (extended version).

Syntax

PrgT_Graph_Ext_Copy_Proc (elem_type, orig_elem_ptr, new_elem_ptr, orig_client_state_ptr)
Argument Type Description
elem_type PrgT_Graph_Element_Type Type of element being pointed to (one of the values in Table 4 Graph Package Symbolic Constants).
orig_elem_ptr void * Pointer to the element to be copied.
new_elem_ptr void * Pointer to the copy.
orig_client_state_ptr void * Pointer to user-defined information that was defined when the callback was registered.

Return Type

void *

A copy of the element.

prg_graph.h

Details

This procedure is called whenever a graph is copied. It is registered by prg_graph_state_ext_handler_register().

This callback type is a more flexible version of PrgT_Graph_Copy_Proc. Use only one of these two callback types; do not mix them.

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