oms_pr_process_register()
Abstract
Registers a process in the model-wide process registry and returns a process registry-specific process record handle for subsequent access.
Syntax
oms_pr_process_register (node_objid, module_objid, pro_handle, process_name)
| Argument | Type | Description |
|---|---|---|
node_objid |
Objid |
object identifier of the node surrounding the registering process [use the KP op_topo_parent (op_id_self ()) to obtain the node object identifier.] |
module_objid |
Objid |
object identifier of the module surrounding the registering process [use the KP op_id_self () to obtain the module object identifier.] |
pro_handle |
Prohandle |
process handle of the registering process [use the KP op_pro_self () to obtain the process handle.] |
process_name |
char * |
name of the registering process. |
Return Type
OmsT_Pr_Handle
Process registry process record handle.
Details
This function registers a process model in the model-wide registry. The registration requires the process’s vital attributes to be specified and returns a handle for subsequent access (i.e., to add or query attributes for this process.)