Ets_Obj_Attr_Promoted_Status_Set()

Abstract

Sets an attributes status to promoted or not.

Syntax

Ets_Obj_Attr_Promoted_Status_Set (obj_hndl, attr_name, is_promoted)
Argument Type Description
obj_hndl_ptr EtsT_Obj_Handle Handle of object of interest.
attr_name const char * Name of attribute of interest.
is_promoted EtsT_Boolean Determines if the attribute is to be promoted (EtsC_True) or not (EtsC_False).

Return Type

EtsT_Compcode

EtsC_Compcode_Success if the attribute exists, is symbolic, and is valid. EtsC_Compcode_Failure otherwise.

ets_api_obj.h

Details

One advanced feature of the architecture is that it supports “promotion” of attributes associated with lower-level entities to higher-level entities. An example of this is that attributes defined at the process model level are automatically promoted to be attributes of the parent processor or queue (i.e., the module that is executing the process model). This allows the attributes to be assigned values on a module-by-module basis. If attributes are not assigned values at the module level, then the attributes will be automatically promoted to the node level; one more recursion of this type promotes the attributes to the network-wide level.

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