Ets_Output_Context_Create()

Abstract

Allocates memory for an output context object.

Syntax

Ets_Output_Context_Create (model_hndl, mode_val)
Argument Type Description
model_hndl EtsT_Model_Handle Scenario model for the output of interest.
mode_val EtsT_Output_Source Type of analysis that generated the output.

Return Type

EtsT_Output_Context *

Output context object; PRGC_NIL if unsuccessful.

ets_api_output.h

Details

This function creates an output context object that is used to cache the state for accessing output information for specific objects (for example, from Flow Analysis or discrete event simulation). It then opens a reader for the output table associated with the specified model (model_hndl) and source (mode_val).

The required analysis data should already exist when this function is called.

The returned output context is owned by the caller and should be destroyed with Ets_Output_Context_Destroy() when no longer needed. It should be destroyed and recreated if the source analysis is rerun.

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