GetHead()
Returns a pointer to the first message.
GetHead() const
Returns a pointer to the first message.
Enqueue()
Adds a message at a given position (head/tail) of the list.
Enqueue()
Adds a message at a given position (head/tail) of the list.
Dequeue()
Removes a message from the list.
DequeueAndFree()
Removes a message from the queue and frees it.
DequeueAndFreeAll()
Removes and frees all messages from the queue.
GetInfo() const
Gets the information about number of messages and buffers in the queue. Updates `aInfo` and adds number of message/buffers in the message queue to the corresponding member variable in `aInfo`. The caller needs to make sure `aInfo` is initialized before calling this method (e.g., clearing `aInfo`). Same `aInfo` can be passed in multiple calls of `GetInfo(aInfo)` on different queues to add up the number of messages/buffers on different queues.
begin()
end()
begin() const
end() const
GetTail()
GetTail() const
SetTail()