PopData
Reads the header data of a specified queue (deleting it from the queue).
Syntax
bool MultiTypeQueue::PopData(uint32_t qIndex, std::shared_ptr<void>& dataPtr);
Parameter Description
Parameter |
Description |
Value Range |
---|---|---|
qIndex |
Queue ID |
0 to que_num – 1 |
dataPtr |
Pointer to the queue function |
- |
Return Value
If the operation is successful, true is returned. Otherwise, false is returned (for example, when the queue is empty).
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