UF_MOM_ask_assoc_double_array (view source)
 
Defined in: uf_mom.h
 
Overview
This function returns the value of an associative double array in the
Event Handler attached to the specified UF_MOM object.

Environment
Internal and External

History
Originally released in V14.0
 
Required License(s)
gateway

 
int UF_MOM_ask_assoc_double_array
(
UF_MOM_id_t mom,
char * array_name,
char * index_name,
double * value
)
UF_MOM_id_tmomInput- the mom object that owns the array
char *array_nameInput- the name of the array to ask
char *index_nameInput- the name of the index
double *valueOutput- the value asked for

 


 
UF_MOM_ask_assoc_int_array (view source)
 
Defined in: uf_mom.h
 
Overview
This function returns the value of an associative integer array in the
Event Handler attached to the specified UF_MOM object.

Environment
Internal and External

History
Originally released in V14.0
 
Required License(s)
gateway

 
int UF_MOM_ask_assoc_int_array
(
UF_MOM_id_t mom,
char * array_name,
char * index_name,
int * value
)
UF_MOM_id_tmomInput- the mom object that owns the array
char *array_nameInput- the name of the array to ask
char *index_nameInput- the name of the index
int *valueOutput- the value asked for

 


 
UF_MOM_ask_assoc_string_array (view source)
 
Defined in: uf_mom.h
 
Overview
This function returns the value of an associative string array in the
Event Handler attached to the specified UF_MOM object.

Environment
Internal and External

History
Originally released in V14.0
 
Required License(s)
gateway

 
int UF_MOM_ask_assoc_string_array
(
UF_MOM_id_t mom,
char * array_name,
char * index_name,
char * * value
)
UF_MOM_id_tmomInput- the mom object that owns the array
char *array_nameInput- the name of the array to ask
char *index_nameInput- the name of the index
char * *valueOutput to UF_*free*- the value asked for

 


 
UF_MOM_ask_double_array (view source)
 
Defined in: uf_mom.h
 
Overview
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.

Environment
Internal and External

History
Originally released in V14.0
 
Required License(s)
gateway

 
int UF_MOM_ask_double_array
(
UF_MOM_id_t mom,
char * array_name,
int num_of_values,
double * values
)
UF_MOM_id_tmomInput- the mom object that owns the array
char *array_nameInput- the name of the array to ask
intnum_of_valuesInput- the number of values to ask
double *valuesInput / Outputthe values asked for. This must
point at num_of_values sizeof(double)
bytes

 


 
UF_MOM_ask_double_array_2d (view source)
 
Defined in: uf_mom.h
 
Overview
This function returns the value of an element of a 2D double array in the Event
Handler attached to the specified UF_MOM object.

Environment
Internal and External

History
Originally released in NX2.0
 
Required License(s)
gateway

 
int UF_MOM_ask_double_array_2d
(
UF_MOM_id_t mom,
char * array_name,
int index1,
int index2,
double * value
)
UF_MOM_id_tmomInput- the mom object that owns the array
char *array_nameInput- the name of the array
intindex1Input- the first index
intindex2Input- the second index
double *valueOutput- the value

 


 
UF_MOM_ask_int_array (view source)
 
Defined in: uf_mom.h
 
Overview
This function asks the values of an integer array in the Event Handler
attached to the specified UF_MOM object.

Environment
Internal and External

History
Originally released in V14.0
 
Required License(s)
gateway

 
int UF_MOM_ask_int_array
(
UF_MOM_id_t mom,
char * array_name,
int num_of_values,
int * values
)
UF_MOM_id_tmomInput- the mom object that owns the array
char *array_nameInput- the name of the array to ask
intnum_of_valuesInput- the number of values to ask
int *valuesInput / Outputthe values asked for, this must
point at num_of_values sizeof(int) bytes

 


 
UF_MOM_ask_interp_from_param (view source)
 
Defined in: uf_mom.h
 
Overview
Given the param argument passed as the first argument to a CAM exit
this function returns its associated TCL interpreter.

Environment
Internal and External

History
Originally released in V14.0
 
Required License(s)
gateway

 
int UF_MOM_ask_interp_from_param
(
void * param,
void * * interp
)
void *paramInput- see above
void * *interpOutput to UF_*free*- see above

 


 
UF_MOM_ask_mom (view source)
 
Defined in: uf_mom.h
 
Overview
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.

Environment
Internal and External

History
Originally released in V14.0
 
Required License(s)
gateway

 
int UF_MOM_ask_mom
(
void * param,
UF_MOM_id_t * mom_id
)
void *paramInput- see above
UF_MOM_id_t *mom_idOutput- see above

 


 
UF_MOM_ask_string (view source)
 
Defined in: uf_mom.h
 
Overview
This function returns the value of the TCL variable 'var_name' as it
currently is in the interpreter owned by 'mom_id'.

Environment
Internal and External

History
Originally released in V14.0
 
Required License(s)
gateway

 
int UF_MOM_ask_string
(
UF_MOM_id_t mom_id,
char * var_name,
const char * * var_val
)
UF_MOM_id_tmom_idInput- see above
char *var_nameInput- see above
const char * *var_valOutput to UF_*free*- see above

 


 
UF_MOM_ask_string_array (view source)
 
Defined in: uf_mom.h
 
Overview
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.

Environment
Internal and External

History
Originally released in V14.0
 
Required License(s)
gateway

 
int UF_MOM_ask_string_array
(
UF_MOM_id_t mom,
char * array_name,
int num_of_values,
char * * values
)
UF_MOM_id_tmomInput- the mom object that owns the array
char *array_nameInput- the name of the array to ask
intnum_of_valuesInput- the number of values to ask
char * *valuesOutput to UF_*free*- 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 (view source)
 
Defined in: uf_mom.h
 
Overview
This function execute a given command in the TCL Interpreter via Tcl_Eval

Environment
Internal and External

History
Originally released in NX2
 
Required License(s)
cam_base

 
int UF_MOM_execute_command
(
UF_MOM_id_t mom,
char * command
)
UF_MOM_id_tmomInput- the mom object
char *commandInput- the name of the command to be eval'ed

 


 
UF_MOM_extend_xlator (view source)
 
Defined in: uf_mom.h
 
Overview
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.

Environment
Internal and External

History
Originally released in V14.0
 
Required License(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_id_tmom_idInput- see above
char *command_nameInput- see above
UF_MOM_command_funcc_funcInput- see above

 


 
UF_MOM_set_assoc_double_array (view source)
 
Defined in: uf_mom.h
 
Overview
This function sets the value of an associative double array in the
Event Handler attached to the specified UF_MOM object.

Environment
Internal and External

History
Originally released in V14.0
 
Required License(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_tmomInput- the mom object that owns the array
char *array_nameInput- the name of the array to set
char *index_nameInput- the name of the index
doublevalueInput- the value to set

 


 
UF_MOM_set_assoc_int_array (view source)
 
Defined in: uf_mom.h
 
Overview
This function sets the value of an associative integer array in the
Event Handler attached to the specified UF_MOM object.

Environment
Internal and External

History
Originally released in V14.0
 
Required License(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_tmomInput- the mom object that owns the array
char *array_nameInput- the name of the array to set
char *index_nameInput- the name of the index
intvalueInput- the value to set

 


 
UF_MOM_set_assoc_string_array (view source)
 
Defined in: uf_mom.h
 
Overview
This function sets the value of an associative string array in the
Event Handler attached to the specified UF_MOM object.

Environment
Internal and External

History
Originally released in V14.0
 
Required License(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_tmomInput- the mom object that owns the array
char *array_nameInput- the name of the array to set
char *index_nameInput- the name of the index
char *valueInput- the value to set

 


 
UF_MOM_set_double (view source)
 
Defined in: uf_mom.h
 
Overview
This function sets the value of the TCL variable 'var_name' to the
value 'var_val' in the interpreter owned by 'mom_id'.

Environment
Internal and External

History
Originally released in V14.0
 
Required License(s)
cam_base

 
int UF_MOM_set_double
(
UF_MOM_id_t mom_id,
char * var_name,
double var_val
)
UF_MOM_id_tmom_idInput- see above
char *var_nameInput- see above
doublevar_valInput- see above

 


 
UF_MOM_set_double_array (view source)
 
Defined in: uf_mom.h
 
Overview
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.

Environment
Internal and External

History
Originally released in V14.0
 
Required License(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_tmomInput- the mom object that owns the array
char *array_nameInput- the name of the array to set
intnum_of_valuesInput- the number of values to set
doublevalues [ ] Input- the values to set

 


 
UF_MOM_set_int (view source)
 
Defined in: uf_mom.h
 
Overview
This function sets the value of the TCL variable 'var_name' to the
value 'var_val' in the interpreter owned by 'mom_id'.

Environment
Internal and External

History
Originally released in V14.0
 
Required License(s)
cam_base

 
int UF_MOM_set_int
(
UF_MOM_id_t mom_id,
char * var_name,
int var_val
)
UF_MOM_id_tmom_idInput- see above
char *var_nameInput- see above
intvar_valInput- see above

 


 
UF_MOM_set_int_array (view source)
 
Defined in: uf_mom.h
 
Overview
This function sets the values of an integer array in the Event Handler
attached to the specified UF_MOM object.

Environment
Internal and External

History
Originally released in V14.0
 
Required License(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_tmomInput- the mom object that owns the array
char *array_nameInput- the name of the array to set
intnum_of_valuesInput- the number of values to set
intvalues [ ] Inputthe values to set

 


 
UF_MOM_set_string (view source)
 
Defined in: uf_mom.h
 
Overview
This function sets the value of the TCL variable 'var_name' to the
value 'var_val' in the interpreter owned by 'mom_id'.

Environment
Internal and External

History
Originally released in V14.0
 
Required License(s)
cam_base

 
int UF_MOM_set_string
(
UF_MOM_id_t mom_id,
char * var_name,
char * var_val
)
UF_MOM_id_tmom_idInput- see above
char *var_nameInput- see above
char *var_valInput- see above

 


 
UF_MOM_set_string_array (view source)
 
Defined in: uf_mom.h
 
Overview
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.

Environment
Internal and External

History
Originally released in V14.0
 
Required License(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_tmomInput- the mom object that owns the array
char *array_nameInput- the name of the array to set
intnum_of_valuesInput- the number of values to set
char * *valuesInput- the values to set