Function GenieNode_setTextCallback

Function Documentation

Genie_Status_t GenieNode_setTextCallback(const GenieNode_Handle_t nodeHandle, const GenieNode_IOName_t nodeIOName, const GenieNode_TextOutput_Callback_t callback)

A function to setCallback for text generator node output.

Parameters
  • nodeHandle[in] A node handle.

  • nodeIOName[in] Node IO name.

  • callback[in] A user callback function for text output.

Returns

Status code:

  • GENIE_STATUS_SUCCESS: API call was successful.

  • GENIE_STATUS_ERROR_INVALID_HANDLE: Node handle is invalid.

  • GENIE_STATUS_ERROR_MEM_ALLOC: Memory (de)allocation failure.