DataRecvInterface::RecvData
Defines a subclass of class DataRecvInterface to initialize the object of the subclass. It works as the callback function for receiving data and transfers the API in Graph::SetDataRecvFunctor or Engine::SetDataRecvFunctor. In addition, the RecvData API needs to be overloaded and implemented in the subclass. This API is defined in data_recv_interface.h.
Syntax
virtual HIAI_StatusT DataRecvInterface::RecvData(const std::shared_ptr<void>& message)
Parameter Description
Parameter |
Description |
Value Range |
---|---|---|
message |
Callback message |
- |
Return Value
For details about the returned error codes, see "Error Codes."
Error Codes
No. |
Error Code |
Description |
---|---|---|
1 |
HIAI_OK |
The running is OK. |
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
For any further questions, feel free to contact us through the chatbot.
Chatbot