Hcon_Device_Build_From_Demand()

Abstract

Build a hardware configuration from a set of demands.

Syntax

Hcon_Device_Build_From_Demand (demand, device_library)
Argument Type Description
demand HconT_Demand * what lowest level devices must be provided in the hardware configuration
device_library HconT_Library * device library from which device can be chosen

Return Type

PrgT_List *

The list of top level devices in the hardware configuration.

hcon.h

Details

Returns a list of top level devices (a PRG list of HconT_Devices *), which together with their components (lower level devices contained by them), will fulfill the requirements as defined in the given demand. All the devices are chosen from the given device library. If the demand cannot be fulfilled, this function returns NULL. See also Hcon_Demand_Create() and Hcon_Demand_Devices_Needed_Add() on how to set up a demand.

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