OvisT_Mapping_Node_Proc
Abstract
Callback: Used to map the specified node.
Syntax
<node_proc_name> (node_hndl, stage, attr_name, user_info_ptr)
| Argument | Type | Description |
|---|---|---|
node_hndl |
EtsT_Obj_Handle |
Node handle |
stage |
OvisT_Mapping_Stage |
Mapping stage |
attr_name |
const char * |
Name of attribute if stage is "Attribute Change"; otherwise, VOSC_NIL |
user_info_ptr |
void * |
Arbitrary data passed from global to node (not tied to the state_ptr of the global callback) |
Return Type
OvisT_Entity *
Pointer to the node entity.
Header
ovis_mapping.h
Details
This callback is invoked to map the specified node to an Ovis entity. The callback is returned to model code using Ovis_Node_Mapping_Get(). The model code then invokes the callback to let the node perform its own mapping.