Function GeniePipeline_connect

Function Documentation

Genie_Status_t GeniePipeline_connect(const GeniePipeline_Handle_t pipelineHandle, const GenieNode_Handle_t producerHandle, const GenieNode_IOName_t producerName, const GenieNode_Handle_t consumerHandle, const GenieNode_IOName_t consumerName)

A function to connect two nodes added in a pipeline.

Parameters
  • pipelineHandle[in] A pipeline handle.

  • producerHandle[in] A node handle to be connected as a producer.

  • producerName[in] IO name of the producer node.

  • consumerHandle[in] A node handle to be connected as a consumer.

  • consumerName[in] IO name of the consumer node.

Returns

Status code:

  • GENIE_STATUS_SUCCESS: API call was successful.

  • GENIE_STATUS_ERROR_INVALID_HANDLE: Node/ Pipeline handle is invalid.

  • GENIE_STATUS_ERROR_INVALID_ARGUMENT: At least one argument is invalid.

  • GENIE_STATUS_ERROR_GENERAL: The OEM key could not be applied.