tmm_available_propagation_model_names_list_get()
注意: 需要地形建模模块(Terrain Modeling Module)功能。
摘要
获取所有可供使用的传播模型名称的列表。
语法
tmm_available_propagation_model_names_list_get ()
| 参数 | 类型 | 说明 |
|---|---|---|
| 无参数 |
返回类型
PrgT_List *
所有可供使用的传播模型名称的列表。
头文件
tmm.h
示例
PrgT_List * tlptr;
PrgT_List_Cell * cell_ptr;
/* print available propagation models and parameter sets */
tlptr = tmm_available_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));
}
}
prg_list_destroy (tlptr, TRUE);
详情
返回的列表必须由调用方使用 prg_list_destroy (list_ptr, TRUE) 释放。
用途
提供对所有已安装传播模型列表的访问,这些模型要么无需许可,要么已获许可且有可用的许可证。
错误
- 无
参考
- 使用函数 tmm_all_propagation_model_names_list_get() 获取所有已安装传播模型的列表,无论其是否可供使用。