#include <gr_msg_queue.h>
Inheritance diagram for gr_msg_queue:

Public Member Functions | |
| gr_msg_queue () | |
| ~gr_msg_queue () | |
| void | handle (gr_message_sptr msg) |
| Generic msg_handler method: insert the message. | |
| void | insert_tail (gr_message_sptr msg) |
insert msg at tail of queue | |
| gr_message_sptr | delete_head () |
| Delete message from head of q and return it. Block if no message is available. | |
| gr_message_sptr | delete_head_nowait () |
| If there's a message in the q, delete it and return it. If no message is available, return 0. | |
| bool | empty_p () const |
| is the queue empty? | |
| int | count () const |
| return number of messages in queue | |
| void | flush () |
| Delete all messages from the queue. | |
|
|
|
|
|
|
|
|
return number of messages in queue
|
|
|
Delete message from head of q and return it. Block if no message is available.
|
|
|
If there's a message in the q, delete it and return it. If no message is available, return 0.
|
|
|
is the queue empty?
|
|
|
Delete all messages from the queue.
|
|
|
Generic msg_handler method: insert the message.
Implements gr_msg_handler. |
|
|
insert
|
1.4.4