PopAllData
Reads the header data of all queues. The read operation is successful only when all queue headers have data, and the header data of the queues are deleted. Otherwise, a failure message is returned, but no data is deleted.
Syntax
template<typename T1>
bool MultiTypeQueue::PopAllData(std::shared_ptr<T1>& arg1);
template<typename T1, typename T2>
bool MultiTypeQueue::PopAllData(std::shared_ptr<T1>& arg1, std::shared_ptr<T2>& arg2);
......
template<typename T1, typename T2, typename T3, typename T4, typename T5, typename T6, typename T7, typename T8, typename T9, typename T10, typename T11, typename T12, typename T13, typename T14, typename T15, typename T16>
bool MultiTypeQueue::PopAllData(std::shared_ptr<T1>& arg1,
std::shared_ptr<T2>& arg2, std::shared_ptr<T3>& arg3,
std::shared_ptr<T4>& arg4, std::shared_ptr<T5>& arg5,
std::shared_ptr<T6>& arg6, std::shared_ptr<T7>& arg7,
std::shared_ptr<T8>& arg8, std::shared_ptr<T9>& arg9,
std::shared_ptr<T16>& arg16)
Parameter Description
Parameter |
Description |
Value Range |
---|---|---|
arg1 |
Pointer to the queue function |
- |
... |
Pointer to the queue function |
- |
arg16 |
Pointer to the queue function |
- |
Return Value
The read operation is successful and true is returned only when all queue headers have data. Otherwise, false is returned.
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