CoreFlow 1.0.0
A modern orchestration and execution runtime
Loading...
Searching...
No Matches
User Facing Custom Node API

The Public Generic Node API. More...

Functions

VX_API_ENTRY vx_node VX_API_CALL vxCreateGenericNode (vx_graph graph, vx_kernel kernel)
 Creates a reference to a node object for a given kernel.
 

Detailed Description

The Public Generic Node API.

Function Documentation

◆ vxCreateGenericNode()

VX_API_ENTRY vx_node VX_API_CALL vxCreateGenericNode ( vx_graph graph,
vx_kernel kernel )

#include <vx_api.h>

Creates a reference to a node object for a given kernel.

This node has no references assigned as parameters after completion. The client is then required to set these parameters manually by vxSetParameterByIndex. When clients supply their own node creation functions (for use with User Kernels), this is the API to use along with the parameter setting API.

Parameters
[in]graphThe reference to the graph in which this node exists.
[in]kernelThe kernel reference to associate with this new node.
Returns
A node reference vx_node. Any possible errors preventing a successful creation should be checked using vxGetStatus.
Note
A call to this API sets all parameters to NULL.
Postcondition
Call vxSetParameterByIndex for as many parameters as needed to be set.