tmm_all_propagation_model_names_list_get()

Note: Requires Terrain Modeling Module functionality

Abstract

Obtains a list of the names of all installed propagation models.

Syntax

tmm_all_propagation_model_names_list_get ()
Argument Type Description
no arguments

Return Value

PrgT_List *

List of names of all installed propagation models.

tmm.h

Example

PrgT_List      * tlptr;
PrgT_List_Cell * cell_ptr;

/* print installed propagation models and parameter sets */

tlptr = tmm_all_propagation_model_names_list_get();

for (cell_ptr = prg_list_head_cell_get (tlptr); cell_ptr; cell_ptr = prg_list_cell_next_get (cell_ptr))
    {
    PrgT_List_Cell * a;
    PrgT_List       * params;

    const char * name = (const char *) prg_list_cell_data_get (cell_ptr);
    printf ("%s: ", name);

    params = Ets_Pj_Tmm_Propagation_Model_Parameter_Set_Names_List_Get (name);
    for (a = prg_list_head_cell_get (params); a; a = prg_list_cell_next_get (a))
        {
        printf ("%s ", (const char *) prg_list_cell_data_get (a));
        }
    }

Details

The returned list must be deallocated by the caller with prg_list_destroy (list_ptr, TRUE).

Purpose

Provides access to a list of all installed propagation models. Note that licensed models will appear in the list, but might not be usable if no license is available.

Errors

  • None

Reference

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