UF_MOM_ask_assoc_double_array (查看源代码)
定义在: uf_mom.h
概述
This function returns the value of an associative double array in the
Event Handler attached to the specified UF_MOM object.
环境
内部和外部
历史
Originally released in V14.0
需要许可证(S)
gateway (UG入口基本模块,Gateway是所有其它Uuigraphics模块的一个必要条件)
int UF_MOM_ask_assoc_double_array
(
UF_MOM_id_t mom,
char * array_name,
char * index_name,
double * value
)
| UF_MOM_id_t | mom | Input(输入) | - the mom object that owns the array |
| char * (字符型指针) | array_name | Input(输入) | - the name of the array to ask |
| char * (字符型指针) | index_name | Input(输入) | - the name of the index |
| double * (实数型指针) | value | Output(输出) | - the value asked for |
UF_MOM_ask_assoc_int_array (查看源代码)
定义在: uf_mom.h
概述
This function returns the value of an associative integer array in the
Event Handler attached to the specified UF_MOM object.
环境
内部和外部
历史
Originally released in V14.0
需要许可证(S)
gateway (UG入口基本模块,Gateway是所有其它Uuigraphics模块的一个必要条件)
int UF_MOM_ask_assoc_int_array
(
UF_MOM_id_t mom,
char * array_name,
char * index_name,
int * value
)
| UF_MOM_id_t | mom | Input(输入) | - the mom object that owns the array |
| char * (字符型指针) | array_name | Input(输入) | - the name of the array to ask |
| char * (字符型指针) | index_name | Input(输入) | - the name of the index |
| int * (整数型指针) | value | Output(输出) | - the value asked for |
UF_MOM_ask_assoc_string_array (查看源代码)
定义在: uf_mom.h
概述
This function returns the value of an associative string array in the
Event Handler attached to the specified UF_MOM object.
环境
内部和外部
历史
Originally released in V14.0
需要许可证(S)
gateway (UG入口基本模块,Gateway是所有其它Uuigraphics模块的一个必要条件)
int UF_MOM_ask_assoc_string_array
(
UF_MOM_id_t mom,
char * array_name,
char * index_name,
char * * value
)
| UF_MOM_id_t | mom | Input(输入) | - the mom object that owns the array |
| char * (字符型指针) | array_name | Input(输入) | - the name of the array to ask |
| char * (字符型指针) | index_name | Input(输入) | - the name of the index |
| char * * | value | Output to be freed 输出并释放 | - the value asked for |
UF_MOM_ask_double_array (查看源代码)
定义在: uf_mom.h
概述
This function asks the values of an double array in the Event Handler
attached to the specified UF_MOM object.
The indicies will be 0, 1, ..., num_of_values - 1.
环境
内部和外部
历史
Originally released in V14.0
需要许可证(S)
gateway (UG入口基本模块,Gateway是所有其它Uuigraphics模块的一个必要条件)
int UF_MOM_ask_double_array
(
UF_MOM_id_t mom,
char * array_name,
int num_of_values,
double * values
)
| UF_MOM_id_t | mom | Input(输入) | - the mom object that owns the array |
| char * (字符型指针) | array_name | Input(输入) | - the name of the array to ask |
| int (整数型) | num_of_values | Input(输入) | - the number of values to ask |
| double * (实数型指针) | values | Input / Output | the values asked for. This must point at num_of_values sizeof(double) bytes |
UF_MOM_ask_double_array_2d (查看源代码)
定义在: uf_mom.h
概述
This function returns the value of an element of a 2D double array in the Event
Handler attached to the specified UF_MOM object.
环境
内部和外部
历史
Originally released in NX2.0
需要许可证(S)
gateway (UG入口基本模块,Gateway是所有其它Uuigraphics模块的一个必要条件)
int UF_MOM_ask_double_array_2d
(
UF_MOM_id_t mom,
char * array_name,
int index1,
int index2,
double * value
)
| UF_MOM_id_t | mom | Input(输入) | - the mom object that owns the array |
| char * (字符型指针) | array_name | Input(输入) | - the name of the array |
| int (整数型) | index1 | Input(输入) | - the first index |
| int (整数型) | index2 | Input(输入) | - the second index |
| double * (实数型指针) | value | Output(输出) | - the value |
UF_MOM_ask_int_array (查看源代码)
定义在: uf_mom.h
概述
This function asks the values of an integer array in the Event Handler
attached to the specified UF_MOM object.
环境
内部和外部
历史
Originally released in V14.0
需要许可证(S)
gateway (UG入口基本模块,Gateway是所有其它Uuigraphics模块的一个必要条件)
int UF_MOM_ask_int_array
(
UF_MOM_id_t mom,
char * array_name,
int num_of_values,
int * values
)
| UF_MOM_id_t | mom | Input(输入) | - the mom object that owns the array |
| char * (字符型指针) | array_name | Input(输入) | - the name of the array to ask |
| int (整数型) | num_of_values | Input(输入) | - the number of values to ask |
| int * (整数型指针) | values | Input / Output | the values asked for, this must point at num_of_values sizeof(int) bytes |
UF_MOM_ask_interp_from_param (查看源代码)
定义在: uf_mom.h
概述
Given the param argument passed as the first argument to a CAM exit
this function returns its associated TCL interpreter.
环境
内部和外部
历史
Originally released in V14.0
需要许可证(S)
gateway (UG入口基本模块,Gateway是所有其它Uuigraphics模块的一个必要条件)
int UF_MOM_ask_interp_from_param
(
char * param,
void * * interp
)
| char * (字符型指针) | param | Input(输入) | - see above |
| void * * | interp | Output to be freed 输出并释放 | - see above |
UF_MOM_ask_mom (查看源代码)
定义在: uf_mom.h
概述
This function extracts and returns the UF_MOM object that is associated
with the User Exit (ufusr style) first parameter 'param'. This is useful
when coding an entry point in a library that is going to be called by
using the TCL extension MOM_run_user_function <library> <entry point>.
This enables you to get the UF_MOM_id_t that you need to pass to other
UF_MOM user function functions.
<entry point> has a ufusr signature.
环境
内部和外部
历史
Originally released in V14.0
需要许可证(S)
gateway (UG入口基本模块,Gateway是所有其它Uuigraphics模块的一个必要条件)
int UF_MOM_ask_mom
(
char * param,
UF_MOM_id_t * mom_id
)
| char * (字符型指针) | param | Input(输入) | - see above |
| UF_MOM_id_t * | mom_id | Output(输出) | - see above |
UF_MOM_ask_string (查看源代码)
定义在: uf_mom.h
概述
This function returns the value of the TCL variable 'var_name' as it
currently is in the interpreter owned by 'mom_id'.
环境
内部和外部
历史
Originally released in V14.0
需要许可证(S)
gateway (UG入口基本模块,Gateway是所有其它Uuigraphics模块的一个必要条件)
int UF_MOM_ask_string
(
UF_MOM_id_t mom_id,
char * var_name,
const char * * var_val
)
| UF_MOM_id_t | mom_id | Input(输入) | - see above |
| char * (字符型指针) | var_name | Input(输入) | - see above |
| const char * * | var_val | Output to be freed 输出并释放 | - see above |
UF_MOM_ask_string_array (查看源代码)
定义在: uf_mom.h
概述
This function asks the values of a string array in the Event Handler
attached to the specified UF_MOM object.
The indicies will be 0, 1, ..., num_of_values - 1.
环境
内部和外部
历史
Originally released in V14.0
需要许可证(S)
gateway (UG入口基本模块,Gateway是所有其它Uuigraphics模块的一个必要条件)
int UF_MOM_ask_string_array
(
UF_MOM_id_t mom,
char * array_name,
int num_of_values,
char * * values
)
| UF_MOM_id_t | mom | Input(输入) | - the mom object that owns the array |
| char * (字符型指针) | array_name | Input(输入) | - the name of the array to ask |
| int (整数型) | num_of_values | Input(输入) | - the number of values to ask |
| char * * | values | Output to be freed 输出并释放 | - the values asked for. The caller has already allocated memory for the pointers. The memory pointed at by the pointers is allocated by this function and must be freed by caller. |
UF_MOM_execute_command (查看源代码)
定义在: uf_mom.h
概述
This function execute a given command in the TCL Interpreter via Tcl_Eval
环境
内部和外部
历史
Originally released in NX2
需要许可证(S)
cam_base
int UF_MOM_execute_command
(
UF_MOM_id_t mom,
char * command
)
| UF_MOM_id_t | mom | Input(输入) | - the mom object |
| char * (字符型指针) | command | Input(输入) | - the name of the command to be eval'ed |
UF_MOM_extend_xlator (查看源代码)
定义在: uf_mom.h
概述
This function attaches the entry point 'c_func' to the TCL procedure
named 'command_name' in the TCL interpreter owned by the UF_MOM_id_t
object 'mom_id'. After this call is completed, any calls to 'command_name'
from the interpreter will cause 'c_func' to be executed.
环境
内部和外部
历史
Originally released in V14.0
需要许可证(S)
cam_base
int UF_MOM_extend_xlator
(
UF_MOM_id_t mom_id,
char * command_name,
UF_MOM_command_func c_func
)
UF_MOM_set_assoc_double_array (查看源代码)
定义在: uf_mom.h
概述
This function sets the value of an associative double array in the
Event Handler attached to the specified UF_MOM object.
环境
内部和外部
历史
Originally released in V14.0
需要许可证(S)
cam_base
int UF_MOM_set_assoc_double_array
(
UF_MOM_id_t mom,
char * array_name,
char * index_name,
double value
)
| UF_MOM_id_t | mom | Input(输入) | - the mom object that owns the array |
| char * (字符型指针) | array_name | Input(输入) | - the name of the array to set |
| char * (字符型指针) | index_name | Input(输入) | - the name of the index |
| double (实数型) | value | Input(输入) | - the value to set |
UF_MOM_set_assoc_int_array (查看源代码)
定义在: uf_mom.h
概述
This function sets the value of an associative integer array in the
Event Handler attached to the specified UF_MOM object.
环境
内部和外部
历史
Originally released in V14.0
需要许可证(S)
cam_base
int UF_MOM_set_assoc_int_array
(
UF_MOM_id_t mom,
char * array_name,
char * index_name,
int value
)
| UF_MOM_id_t | mom | Input(输入) | - the mom object that owns the array |
| char * (字符型指针) | array_name | Input(输入) | - the name of the array to set |
| char * (字符型指针) | index_name | Input(输入) | - the name of the index |
| int (整数型) | value | Input(输入) | - the value to set |
UF_MOM_set_assoc_string_array (查看源代码)
定义在: uf_mom.h
概述
This function sets the value of an associative string array in the
Event Handler attached to the specified UF_MOM object.
环境
内部和外部
历史
Originally released in V14.0
需要许可证(S)
cam_base
int UF_MOM_set_assoc_string_array
(
UF_MOM_id_t mom,
char * array_name,
char * index_name,
char * value
)
| UF_MOM_id_t | mom | Input(输入) | - the mom object that owns the array |
| char * (字符型指针) | array_name | Input(输入) | - the name of the array to set |
| char * (字符型指针) | index_name | Input(输入) | - the name of the index |
| char * (字符型指针) | value | Input(输入) | - the value to set |
UF_MOM_set_double (查看源代码)
定义在: uf_mom.h
概述
This function sets the value of the TCL variable 'var_name' to the
value 'var_val' in the interpreter owned by 'mom_id'.
环境
内部和外部
历史
Originally released in V14.0
需要许可证(S)
cam_base
int UF_MOM_set_double
(
UF_MOM_id_t mom_id,
char * var_name,
double var_val
)
| UF_MOM_id_t | mom_id | Input(输入) | - see above |
| char * (字符型指针) | var_name | Input(输入) | - see above |
| double (实数型) | var_val | Input(输入) | - see above |
UF_MOM_set_double_array (查看源代码)
定义在: uf_mom.h
概述
This function sets the values of an double array in the Event Handler
attached to the specified UF_MOM object.
The indicies will be 0, 1, ..., num_of_values - 1.
环境
内部和外部
历史
Originally released in V14.0
需要许可证(S)
cam_base
int UF_MOM_set_double_array
(
UF_MOM_id_t mom,
char * array_name,
int num_of_values,
double values [ ]
)
| UF_MOM_id_t | mom | Input(输入) | - the mom object that owns the array |
| char * (字符型指针) | array_name | Input(输入) | - the name of the array to set |
| int (整数型) | num_of_values | Input(输入) | - the number of values to set |
| double (实数型) | values [ ] | Input(输入) | - the values to set |
UF_MOM_set_int (查看源代码)
定义在: uf_mom.h
概述
This function sets the value of the TCL variable 'var_name' to the
value 'var_val' in the interpreter owned by 'mom_id'.
环境
内部和外部
历史
Originally released in V14.0
需要许可证(S)
cam_base
int UF_MOM_set_int
(
UF_MOM_id_t mom_id,
char * var_name,
int var_val
)
| UF_MOM_id_t | mom_id | Input(输入) | - see above |
| char * (字符型指针) | var_name | Input(输入) | - see above |
| int (整数型) | var_val | Input(输入) | - see above |
UF_MOM_set_int_array (查看源代码)
定义在: uf_mom.h
概述
This function sets the values of an integer array in the Event Handler
attached to the specified UF_MOM object.
环境
内部和外部
历史
Originally released in V14.0
需要许可证(S)
cam_base
int UF_MOM_set_int_array
(
UF_MOM_id_t mom,
char * array_name,
int num_of_values,
int values [ ]
)
| UF_MOM_id_t | mom | Input(输入) | - the mom object that owns the array |
| char * (字符型指针) | array_name | Input(输入) | - the name of the array to set |
| int (整数型) | num_of_values | Input(输入) | - the number of values to set |
| int (整数型) | values [ ] | Input(输入) | the values to set |
UF_MOM_set_string (查看源代码)
定义在: uf_mom.h
概述
This function sets the value of the TCL variable 'var_name' to the
value 'var_val' in the interpreter owned by 'mom_id'.
环境
内部和外部
历史
Originally released in V14.0
需要许可证(S)
cam_base
int UF_MOM_set_string
(
UF_MOM_id_t mom_id,
char * var_name,
char * var_val
)
| UF_MOM_id_t | mom_id | Input(输入) | - see above |
| char * (字符型指针) | var_name | Input(输入) | - see above |
| char * (字符型指针) | var_val | Input(输入) | - see above |
UF_MOM_set_string_array (查看源代码)
定义在: uf_mom.h
概述
This function sets the values of a string array in the Event Handler
attached to the specified UF_MOM object.
The indicies will be 0, 1, ..., num_of_values - 1.
环境
内部和外部
历史
Originally released in V14.0
需要许可证(S)
cam_base
int UF_MOM_set_string_array
(
UF_MOM_id_t mom,
char * array_name,
int num_of_values,
char * * values
)
| UF_MOM_id_t | mom | Input(输入) | - the mom object that owns the array |
| char * (字符型指针) | array_name | Input(输入) | - the name of the array to set |
| int (整数型) | num_of_values | Input(输入) | - the number of values to set |
| char * * | values | Input(输入) | - the values to set |